Skip to content

Variable: DashboardGadgetSchema ​

ts
const DashboardGadgetSchema: ZodObject<{
  color: ZodCustom<
     | string & object
     | "blue"
     | "red"
     | "yellow"
     | "green"
     | "cyan"
     | "purple"
     | "gray"
     | "white", 
     | string & object
     | "blue"
     | "red"
     | "yellow"
     | "green"
     | "cyan"
     | "purple"
     | "gray"
    | "white">;
  id: ZodNumber;
  moduleKey: ZodOptional<ZodString>;
  position: ZodOptional<ZodObject<{
     The column position of the gadget.: ZodNumber;
     The row position of the gadget.: ZodNumber;
  }, ApiObjectConfig<undefined>>>;
  title: ZodString;
  uri: ZodOptional<ZodString>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/dashboardGadget.ts:7

Details of a gadget.