discord-api-spec 10.0.179803 → 10.0.181302
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3037,6 +3037,7 @@ export type GuildResponse = {
|
|
|
3037
3037
|
safety_alerts_channel_id?: null | SnowflakeType;
|
|
3038
3038
|
public_updates_channel_id?: null | SnowflakeType;
|
|
3039
3039
|
premium_progress_bar_enabled: boolean;
|
|
3040
|
+
premium_progress_bar_enabled_user_updated_at?: string | null;
|
|
3040
3041
|
nsfw: boolean;
|
|
3041
3042
|
nsfw_level: GuildNSFWContentLevel;
|
|
3042
3043
|
emojis: EmojiResponse[];
|
|
@@ -3230,6 +3231,7 @@ export type GuildWithCountsResponse = {
|
|
|
3230
3231
|
safety_alerts_channel_id?: null | SnowflakeType;
|
|
3231
3232
|
public_updates_channel_id?: null | SnowflakeType;
|
|
3232
3233
|
premium_progress_bar_enabled: boolean;
|
|
3234
|
+
premium_progress_bar_enabled_user_updated_at?: string | null;
|
|
3233
3235
|
nsfw: boolean;
|
|
3234
3236
|
nsfw_level: GuildNSFWContentLevel;
|
|
3235
3237
|
emojis: EmojiResponse[];
|
|
@@ -3648,6 +3648,10 @@ export const GuildResponseSchema = /* @__PURE__ */ z.strictObject({
|
|
|
3648
3648
|
/* @__PURE__ */ z.lazy(() => SnowflakeTypeSchema),
|
|
3649
3649
|
]),
|
|
3650
3650
|
premium_progress_bar_enabled: /* @__PURE__ */ z.boolean(),
|
|
3651
|
+
premium_progress_bar_enabled_user_updated_at: /* @__PURE__ */ z.union([
|
|
3652
|
+
/* @__PURE__ */ z.string().check(/* @__PURE__ */ z.iso.datetime()),
|
|
3653
|
+
/* @__PURE__ */ z.null(),
|
|
3654
|
+
]),
|
|
3651
3655
|
nsfw: /* @__PURE__ */ z.boolean(),
|
|
3652
3656
|
nsfw_level: /* @__PURE__ */ z.lazy(() => GuildNSFWContentLevelSchema),
|
|
3653
3657
|
emojis: /* @__PURE__ */ z.array(/* @__PURE__ */ z.lazy(() => EmojiResponseSchema)),
|
|
@@ -3950,6 +3954,10 @@ export const GuildWithCountsResponseSchema = /* @__PURE__ */ z.strictObject({
|
|
|
3950
3954
|
/* @__PURE__ */ z.lazy(() => SnowflakeTypeSchema),
|
|
3951
3955
|
]),
|
|
3952
3956
|
premium_progress_bar_enabled: /* @__PURE__ */ z.boolean(),
|
|
3957
|
+
premium_progress_bar_enabled_user_updated_at: /* @__PURE__ */ z.union([
|
|
3958
|
+
/* @__PURE__ */ z.string().check(/* @__PURE__ */ z.iso.datetime()),
|
|
3959
|
+
/* @__PURE__ */ z.null(),
|
|
3960
|
+
]),
|
|
3953
3961
|
nsfw: /* @__PURE__ */ z.boolean(),
|
|
3954
3962
|
nsfw_level: /* @__PURE__ */ z.lazy(() => GuildNSFWContentLevelSchema),
|
|
3955
3963
|
emojis: /* @__PURE__ */ z.array(/* @__PURE__ */ z.lazy(() => EmojiResponseSchema)),
|
|
@@ -3164,6 +3164,7 @@ export type GuildResponse = {
|
|
|
3164
3164
|
safety_alerts_channel_id?: null | SnowflakeType;
|
|
3165
3165
|
public_updates_channel_id?: null | SnowflakeType;
|
|
3166
3166
|
premium_progress_bar_enabled: boolean;
|
|
3167
|
+
premium_progress_bar_enabled_user_updated_at?: string | null;
|
|
3167
3168
|
nsfw: boolean;
|
|
3168
3169
|
nsfw_level: GuildNSFWContentLevel;
|
|
3169
3170
|
emojis: EmojiResponse[];
|
|
@@ -3367,6 +3368,7 @@ export type GuildWithCountsResponse = {
|
|
|
3367
3368
|
safety_alerts_channel_id?: null | SnowflakeType;
|
|
3368
3369
|
public_updates_channel_id?: null | SnowflakeType;
|
|
3369
3370
|
premium_progress_bar_enabled: boolean;
|
|
3371
|
+
premium_progress_bar_enabled_user_updated_at?: string | null;
|
|
3370
3372
|
nsfw: boolean;
|
|
3371
3373
|
nsfw_level: GuildNSFWContentLevel;
|
|
3372
3374
|
emojis: EmojiResponse[];
|
|
@@ -3682,6 +3682,10 @@ export const GuildResponseSchema = /* @__PURE__ */ z.strictObject({
|
|
|
3682
3682
|
/* @__PURE__ */ z.lazy(() => SnowflakeTypeSchema),
|
|
3683
3683
|
]),
|
|
3684
3684
|
premium_progress_bar_enabled: /* @__PURE__ */ z.boolean(),
|
|
3685
|
+
premium_progress_bar_enabled_user_updated_at: /* @__PURE__ */ z.union([
|
|
3686
|
+
/* @__PURE__ */ z.string().check(/* @__PURE__ */ z.iso.datetime()),
|
|
3687
|
+
/* @__PURE__ */ z.null(),
|
|
3688
|
+
]),
|
|
3685
3689
|
nsfw: /* @__PURE__ */ z.boolean(),
|
|
3686
3690
|
nsfw_level: /* @__PURE__ */ z.lazy(() => GuildNSFWContentLevelSchema),
|
|
3687
3691
|
emojis: /* @__PURE__ */ z.array(/* @__PURE__ */ z.lazy(() => EmojiResponseSchema)),
|
|
@@ -4007,6 +4011,10 @@ export const GuildWithCountsResponseSchema = /* @__PURE__ */ z.strictObject({
|
|
|
4007
4011
|
/* @__PURE__ */ z.lazy(() => SnowflakeTypeSchema),
|
|
4008
4012
|
]),
|
|
4009
4013
|
premium_progress_bar_enabled: /* @__PURE__ */ z.boolean(),
|
|
4014
|
+
premium_progress_bar_enabled_user_updated_at: /* @__PURE__ */ z.union([
|
|
4015
|
+
/* @__PURE__ */ z.string().check(/* @__PURE__ */ z.iso.datetime()),
|
|
4016
|
+
/* @__PURE__ */ z.null(),
|
|
4017
|
+
]),
|
|
4010
4018
|
nsfw: /* @__PURE__ */ z.boolean(),
|
|
4011
4019
|
nsfw_level: /* @__PURE__ */ z.lazy(() => GuildNSFWContentLevelSchema),
|
|
4012
4020
|
emojis: /* @__PURE__ */ z.array(/* @__PURE__ */ z.lazy(() => EmojiResponseSchema)),
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "discord-api-spec",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.181302",
|
|
4
4
|
"repository": "https://github.com/RiskyMH/discord-api-spec-ts",
|
|
5
5
|
"author": "RiskyMH",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"types": "./build/discord-api-spec.ts",
|
|
10
|
-
"
|
|
10
|
+
"import": "./build/discord-api-spec.js"
|
|
11
11
|
},
|
|
12
12
|
"./preview": {
|
|
13
13
|
"types": "./build/preview/discord-api-spec.ts",
|
|
14
|
-
"
|
|
14
|
+
"import": "./build/preview/discord-api-spec.js"
|
|
15
15
|
},
|
|
16
16
|
"./zod": {
|
|
17
17
|
"types": "./build/discord-api-spec.zod.js",
|
|
18
|
-
"
|
|
18
|
+
"import": "./build/discord-api-spec.zod.js"
|
|
19
19
|
},
|
|
20
20
|
"./preview/zod": {
|
|
21
21
|
"types": "./build/preview/discord-api-spec.zod.js",
|
|
22
|
-
"
|
|
22
|
+
"import": "./build/preview/discord-api-spec.zod.js"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"types": "./build/discord-api-spec.ts",
|