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;
  }, $loose>>;
  title: ZodString;
  uri: ZodOptional<ZodString>;
}, $loose>;

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

Details of a gadget.