Skip to content

Variable: FilterPermissionSchema ​

ts
const FilterPermissionSchema: ZodObject<{
  edit: ZodOptional<ZodBoolean>;
  group: ZodOptional<ZodObject<{
     name: ZodOptional<ZodString>;
     self: ZodOptional<ZodURL>;
  }, ApiObjectConfig<undefined>>>;
  id: ZodOptional<ZodNumber>;
  project: ZodOptional<ZodObject<{
     archived: ZodOptional<ZodBoolean>;
     avatarUrls: ZodOptional<ZodRecord<ZodString, ZodString>>;
     description: ZodOptional<ZodString>;
     id: ZodOptional<ZodString>;
     key: ZodOptional<ZodString>;
     name: ZodOptional<ZodString>;
     self: ZodOptional<ZodURL>;
  }, ApiObjectConfig<undefined>>>;
  role: ZodOptional<ZodObject<{
     actors: ZodOptional<ZodArray<ZodObject<{
        avatarUrl: ZodOptional<ZodURL>;
        name: ZodOptional<ZodString>;
     }, ApiObjectConfig<undefined>>>>;
     description: ZodOptional<ZodString>;
     id: ZodOptional<ZodNumber>;
     name: ZodOptional<ZodString>;
     self: ZodOptional<ZodURL>;
  }, ApiObjectConfig<undefined>>>;
  type: ZodOptional<ZodString>;
  user: ZodOptional<ZodObject<{
     active: ZodOptional<ZodBoolean>;
     applicationRoles: ZodOptional<ZodObject<{
        callback: ZodOptional<ZodObject<{
        }, ApiObjectConfig<...>>>;
        maxResults: ZodOptional<ZodNumber>;
        pagingCallback: ZodOptional<ZodObject<{
        }, ApiObjectConfig<...>>>;
        size: ZodOptional<ZodNumber>;
     }, ApiObjectConfig<undefined>>>;
     avatarUrls: ZodOptional<ZodRecord<ZodString, ZodURL>>;
     deleted: ZodOptional<ZodBoolean>;
     displayName: ZodOptional<ZodString>;
     emailAddress: ZodOptional<ZodString>;
     expand: ZodOptional<ZodString>;
     groups: ZodOptional<ZodObject<{
        callback: ZodOptional<ZodObject<{
        }, ApiObjectConfig<...>>>;
        maxResults: ZodOptional<ZodNumber>;
        pagingCallback: ZodOptional<ZodObject<{
        }, ApiObjectConfig<...>>>;
        size: ZodOptional<ZodNumber>;
     }, ApiObjectConfig<undefined>>>;
     key: ZodOptional<ZodString>;
     lastLoginTime: ZodOptional<ZodString>;
     locale: ZodOptional<ZodString>;
     name: ZodOptional<ZodString>;
     self: ZodOptional<ZodURL>;
     timeZone: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  view: ZodOptional<ZodBoolean>;
}, ApiObjectConfig<undefined>>;

Defined in: src/server/models/filterPermission.ts:8