@notionhq/client 2.2.15 → 2.2.17
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.
package/build/package.json
CHANGED
|
@@ -124,7 +124,7 @@ type AnnotationResponse = {
|
|
|
124
124
|
strikethrough: boolean;
|
|
125
125
|
underline: boolean;
|
|
126
126
|
code: boolean;
|
|
127
|
-
color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
127
|
+
color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "default_background" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
128
128
|
};
|
|
129
129
|
export type TextRichTextItemResponse = {
|
|
130
130
|
type: "text";
|
|
@@ -141,6 +141,19 @@ export type TextRichTextItemResponse = {
|
|
|
141
141
|
type LinkPreviewMentionResponse = {
|
|
142
142
|
url: TextRequest;
|
|
143
143
|
};
|
|
144
|
+
type LinkMentionResponse = {
|
|
145
|
+
href: string;
|
|
146
|
+
title?: string;
|
|
147
|
+
description?: string;
|
|
148
|
+
link_author?: string;
|
|
149
|
+
link_provider?: string;
|
|
150
|
+
thumbnail_url?: string;
|
|
151
|
+
icon_url?: string;
|
|
152
|
+
iframe_url?: string;
|
|
153
|
+
height?: number;
|
|
154
|
+
padding?: number;
|
|
155
|
+
padding_top?: number;
|
|
156
|
+
};
|
|
144
157
|
type TemplateMentionDateTemplateMentionResponse = {
|
|
145
158
|
type: "template_mention_date";
|
|
146
159
|
template_mention_date: "today" | "now";
|
|
@@ -150,6 +163,11 @@ type TemplateMentionUserTemplateMentionResponse = {
|
|
|
150
163
|
template_mention_user: "me";
|
|
151
164
|
};
|
|
152
165
|
type TemplateMentionResponse = TemplateMentionDateTemplateMentionResponse | TemplateMentionUserTemplateMentionResponse;
|
|
166
|
+
type CustomEmojiResponse = {
|
|
167
|
+
id: IdRequest;
|
|
168
|
+
name: string;
|
|
169
|
+
url: string;
|
|
170
|
+
};
|
|
153
171
|
export type MentionRichTextItemResponse = {
|
|
154
172
|
type: "mention";
|
|
155
173
|
mention: {
|
|
@@ -161,6 +179,9 @@ export type MentionRichTextItemResponse = {
|
|
|
161
179
|
} | {
|
|
162
180
|
type: "link_preview";
|
|
163
181
|
link_preview: LinkPreviewMentionResponse;
|
|
182
|
+
} | {
|
|
183
|
+
type: "link_mention";
|
|
184
|
+
link_mention: LinkMentionResponse;
|
|
164
185
|
} | {
|
|
165
186
|
type: "template_mention";
|
|
166
187
|
template_mention: TemplateMentionResponse;
|
|
@@ -174,6 +195,9 @@ export type MentionRichTextItemResponse = {
|
|
|
174
195
|
database: {
|
|
175
196
|
id: IdRequest;
|
|
176
197
|
};
|
|
198
|
+
} | {
|
|
199
|
+
type: "custom_emoji";
|
|
200
|
+
custom_emoji: CustomEmojiResponse;
|
|
177
201
|
};
|
|
178
202
|
annotations: AnnotationResponse;
|
|
179
203
|
plain_text: string;
|
|
@@ -426,6 +450,9 @@ export type PageObjectResponse = {
|
|
|
426
450
|
url: string;
|
|
427
451
|
expiry_time: string;
|
|
428
452
|
};
|
|
453
|
+
} | null | {
|
|
454
|
+
type: "custom_emoji";
|
|
455
|
+
custom_emoji: CustomEmojiResponse;
|
|
429
456
|
} | null;
|
|
430
457
|
cover: {
|
|
431
458
|
type: "external";
|
|
@@ -676,6 +703,9 @@ export type DatabaseObjectResponse = {
|
|
|
676
703
|
url: string;
|
|
677
704
|
expiry_time: string;
|
|
678
705
|
};
|
|
706
|
+
} | null | {
|
|
707
|
+
type: "custom_emoji";
|
|
708
|
+
custom_emoji: CustomEmojiResponse;
|
|
679
709
|
} | null;
|
|
680
710
|
cover: {
|
|
681
711
|
type: "external";
|
|
@@ -719,7 +749,7 @@ export type PartialBlockObjectResponse = {
|
|
|
719
749
|
object: "block";
|
|
720
750
|
id: string;
|
|
721
751
|
};
|
|
722
|
-
type ApiColor = "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
752
|
+
type ApiColor = "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "default_background" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
723
753
|
export type ParagraphBlockObjectResponse = {
|
|
724
754
|
type: "paragraph";
|
|
725
755
|
paragraph: {
|
|
@@ -1128,7 +1158,7 @@ export type EquationBlockObjectResponse = {
|
|
|
1128
1158
|
archived: boolean;
|
|
1129
1159
|
in_trash: boolean;
|
|
1130
1160
|
};
|
|
1131
|
-
type LanguageRequest = "abap" | "agda" | "arduino" | "assembly" | "bash" | "basic" | "bnf" | "c" | "c#" | "c++" | "clojure" | "coffeescript" | "coq" | "css" | "dart" | "dhall" | "diff" | "docker" | "ebnf" | "elixir" | "elm" | "erlang" | "f#" | "flow" | "fortran" | "gherkin" | "glsl" | "go" | "graphql" | "groovy" | "haskell" | "html" | "idris" | "java" | "javascript" | "json" | "julia" | "kotlin" | "latex" | "less" | "lisp" | "livescript" | "llvm ir" | "lua" | "makefile" | "markdown" | "markup" | "matlab" | "mathematica" | "mermaid" | "nix" | "notion formula" | "objective-c" | "ocaml" | "pascal" | "perl" | "php" | "plain text" | "powershell" | "prolog" | "protobuf" | "purescript" | "python" | "r" | "racket" | "reason" | "ruby" | "rust" | "sass" | "scala" | "scheme" | "scss" | "shell" | "solidity" | "sql" | "swift" | "toml" | "typescript" | "vb.net" | "verilog" | "vhdl" | "visual basic" | "webassembly" | "xml" | "yaml" | "java/c/c++/c#";
|
|
1161
|
+
type LanguageRequest = "abap" | "agda" | "arduino" | "ascii art" | "assembly" | "bash" | "basic" | "bnf" | "c" | "c#" | "c++" | "clojure" | "coffeescript" | "coq" | "css" | "dart" | "dhall" | "diff" | "docker" | "ebnf" | "elixir" | "elm" | "erlang" | "f#" | "flow" | "fortran" | "gherkin" | "glsl" | "go" | "graphql" | "groovy" | "haskell" | "hcl" | "html" | "idris" | "java" | "javascript" | "json" | "julia" | "kotlin" | "latex" | "less" | "lisp" | "livescript" | "llvm ir" | "lua" | "makefile" | "markdown" | "markup" | "matlab" | "mathematica" | "mermaid" | "nix" | "notion formula" | "objective-c" | "ocaml" | "pascal" | "perl" | "php" | "plain text" | "powershell" | "prolog" | "protobuf" | "purescript" | "python" | "r" | "racket" | "reason" | "ruby" | "rust" | "sass" | "scala" | "scheme" | "scss" | "shell" | "smalltalk" | "solidity" | "sql" | "swift" | "toml" | "typescript" | "vb.net" | "verilog" | "vhdl" | "visual basic" | "webassembly" | "xml" | "yaml" | "java/c/c++/c#";
|
|
1132
1162
|
export type CodeBlockObjectResponse = {
|
|
1133
1163
|
type: "code";
|
|
1134
1164
|
code: {
|
|
@@ -1178,6 +1208,9 @@ export type CalloutBlockObjectResponse = {
|
|
|
1178
1208
|
url: string;
|
|
1179
1209
|
expiry_time: string;
|
|
1180
1210
|
};
|
|
1211
|
+
} | null | {
|
|
1212
|
+
type: "custom_emoji";
|
|
1213
|
+
custom_emoji: CustomEmojiResponse;
|
|
1181
1214
|
} | null;
|
|
1182
1215
|
};
|
|
1183
1216
|
parent: {
|
|
@@ -2015,7 +2048,7 @@ type RichTextItemRequest = {
|
|
|
2015
2048
|
strikethrough?: boolean;
|
|
2016
2049
|
underline?: boolean;
|
|
2017
2050
|
code?: boolean;
|
|
2018
|
-
color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
2051
|
+
color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "default_background" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
2019
2052
|
};
|
|
2020
2053
|
} | {
|
|
2021
2054
|
mention: {
|
|
@@ -2068,6 +2101,12 @@ type RichTextItemRequest = {
|
|
|
2068
2101
|
};
|
|
2069
2102
|
} | {
|
|
2070
2103
|
template_mention: TemplateMentionRequest;
|
|
2104
|
+
} | {
|
|
2105
|
+
custom_emoji: {
|
|
2106
|
+
id: IdRequest;
|
|
2107
|
+
name?: string;
|
|
2108
|
+
url?: string;
|
|
2109
|
+
};
|
|
2071
2110
|
};
|
|
2072
2111
|
type?: "mention";
|
|
2073
2112
|
annotations?: {
|
|
@@ -2076,7 +2115,7 @@ type RichTextItemRequest = {
|
|
|
2076
2115
|
strikethrough?: boolean;
|
|
2077
2116
|
underline?: boolean;
|
|
2078
2117
|
code?: boolean;
|
|
2079
|
-
color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
2118
|
+
color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "default_background" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
2080
2119
|
};
|
|
2081
2120
|
} | {
|
|
2082
2121
|
equation: {
|
|
@@ -2089,7 +2128,7 @@ type RichTextItemRequest = {
|
|
|
2089
2128
|
strikethrough?: boolean;
|
|
2090
2129
|
underline?: boolean;
|
|
2091
2130
|
code?: boolean;
|
|
2092
|
-
color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
2131
|
+
color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "default_background" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
|
2093
2132
|
};
|
|
2094
2133
|
};
|
|
2095
2134
|
export type BlockObjectRequestWithoutChildren = {
|
|
@@ -2288,6 +2327,13 @@ export type BlockObjectRequestWithoutChildren = {
|
|
|
2288
2327
|
url: TextRequest;
|
|
2289
2328
|
};
|
|
2290
2329
|
type?: "external";
|
|
2330
|
+
} | {
|
|
2331
|
+
custom_emoji: {
|
|
2332
|
+
id: IdRequest;
|
|
2333
|
+
name?: string;
|
|
2334
|
+
url?: string;
|
|
2335
|
+
};
|
|
2336
|
+
type?: "custom_emoji";
|
|
2291
2337
|
};
|
|
2292
2338
|
color?: ApiColor;
|
|
2293
2339
|
};
|
|
@@ -2657,6 +2703,13 @@ export type BlockObjectRequest = {
|
|
|
2657
2703
|
url: TextRequest;
|
|
2658
2704
|
};
|
|
2659
2705
|
type?: "external";
|
|
2706
|
+
} | {
|
|
2707
|
+
custom_emoji: {
|
|
2708
|
+
id: IdRequest;
|
|
2709
|
+
name?: string;
|
|
2710
|
+
url?: string;
|
|
2711
|
+
};
|
|
2712
|
+
type?: "custom_emoji";
|
|
2660
2713
|
};
|
|
2661
2714
|
};
|
|
2662
2715
|
type?: "callout";
|
|
@@ -2904,6 +2957,13 @@ export type BlockObjectRequest = {
|
|
|
2904
2957
|
url: TextRequest;
|
|
2905
2958
|
};
|
|
2906
2959
|
type?: "external";
|
|
2960
|
+
} | {
|
|
2961
|
+
custom_emoji: {
|
|
2962
|
+
id: IdRequest;
|
|
2963
|
+
name?: string;
|
|
2964
|
+
url?: string;
|
|
2965
|
+
};
|
|
2966
|
+
type?: "custom_emoji";
|
|
2907
2967
|
};
|
|
2908
2968
|
};
|
|
2909
2969
|
type?: "callout";
|
|
@@ -3150,6 +3210,13 @@ export type BlockObjectRequest = {
|
|
|
3150
3210
|
url: TextRequest;
|
|
3151
3211
|
};
|
|
3152
3212
|
type?: "external";
|
|
3213
|
+
} | {
|
|
3214
|
+
custom_emoji: {
|
|
3215
|
+
id: IdRequest;
|
|
3216
|
+
name?: string;
|
|
3217
|
+
url?: string;
|
|
3218
|
+
};
|
|
3219
|
+
type?: "custom_emoji";
|
|
3153
3220
|
};
|
|
3154
3221
|
};
|
|
3155
3222
|
type?: "callout";
|
|
@@ -3396,6 +3463,13 @@ export type BlockObjectRequest = {
|
|
|
3396
3463
|
url: TextRequest;
|
|
3397
3464
|
};
|
|
3398
3465
|
type?: "external";
|
|
3466
|
+
} | {
|
|
3467
|
+
custom_emoji: {
|
|
3468
|
+
id: IdRequest;
|
|
3469
|
+
name?: string;
|
|
3470
|
+
url?: string;
|
|
3471
|
+
};
|
|
3472
|
+
type?: "custom_emoji";
|
|
3399
3473
|
};
|
|
3400
3474
|
};
|
|
3401
3475
|
type?: "callout";
|
|
@@ -3642,6 +3716,13 @@ export type BlockObjectRequest = {
|
|
|
3642
3716
|
url: TextRequest;
|
|
3643
3717
|
};
|
|
3644
3718
|
type?: "external";
|
|
3719
|
+
} | {
|
|
3720
|
+
custom_emoji: {
|
|
3721
|
+
id: IdRequest;
|
|
3722
|
+
name?: string;
|
|
3723
|
+
url?: string;
|
|
3724
|
+
};
|
|
3725
|
+
type?: "custom_emoji";
|
|
3645
3726
|
};
|
|
3646
3727
|
};
|
|
3647
3728
|
type?: "callout";
|
|
@@ -3887,6 +3968,13 @@ export type BlockObjectRequest = {
|
|
|
3887
3968
|
url: TextRequest;
|
|
3888
3969
|
};
|
|
3889
3970
|
type?: "external";
|
|
3971
|
+
} | {
|
|
3972
|
+
custom_emoji: {
|
|
3973
|
+
id: IdRequest;
|
|
3974
|
+
name?: string;
|
|
3975
|
+
url?: string;
|
|
3976
|
+
};
|
|
3977
|
+
type?: "custom_emoji";
|
|
3890
3978
|
};
|
|
3891
3979
|
};
|
|
3892
3980
|
type?: "callout";
|
|
@@ -4132,6 +4220,13 @@ export type BlockObjectRequest = {
|
|
|
4132
4220
|
url: TextRequest;
|
|
4133
4221
|
};
|
|
4134
4222
|
type?: "external";
|
|
4223
|
+
} | {
|
|
4224
|
+
custom_emoji: {
|
|
4225
|
+
id: IdRequest;
|
|
4226
|
+
name?: string;
|
|
4227
|
+
url?: string;
|
|
4228
|
+
};
|
|
4229
|
+
type?: "custom_emoji";
|
|
4135
4230
|
};
|
|
4136
4231
|
};
|
|
4137
4232
|
type?: "callout";
|
|
@@ -4377,6 +4472,13 @@ export type BlockObjectRequest = {
|
|
|
4377
4472
|
url: TextRequest;
|
|
4378
4473
|
};
|
|
4379
4474
|
type?: "external";
|
|
4475
|
+
} | {
|
|
4476
|
+
custom_emoji: {
|
|
4477
|
+
id: IdRequest;
|
|
4478
|
+
name?: string;
|
|
4479
|
+
url?: string;
|
|
4480
|
+
};
|
|
4481
|
+
type?: "custom_emoji";
|
|
4380
4482
|
};
|
|
4381
4483
|
};
|
|
4382
4484
|
type?: "callout";
|
|
@@ -4622,6 +4724,13 @@ export type BlockObjectRequest = {
|
|
|
4622
4724
|
url: TextRequest;
|
|
4623
4725
|
};
|
|
4624
4726
|
type?: "external";
|
|
4727
|
+
} | {
|
|
4728
|
+
custom_emoji: {
|
|
4729
|
+
id: IdRequest;
|
|
4730
|
+
name?: string;
|
|
4731
|
+
url?: string;
|
|
4732
|
+
};
|
|
4733
|
+
type?: "custom_emoji";
|
|
4625
4734
|
};
|
|
4626
4735
|
};
|
|
4627
4736
|
type?: "callout";
|
|
@@ -4867,6 +4976,13 @@ export type BlockObjectRequest = {
|
|
|
4867
4976
|
url: TextRequest;
|
|
4868
4977
|
};
|
|
4869
4978
|
type?: "external";
|
|
4979
|
+
} | {
|
|
4980
|
+
custom_emoji: {
|
|
4981
|
+
id: IdRequest;
|
|
4982
|
+
name?: string;
|
|
4983
|
+
url?: string;
|
|
4984
|
+
};
|
|
4985
|
+
type?: "custom_emoji";
|
|
4870
4986
|
};
|
|
4871
4987
|
};
|
|
4872
4988
|
type?: "callout";
|
|
@@ -5113,6 +5229,13 @@ export type BlockObjectRequest = {
|
|
|
5113
5229
|
url: TextRequest;
|
|
5114
5230
|
};
|
|
5115
5231
|
type?: "external";
|
|
5232
|
+
} | {
|
|
5233
|
+
custom_emoji: {
|
|
5234
|
+
id: IdRequest;
|
|
5235
|
+
name?: string;
|
|
5236
|
+
url?: string;
|
|
5237
|
+
};
|
|
5238
|
+
type?: "custom_emoji";
|
|
5116
5239
|
};
|
|
5117
5240
|
};
|
|
5118
5241
|
type?: "callout";
|
|
@@ -5357,6 +5480,13 @@ export type BlockObjectRequest = {
|
|
|
5357
5480
|
url: TextRequest;
|
|
5358
5481
|
};
|
|
5359
5482
|
type?: "external";
|
|
5483
|
+
} | {
|
|
5484
|
+
custom_emoji: {
|
|
5485
|
+
id: IdRequest;
|
|
5486
|
+
name?: string;
|
|
5487
|
+
url?: string;
|
|
5488
|
+
};
|
|
5489
|
+
type?: "custom_emoji";
|
|
5360
5490
|
};
|
|
5361
5491
|
};
|
|
5362
5492
|
type?: "callout";
|
|
@@ -5602,6 +5732,13 @@ export type BlockObjectRequest = {
|
|
|
5602
5732
|
url: TextRequest;
|
|
5603
5733
|
};
|
|
5604
5734
|
type?: "external";
|
|
5735
|
+
} | {
|
|
5736
|
+
custom_emoji: {
|
|
5737
|
+
id: IdRequest;
|
|
5738
|
+
name?: string;
|
|
5739
|
+
url?: string;
|
|
5740
|
+
};
|
|
5741
|
+
type?: "custom_emoji";
|
|
5605
5742
|
};
|
|
5606
5743
|
};
|
|
5607
5744
|
type?: "callout";
|
|
@@ -5625,6 +5762,13 @@ export type BlockObjectRequest = {
|
|
|
5625
5762
|
url: TextRequest;
|
|
5626
5763
|
};
|
|
5627
5764
|
type?: "external";
|
|
5765
|
+
} | {
|
|
5766
|
+
custom_emoji: {
|
|
5767
|
+
id: IdRequest;
|
|
5768
|
+
name?: string;
|
|
5769
|
+
url?: string;
|
|
5770
|
+
};
|
|
5771
|
+
type?: "custom_emoji";
|
|
5628
5772
|
};
|
|
5629
5773
|
};
|
|
5630
5774
|
type?: "callout";
|
|
@@ -5858,6 +6002,13 @@ export type BlockObjectRequest = {
|
|
|
5858
6002
|
url: TextRequest;
|
|
5859
6003
|
};
|
|
5860
6004
|
type?: "external";
|
|
6005
|
+
} | {
|
|
6006
|
+
custom_emoji: {
|
|
6007
|
+
id: IdRequest;
|
|
6008
|
+
name?: string;
|
|
6009
|
+
url?: string;
|
|
6010
|
+
};
|
|
6011
|
+
type?: "custom_emoji";
|
|
5861
6012
|
};
|
|
5862
6013
|
};
|
|
5863
6014
|
type?: "callout";
|
|
@@ -6361,6 +6512,13 @@ type CreatePageBodyParameters = {
|
|
|
6361
6512
|
url: TextRequest;
|
|
6362
6513
|
};
|
|
6363
6514
|
type?: "external";
|
|
6515
|
+
} | null | {
|
|
6516
|
+
custom_emoji: {
|
|
6517
|
+
id: IdRequest;
|
|
6518
|
+
name?: string;
|
|
6519
|
+
url?: string;
|
|
6520
|
+
};
|
|
6521
|
+
type?: "custom_emoji";
|
|
6364
6522
|
} | null;
|
|
6365
6523
|
cover?: {
|
|
6366
6524
|
external: {
|
|
@@ -6612,6 +6770,13 @@ type UpdatePageBodyParameters = {
|
|
|
6612
6770
|
url: TextRequest;
|
|
6613
6771
|
};
|
|
6614
6772
|
type?: "external";
|
|
6773
|
+
} | null | {
|
|
6774
|
+
custom_emoji: {
|
|
6775
|
+
id: IdRequest;
|
|
6776
|
+
name?: string;
|
|
6777
|
+
url?: string;
|
|
6778
|
+
};
|
|
6779
|
+
type?: "custom_emoji";
|
|
6615
6780
|
} | null;
|
|
6616
6781
|
cover?: {
|
|
6617
6782
|
external: {
|
|
@@ -6878,6 +7043,13 @@ type UpdateBlockBodyParameters = {
|
|
|
6878
7043
|
url: TextRequest;
|
|
6879
7044
|
};
|
|
6880
7045
|
type?: "external";
|
|
7046
|
+
} | {
|
|
7047
|
+
custom_emoji: {
|
|
7048
|
+
id: IdRequest;
|
|
7049
|
+
name?: string;
|
|
7050
|
+
url?: string;
|
|
7051
|
+
};
|
|
7052
|
+
type?: "custom_emoji";
|
|
6881
7053
|
};
|
|
6882
7054
|
color?: ApiColor;
|
|
6883
7055
|
};
|
|
@@ -6999,6 +7171,13 @@ type UpdateDatabaseBodyParameters = {
|
|
|
6999
7171
|
url: TextRequest;
|
|
7000
7172
|
};
|
|
7001
7173
|
type?: "external";
|
|
7174
|
+
} | null | {
|
|
7175
|
+
custom_emoji: {
|
|
7176
|
+
id: IdRequest;
|
|
7177
|
+
name?: string;
|
|
7178
|
+
url?: string;
|
|
7179
|
+
};
|
|
7180
|
+
type?: "custom_emoji";
|
|
7002
7181
|
} | null;
|
|
7003
7182
|
cover?: {
|
|
7004
7183
|
external: {
|
|
@@ -7399,6 +7578,13 @@ type CreateDatabaseBodyParameters = {
|
|
|
7399
7578
|
url: TextRequest;
|
|
7400
7579
|
};
|
|
7401
7580
|
type?: "external";
|
|
7581
|
+
} | null | {
|
|
7582
|
+
custom_emoji: {
|
|
7583
|
+
id: IdRequest;
|
|
7584
|
+
name?: string;
|
|
7585
|
+
url?: string;
|
|
7586
|
+
};
|
|
7587
|
+
type?: "custom_emoji";
|
|
7402
7588
|
} | null;
|
|
7403
7589
|
cover?: {
|
|
7404
7590
|
external: {
|