Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
export const packedChannelSchema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
id: {
|
||||
type: "string",
|
||||
optional: false,
|
||||
nullable: false,
|
||||
format: "id",
|
||||
example: "xxxxxxxxxx"
|
||||
},
|
||||
createdAt: {
|
||||
type: "string",
|
||||
optional: false,
|
||||
nullable: false,
|
||||
format: "date-time"
|
||||
},
|
||||
lastNotedAt: {
|
||||
type: "string",
|
||||
optional: false,
|
||||
nullable: true,
|
||||
format: "date-time"
|
||||
},
|
||||
name: {
|
||||
type: "string",
|
||||
optional: false,
|
||||
nullable: false
|
||||
},
|
||||
description: {
|
||||
type: "string",
|
||||
nullable: true,
|
||||
optional: false
|
||||
},
|
||||
bannerUrl: {
|
||||
type: "string",
|
||||
format: "url",
|
||||
nullable: true,
|
||||
optional: false
|
||||
},
|
||||
notesCount: {
|
||||
type: "number",
|
||||
nullable: false,
|
||||
optional: false
|
||||
},
|
||||
usersCount: {
|
||||
type: "number",
|
||||
nullable: false,
|
||||
optional: false
|
||||
},
|
||||
isFollowing: {
|
||||
type: "boolean",
|
||||
optional: true,
|
||||
nullable: false
|
||||
},
|
||||
userId: {
|
||||
type: "string",
|
||||
nullable: true,
|
||||
optional: false,
|
||||
format: "id"
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user