Skip to content

Variable: DashboardGadgetResponseSchema

ts
const DashboardGadgetResponseSchema: ZodObject<{
  gadgets: ZodArray<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>>;
}, $loose>;

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

The list of gadgets on the dashboard.