Skip to content
0

katanakit-js / NotionUserListSchema

Variable: NotionUserListSchema ​

ts
const NotionUserListSchema: ZodObject<{
  has_more: ZodBoolean;
  next_cursor: ZodNullable<ZodString>;
  object: ZodLiteral<"list">;
  results: ZodArray<ZodObject<{
     avatar_url: ZodOptional<ZodString>;
     bot: ZodOptional<ZodObject<{
        owner: ZodObject<{
           type: ZodString;
        }, $loose>;
     }, $loose>>;
     id: ZodString;
     name: ZodOptional<ZodString>;
     object: ZodLiteral<"user">;
     person: ZodOptional<ZodObject<{
        email: ZodOptional<ZodString>;
     }, $loose>>;
     type: ZodEnum<{
        bot: "bot";
        person: "person";
     }>;
  }, $loose>>;
}, $loose>;

Defined in: src/schemas/notion.schema.ts:227

Paginated list of Notion users.

Released under the MIT License.