Skip to content

Commit

Permalink
chore: generate rpc schema (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
afgiel authored Sep 9, 2024
1 parent 1c63d30 commit 63a494b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/generated/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"guilds",
"guilds.join",
"guilds.members.read",
"guilds.channels.read",
"gdm.join",
"bot",
"rpc",
Expand Down Expand Up @@ -85,7 +86,8 @@
"dm_channels.messages.write",
"gateway.connect",
"account.global_name.update",
"payment_sources.country_code"
"payment_sources.country_code",
"sdk.social_layer"
]
}
},
Expand Down
2 changes: 2 additions & 0 deletions src/generated/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const AuthenticateResponseSchema = z.object({
'guilds',
'guilds.join',
'guilds.members.read',
'guilds.channels.read',
'gdm.join',
'bot',
'rpc',
Expand Down Expand Up @@ -72,6 +73,7 @@ export const AuthenticateResponseSchema = z.object({
'gateway.connect',
'account.global_name.update',
'payment_sources.country_code',
'sdk.social_layer',
])
.or(z.literal(-1))
.default(-1),
Expand Down

0 comments on commit 63a494b

Please sign in to comment.