Skip to content

Variable: ObjectTypeSchema ​

ts
const ObjectTypeSchema: ZodObject<{
  abstractObjectType: ZodBoolean;
  created: ZodCoercedDate<unknown>;
  description: ZodOptional<ZodString>;
  globalId: ZodString;
  icon: ZodObject<{
     id: ZodString;
     name: ZodString;
     url16: ZodString;
     url48: ZodString;
  }, ApiObjectConfig<undefined>>;
  id: ZodString;
  inherited: ZodBoolean;
  name: ZodString;
  objectCount: ZodNumber;
  objectSchemaId: ZodString;
  parentObjectTypeId: ZodOptional<ZodNumber>;
  parentObjectTypeInherited: ZodBoolean;
  position: ZodNumber;
  type: ZodOptional<ZodNumber>;
  updated: ZodCoercedDate<unknown>;
  workspaceId: ZodString;
}, ApiObjectConfig<undefined>>;

Defined in: src/assets/models/objectType.ts:6

The Assets object type