@notionhq/custom-blocks-dev-shell 0.1.115 → 0.1.116
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/LICENSE +21 -0
- package/README.md +86 -13
- package/THIRD_PARTY_LICENSES.md +133 -0
- package/dist/assets/index-DSaseWP_.js +11 -0
- package/dist/assets/index-Do-x8yIt.css +2 -0
- package/dist/index.html +2 -2
- package/dist-cli/cli/published-cli.js +8467 -51
- package/docs/bindings.md +17 -12
- package/docs/bridge/changelog.md +67 -0
- package/docs/bridge/protocol.md +204 -0
- package/docs/bridge/versioning.md +38 -0
- package/docs/data-sources.md +49 -36
- package/docs/host/README.md +177 -0
- package/docs/host/docs/compatibility.md +68 -0
- package/docs/host/docs/handlers.md +199 -0
- package/docs/host/docs/lifecycle.md +117 -0
- package/package.json +5 -3
- package/dist/assets/index-DXzPwq_J.js +0 -11
- package/dist/assets/index-E1j3FxAu.css +0 -2
- package/dist-cli/cli/binding-cli-flags.js +0 -33
- package/dist-cli/cli/binding-errors.js +0 -15
- package/dist-cli/cli/block-csp.js +0 -84
- package/dist-cli/cli/build-block-registry.js +0 -30
- package/dist-cli/cli/convert-values.js +0 -222
- package/dist-cli/cli/convert.js +0 -210
- package/dist-cli/cli/data-source-files.js +0 -6
- package/dist-cli/cli/data-sources.js +0 -114
- package/dist-cli/cli/dev-shell-launcher.js +0 -239
- package/dist-cli/cli/dev-shell-run.js +0 -72
- package/dist-cli/cli/errors.js +0 -12
- package/dist-cli/cli/launcher-bindings.js +0 -144
- package/dist-cli/cli/materialize.js +0 -105
- package/dist-cli/cli/ports.js +0 -20
- package/dist-cli/cli/prebuilt.js +0 -23
- package/dist-cli/cli/runtime-error-client.js +0 -52
- package/dist-cli/cli/serve-ui.js +0 -110
- package/dist-cli/cli/shared-server.js +0 -70
- package/dist-cli/cli/utils.js +0 -52
- package/dist-cli/cli/vite-block-server.js +0 -125
- package/dist-cli/cli/vite-middleware.js +0 -111
- package/dist-cli/cli/worker-manifest.js +0 -158
- package/dist-cli/protocol/contrast.d.ts +0 -4
- package/dist-cli/protocol/contrast.js +0 -3
- package/dist-cli/protocol/dataSources/dataSource.d.ts +0 -786
- package/dist-cli/protocol/dataSources/dataSource.js +0 -66
- package/dist-cli/protocol/dataSources/dataSourcePage.d.ts +0 -74
- package/dist-cli/protocol/dataSources/dataSourcePage.js +0 -15
- package/dist-cli/protocol/dataSources/dataSourceValue.d.ts +0 -66
- package/dist-cli/protocol/dataSources/dataSourceValue.js +0 -14
- package/dist-cli/protocol/dataSources/dateValue.d.ts +0 -157
- package/dist-cli/protocol/dataSources/dateValue.js +0 -61
- package/dist-cli/protocol/dataSources/errors.d.ts +0 -8
- package/dist-cli/protocol/dataSources/errors.js +0 -7
- package/dist-cli/protocol/dataSources/propertySchema.d.ts +0 -200
- package/dist-cli/protocol/dataSources/propertySchema.js +0 -174
- package/dist-cli/protocol/dataSources/recordPointer.d.ts +0 -9
- package/dist-cli/protocol/dataSources/recordPointer.js +0 -8
- package/dist-cli/protocol/dataSources/sortDirection.d.ts +0 -3
- package/dist-cli/protocol/dataSources/sortDirection.js +0 -2
- package/dist-cli/protocol/errors.d.ts +0 -12
- package/dist-cli/protocol/errors.js +0 -6
- package/dist-cli/protocol/ids.d.ts +0 -31
- package/dist-cli/protocol/ids.js +0 -26
- package/dist-cli/protocol/index.d.ts +0 -53
- package/dist-cli/protocol/index.js +0 -53
- package/dist-cli/protocol/manifest.d.ts +0 -67
- package/dist-cli/protocol/manifest.js +0 -36
- package/dist-cli/protocol/messages/connect.d.ts +0 -54
- package/dist-cli/protocol/messages/connect.js +0 -39
- package/dist-cli/protocol/messages/contrastModeChanged.d.ts +0 -7
- package/dist-cli/protocol/messages/contrastModeChanged.js +0 -7
- package/dist-cli/protocol/messages/createPage.d.ts +0 -290
- package/dist-cli/protocol/messages/createPage.js +0 -51
- package/dist-cli/protocol/messages/createPageResult.d.ts +0 -897
- package/dist-cli/protocol/messages/createPageResult.js +0 -43
- package/dist-cli/protocol/messages/currentUserChanged.d.ts +0 -18
- package/dist-cli/protocol/messages/currentUserChanged.js +0 -9
- package/dist-cli/protocol/messages/dataSourcesChanged.d.ts +0 -157
- package/dist-cli/protocol/messages/dataSourcesChanged.js +0 -13
- package/dist-cli/protocol/messages/getPage.d.ts +0 -902
- package/dist-cli/protocol/messages/getPage.js +0 -48
- package/dist-cli/protocol/messages/getUser.d.ts +0 -44
- package/dist-cli/protocol/messages/getUser.js +0 -32
- package/dist-cli/protocol/messages/hostToSandbox.d.ts +0 -4385
- package/dist-cli/protocol/messages/hostToSandbox.js +0 -48
- package/dist-cli/protocol/messages/incomingType.d.ts +0 -9
- package/dist-cli/protocol/messages/incomingType.js +0 -17
- package/dist-cli/protocol/messages/init.d.ts +0 -273
- package/dist-cli/protocol/messages/init.js +0 -57
- package/dist-cli/protocol/messages/initResult.d.ts +0 -37
- package/dist-cli/protocol/messages/initResult.js +0 -29
- package/dist-cli/protocol/messages/invalidHostMessage.d.ts +0 -14
- package/dist-cli/protocol/messages/invalidHostMessage.js +0 -13
- package/dist-cli/protocol/messages/invalidSandboxMessage.d.ts +0 -14
- package/dist-cli/protocol/messages/invalidSandboxMessage.js +0 -13
- package/dist-cli/protocol/messages/isInitHandshakeMessage.d.ts +0 -4
- package/dist-cli/protocol/messages/isInitHandshakeMessage.js +0 -11
- package/dist-cli/protocol/messages/listUsers.d.ts +0 -52
- package/dist-cli/protocol/messages/listUsers.js +0 -33
- package/dist-cli/protocol/messages/messagePayload.d.ts +0 -19
- package/dist-cli/protocol/messages/messagePayload.js +0 -1
- package/dist-cli/protocol/messages/openExternalUrl.d.ts +0 -32
- package/dist-cli/protocol/messages/openExternalUrl.js +0 -26
- package/dist-cli/protocol/messages/openPage.d.ts +0 -38
- package/dist-cli/protocol/messages/openPage.js +0 -34
- package/dist-cli/protocol/messages/pageChanged.d.ts +0 -32
- package/dist-cli/protocol/messages/pageChanged.js +0 -9
- package/dist-cli/protocol/messages/parentChanged.d.ts +0 -26
- package/dist-cli/protocol/messages/parentChanged.js +0 -9
- package/dist-cli/protocol/messages/queryDataSource.d.ts +0 -1446
- package/dist-cli/protocol/messages/queryDataSource.js +0 -252
- package/dist-cli/protocol/messages/queryDataSourceResult.d.ts +0 -686
- package/dist-cli/protocol/messages/queryDataSourceResult.js +0 -44
- package/dist-cli/protocol/messages/resize.d.ts +0 -11
- package/dist-cli/protocol/messages/resize.js +0 -10
- package/dist-cli/protocol/messages/sandboxToHost.d.ts +0 -1091
- package/dist-cli/protocol/messages/sandboxToHost.js +0 -33
- package/dist-cli/protocol/messages/themeChanged.d.ts +0 -10
- package/dist-cli/protocol/messages/themeChanged.js +0 -10
- package/dist-cli/protocol/messages/unsubscribeDataSourceQuery.d.ts +0 -10
- package/dist-cli/protocol/messages/unsubscribeDataSourceQuery.js +0 -9
- package/dist-cli/protocol/messages/updatePage.d.ts +0 -271
- package/dist-cli/protocol/messages/updatePage.js +0 -23
- package/dist-cli/protocol/messages/updatePageResult.d.ts +0 -895
- package/dist-cli/protocol/messages/updatePageResult.js +0 -41
- package/dist-cli/protocol/pages/page.d.ts +0 -1422
- package/dist-cli/protocol/pages/page.js +0 -318
- package/dist-cli/protocol/parent.d.ts +0 -32
- package/dist-cli/protocol/parent.js +0 -13
- package/dist-cli/protocol/protocolVersion.d.ts +0 -8
- package/dist-cli/protocol/protocolVersion.js +0 -11
- package/dist-cli/protocol/theme.d.ts +0 -3
- package/dist-cli/protocol/theme.js +0 -2
- package/dist-cli/protocol/users/user.d.ts +0 -32
- package/dist-cli/protocol/users/user.js +0 -20
- package/dist-cli/shared/block-registry.js +0 -28
- package/dist-cli/shared/data-source.js +0 -22
- package/dist-cli/shared/runtime-config.js +0 -10
- package/dist-cli/shared/sample-data-source.js +0 -12
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
/**
|
|
3
|
-
* Hex-token identifiers for Notion's named colors. Mirrors the public API's
|
|
4
|
-
* `select.options[].color` enum
|
|
5
|
-
* (https://developers.notion.com/reference/property-object#select).
|
|
6
|
-
*/
|
|
7
|
-
export declare const notionPropertyColorSchema: v.PicklistSchema<["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", "default_background"], undefined>;
|
|
8
|
-
export type NotionPropertyColor = v.InferOutput<typeof notionPropertyColorSchema>;
|
|
9
|
-
export declare const notionPropertyOptionSchema: v.ObjectSchema<{
|
|
10
|
-
readonly id: v.StringSchema<undefined>;
|
|
11
|
-
readonly name: v.StringSchema<undefined>;
|
|
12
|
-
readonly color: v.OptionalSchema<v.PicklistSchema<["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", "default_background"], undefined>, undefined>;
|
|
13
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
-
}, undefined>;
|
|
15
|
-
export type NotionPropertyOption = v.InferOutput<typeof notionPropertyOptionSchema>;
|
|
16
|
-
export declare const notionStatusGroupSchema: v.ObjectSchema<{
|
|
17
|
-
readonly id: v.StringSchema<undefined>;
|
|
18
|
-
readonly name: v.StringSchema<undefined>;
|
|
19
|
-
readonly color: v.OptionalSchema<v.PicklistSchema<["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", "default_background"], undefined>, undefined>;
|
|
20
|
-
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
-
}, undefined>;
|
|
22
|
-
export type NotionStatusGroup = v.InferOutput<typeof notionStatusGroupSchema>;
|
|
23
|
-
export declare const notionDualPropertySchema: v.ObjectSchema<{
|
|
24
|
-
readonly synced_property_id: v.StringSchema<undefined>;
|
|
25
|
-
readonly synced_property_name: v.StringSchema<undefined>;
|
|
26
|
-
}, undefined>;
|
|
27
|
-
export type NotionDualProperty = v.InferOutput<typeof notionDualPropertySchema>;
|
|
28
|
-
/**
|
|
29
|
-
* Every Notion property type the bridge speaks, in a single readable list.
|
|
30
|
-
* Mirrors the Notion public API
|
|
31
|
-
* [property object](https://developers.notion.com/reference/property-object)
|
|
32
|
-
* type field. Internal-only types (`button`, `verification`,
|
|
33
|
-
* `last_visited_time`, `location`) and the four built-ins (`created_time`,
|
|
34
|
-
* `last_edited_time`, `created_by`, `last_edited_by`) are included under their
|
|
35
|
-
* bridge-native names.
|
|
36
|
-
*/
|
|
37
|
-
export declare const NOTION_PROPERTY_TYPES: readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"];
|
|
38
|
-
export declare const notionPropertyTypeSchema: v.PicklistSchema<readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
|
|
39
|
-
/**
|
|
40
|
-
* String literal union of every supported Notion property type. Same set as
|
|
41
|
-
* the discriminator in `NotionPropertySchema` — split out so the manifest
|
|
42
|
-
* can declare expected property types without dragging in the per-type
|
|
43
|
-
* payload shapes.
|
|
44
|
-
*/
|
|
45
|
-
export type NotionPropertyType = v.InferOutput<typeof notionPropertyTypeSchema>;
|
|
46
|
-
/**
|
|
47
|
-
* Property types currently supported by the custom-block data source sort API.
|
|
48
|
-
* Keep this list narrower than {@link NOTION_PROPERTY_TYPES} when a property
|
|
49
|
-
* type is exposed but its sort value is not yet represented by every host.
|
|
50
|
-
*/
|
|
51
|
-
export declare const CUSTOM_BLOCK_DATA_SOURCE_SORTABLE_PROPERTY_TYPES: readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "date", "created_time", "last_edited_time", "people", "created_by"];
|
|
52
|
-
export type CustomBlockDataSourceSortablePropertyType = (typeof CUSTOM_BLOCK_DATA_SOURCE_SORTABLE_PROPERTY_TYPES)[number];
|
|
53
|
-
/**
|
|
54
|
-
* Per-property schema as exposed by the host over the custom-block bridge.
|
|
55
|
-
* The `type` discriminator must be one of {@link NOTION_PROPERTY_TYPES}.
|
|
56
|
-
*/
|
|
57
|
-
export declare const notionPropertySchemaSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
58
|
-
readonly name: v.StringSchema<undefined>;
|
|
59
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
60
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
61
|
-
}, undefined>, v.ObjectSchema<{
|
|
62
|
-
readonly name: v.StringSchema<undefined>;
|
|
63
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
64
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
65
|
-
}, undefined>, v.ObjectSchema<{
|
|
66
|
-
readonly name: v.StringSchema<undefined>;
|
|
67
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
69
|
-
}, undefined>, v.ObjectSchema<{
|
|
70
|
-
readonly name: v.StringSchema<undefined>;
|
|
71
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
72
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
73
|
-
}, undefined>, v.ObjectSchema<{
|
|
74
|
-
readonly name: v.StringSchema<undefined>;
|
|
75
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
76
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
77
|
-
}, undefined>, v.ObjectSchema<{
|
|
78
|
-
readonly name: v.StringSchema<undefined>;
|
|
79
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
80
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
81
|
-
}, undefined>, v.ObjectSchema<{
|
|
82
|
-
readonly name: v.StringSchema<undefined>;
|
|
83
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
84
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
85
|
-
}, undefined>, v.ObjectSchema<{
|
|
86
|
-
readonly name: v.StringSchema<undefined>;
|
|
87
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
88
|
-
readonly type: v.LiteralSchema<"select", undefined>;
|
|
89
|
-
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
90
|
-
readonly id: v.StringSchema<undefined>;
|
|
91
|
-
readonly name: v.StringSchema<undefined>;
|
|
92
|
-
readonly color: v.OptionalSchema<v.PicklistSchema<["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", "default_background"], undefined>, undefined>;
|
|
93
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
94
|
-
}, undefined>, undefined>;
|
|
95
|
-
}, undefined>, v.ObjectSchema<{
|
|
96
|
-
readonly name: v.StringSchema<undefined>;
|
|
97
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
-
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
99
|
-
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
100
|
-
readonly id: v.StringSchema<undefined>;
|
|
101
|
-
readonly name: v.StringSchema<undefined>;
|
|
102
|
-
readonly color: v.OptionalSchema<v.PicklistSchema<["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", "default_background"], undefined>, undefined>;
|
|
103
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
-
}, undefined>, undefined>;
|
|
105
|
-
}, undefined>, v.ObjectSchema<{
|
|
106
|
-
readonly name: v.StringSchema<undefined>;
|
|
107
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
108
|
-
readonly type: v.LiteralSchema<"status", undefined>;
|
|
109
|
-
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
110
|
-
readonly id: v.StringSchema<undefined>;
|
|
111
|
-
readonly name: v.StringSchema<undefined>;
|
|
112
|
-
readonly color: v.OptionalSchema<v.PicklistSchema<["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", "default_background"], undefined>, undefined>;
|
|
113
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
114
|
-
}, undefined>, undefined>;
|
|
115
|
-
readonly groups: v.ArraySchema<v.ObjectSchema<{
|
|
116
|
-
readonly id: v.StringSchema<undefined>;
|
|
117
|
-
readonly name: v.StringSchema<undefined>;
|
|
118
|
-
readonly color: v.OptionalSchema<v.PicklistSchema<["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", "default_background"], undefined>, undefined>;
|
|
119
|
-
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
120
|
-
}, undefined>, undefined>;
|
|
121
|
-
}, undefined>, v.ObjectSchema<{
|
|
122
|
-
readonly name: v.StringSchema<undefined>;
|
|
123
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
124
|
-
readonly type: v.LiteralSchema<"date", undefined>;
|
|
125
|
-
}, undefined>, v.ObjectSchema<{
|
|
126
|
-
readonly name: v.StringSchema<undefined>;
|
|
127
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
128
|
-
readonly type: v.LiteralSchema<"people", undefined>;
|
|
129
|
-
}, undefined>, v.ObjectSchema<{
|
|
130
|
-
readonly name: v.StringSchema<undefined>;
|
|
131
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
-
readonly type: v.LiteralSchema<"files", undefined>;
|
|
133
|
-
}, undefined>, v.ObjectSchema<{
|
|
134
|
-
readonly name: v.StringSchema<undefined>;
|
|
135
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
136
|
-
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
137
|
-
}, undefined>, v.ObjectSchema<{
|
|
138
|
-
readonly name: v.StringSchema<undefined>;
|
|
139
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
140
|
-
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
141
|
-
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
142
|
-
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
143
|
-
readonly synced_property_id: v.StringSchema<undefined>;
|
|
144
|
-
readonly synced_property_name: v.StringSchema<undefined>;
|
|
145
|
-
}, undefined>, undefined>;
|
|
146
|
-
}, undefined>, v.ObjectSchema<{
|
|
147
|
-
readonly name: v.StringSchema<undefined>;
|
|
148
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
149
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
150
|
-
}, undefined>, v.ObjectSchema<{
|
|
151
|
-
readonly name: v.StringSchema<undefined>;
|
|
152
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
153
|
-
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
154
|
-
}, undefined>, v.ObjectSchema<{
|
|
155
|
-
readonly name: v.StringSchema<undefined>;
|
|
156
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
157
|
-
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
158
|
-
}, undefined>, v.ObjectSchema<{
|
|
159
|
-
readonly name: v.StringSchema<undefined>;
|
|
160
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
161
|
-
readonly type: v.LiteralSchema<"button", undefined>;
|
|
162
|
-
}, undefined>, v.ObjectSchema<{
|
|
163
|
-
readonly name: v.StringSchema<undefined>;
|
|
164
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
165
|
-
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
166
|
-
}, undefined>, v.ObjectSchema<{
|
|
167
|
-
readonly name: v.StringSchema<undefined>;
|
|
168
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
169
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
170
|
-
}, undefined>, v.ObjectSchema<{
|
|
171
|
-
readonly name: v.StringSchema<undefined>;
|
|
172
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
173
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
174
|
-
}, undefined>, v.ObjectSchema<{
|
|
175
|
-
readonly name: v.StringSchema<undefined>;
|
|
176
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
178
|
-
}, undefined>, v.ObjectSchema<{
|
|
179
|
-
readonly name: v.StringSchema<undefined>;
|
|
180
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
181
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
182
|
-
}, undefined>, v.ObjectSchema<{
|
|
183
|
-
readonly name: v.StringSchema<undefined>;
|
|
184
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
185
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
186
|
-
}, undefined>, v.ObjectSchema<{
|
|
187
|
-
readonly name: v.StringSchema<undefined>;
|
|
188
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
189
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
190
|
-
}, undefined>], undefined>;
|
|
191
|
-
export type NotionPropertySchema = v.InferOutput<typeof notionPropertySchemaSchema>;
|
|
192
|
-
export type NotionPropertySchemasById = Record<string, NotionPropertySchema>;
|
|
193
|
-
/**
|
|
194
|
-
* The four synthetic built-in property IDs the host always includes in every
|
|
195
|
-
* data source's `propertySchemasById` and every row's `propertiesById`.
|
|
196
|
-
*/
|
|
197
|
-
export declare const NOTION_BUILTIN_PROPERTY_IDS: readonly ["created_time", "last_edited_time", "created_by", "last_edited_by"];
|
|
198
|
-
export type NotionBuiltinPropertyId = (typeof NOTION_BUILTIN_PROPERTY_IDS)[number];
|
|
199
|
-
/** Schemas for synthetic metadata values in query snapshots. */
|
|
200
|
-
export declare const NOTION_BUILTIN_PROPERTY_SCHEMAS: Record<NotionBuiltinPropertyId, NotionPropertySchema>;
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
/**
|
|
3
|
-
* Hex-token identifiers for Notion's named colors. Mirrors the public API's
|
|
4
|
-
* `select.options[].color` enum
|
|
5
|
-
* (https://developers.notion.com/reference/property-object#select).
|
|
6
|
-
*/
|
|
7
|
-
export const notionPropertyColorSchema = v.picklist([
|
|
8
|
-
"default",
|
|
9
|
-
"gray",
|
|
10
|
-
"brown",
|
|
11
|
-
"orange",
|
|
12
|
-
"yellow",
|
|
13
|
-
"green",
|
|
14
|
-
"blue",
|
|
15
|
-
"purple",
|
|
16
|
-
"pink",
|
|
17
|
-
"red",
|
|
18
|
-
"gray_background",
|
|
19
|
-
"brown_background",
|
|
20
|
-
"orange_background",
|
|
21
|
-
"yellow_background",
|
|
22
|
-
"green_background",
|
|
23
|
-
"blue_background",
|
|
24
|
-
"purple_background",
|
|
25
|
-
"pink_background",
|
|
26
|
-
"red_background",
|
|
27
|
-
"default_background",
|
|
28
|
-
]);
|
|
29
|
-
export const notionPropertyOptionSchema = v.object({
|
|
30
|
-
id: v.string(),
|
|
31
|
-
name: v.string(),
|
|
32
|
-
color: v.optional(notionPropertyColorSchema),
|
|
33
|
-
description: v.optional(v.string()),
|
|
34
|
-
});
|
|
35
|
-
export const notionStatusGroupSchema = v.object({
|
|
36
|
-
id: v.string(),
|
|
37
|
-
name: v.string(),
|
|
38
|
-
color: v.optional(notionPropertyColorSchema),
|
|
39
|
-
option_ids: v.array(v.string()),
|
|
40
|
-
});
|
|
41
|
-
export const notionDualPropertySchema = v.object({
|
|
42
|
-
synced_property_id: v.string(),
|
|
43
|
-
synced_property_name: v.string(),
|
|
44
|
-
});
|
|
45
|
-
const baseProp = v.object({
|
|
46
|
-
name: v.string(),
|
|
47
|
-
description: v.optional(v.string()),
|
|
48
|
-
});
|
|
49
|
-
/**
|
|
50
|
-
* Every Notion property type the bridge speaks, in a single readable list.
|
|
51
|
-
* Mirrors the Notion public API
|
|
52
|
-
* [property object](https://developers.notion.com/reference/property-object)
|
|
53
|
-
* type field. Internal-only types (`button`, `verification`,
|
|
54
|
-
* `last_visited_time`, `location`) and the four built-ins (`created_time`,
|
|
55
|
-
* `last_edited_time`, `created_by`, `last_edited_by`) are included under their
|
|
56
|
-
* bridge-native names.
|
|
57
|
-
*/
|
|
58
|
-
export const NOTION_PROPERTY_TYPES = [
|
|
59
|
-
"title",
|
|
60
|
-
"rich_text",
|
|
61
|
-
"number",
|
|
62
|
-
"checkbox",
|
|
63
|
-
"url",
|
|
64
|
-
"email",
|
|
65
|
-
"phone_number",
|
|
66
|
-
"select",
|
|
67
|
-
"multi_select",
|
|
68
|
-
"status",
|
|
69
|
-
"date",
|
|
70
|
-
"people",
|
|
71
|
-
"files",
|
|
72
|
-
"unique_id",
|
|
73
|
-
"relation",
|
|
74
|
-
"place",
|
|
75
|
-
"formula",
|
|
76
|
-
"rollup",
|
|
77
|
-
"button",
|
|
78
|
-
"verification",
|
|
79
|
-
"last_visited_time",
|
|
80
|
-
"location",
|
|
81
|
-
"created_time",
|
|
82
|
-
"last_edited_time",
|
|
83
|
-
"created_by",
|
|
84
|
-
"last_edited_by",
|
|
85
|
-
];
|
|
86
|
-
export const notionPropertyTypeSchema = v.picklist(NOTION_PROPERTY_TYPES);
|
|
87
|
-
/**
|
|
88
|
-
* Property types currently supported by the custom-block data source sort API.
|
|
89
|
-
* Keep this list narrower than {@link NOTION_PROPERTY_TYPES} when a property
|
|
90
|
-
* type is exposed but its sort value is not yet represented by every host.
|
|
91
|
-
*/
|
|
92
|
-
export const CUSTOM_BLOCK_DATA_SOURCE_SORTABLE_PROPERTY_TYPES = [
|
|
93
|
-
"title",
|
|
94
|
-
"rich_text",
|
|
95
|
-
"number",
|
|
96
|
-
"checkbox",
|
|
97
|
-
"url",
|
|
98
|
-
"email",
|
|
99
|
-
"phone_number",
|
|
100
|
-
"date",
|
|
101
|
-
"created_time",
|
|
102
|
-
"last_edited_time",
|
|
103
|
-
"people",
|
|
104
|
-
"created_by",
|
|
105
|
-
];
|
|
106
|
-
/**
|
|
107
|
-
* Per-property schema as exposed by the host over the custom-block bridge.
|
|
108
|
-
* The `type` discriminator must be one of {@link NOTION_PROPERTY_TYPES}.
|
|
109
|
-
*/
|
|
110
|
-
export const notionPropertySchemaSchema = v.variant("type", [
|
|
111
|
-
v.object({ ...baseProp.entries, type: v.literal("title") }),
|
|
112
|
-
v.object({ ...baseProp.entries, type: v.literal("rich_text") }),
|
|
113
|
-
v.object({ ...baseProp.entries, type: v.literal("number") }),
|
|
114
|
-
v.object({ ...baseProp.entries, type: v.literal("checkbox") }),
|
|
115
|
-
v.object({ ...baseProp.entries, type: v.literal("url") }),
|
|
116
|
-
v.object({ ...baseProp.entries, type: v.literal("email") }),
|
|
117
|
-
v.object({ ...baseProp.entries, type: v.literal("phone_number") }),
|
|
118
|
-
v.object({
|
|
119
|
-
...baseProp.entries,
|
|
120
|
-
type: v.literal("select"),
|
|
121
|
-
options: v.array(notionPropertyOptionSchema),
|
|
122
|
-
}),
|
|
123
|
-
v.object({
|
|
124
|
-
...baseProp.entries,
|
|
125
|
-
type: v.literal("multi_select"),
|
|
126
|
-
options: v.array(notionPropertyOptionSchema),
|
|
127
|
-
}),
|
|
128
|
-
v.object({
|
|
129
|
-
...baseProp.entries,
|
|
130
|
-
type: v.literal("status"),
|
|
131
|
-
options: v.array(notionPropertyOptionSchema),
|
|
132
|
-
groups: v.array(notionStatusGroupSchema),
|
|
133
|
-
}),
|
|
134
|
-
v.object({ ...baseProp.entries, type: v.literal("date") }),
|
|
135
|
-
v.object({ ...baseProp.entries, type: v.literal("people") }),
|
|
136
|
-
v.object({ ...baseProp.entries, type: v.literal("files") }),
|
|
137
|
-
v.object({ ...baseProp.entries, type: v.literal("unique_id") }),
|
|
138
|
-
v.object({
|
|
139
|
-
...baseProp.entries,
|
|
140
|
-
type: v.literal("relation"),
|
|
141
|
-
data_source_id: v.optional(v.string()),
|
|
142
|
-
dual_property: v.optional(notionDualPropertySchema),
|
|
143
|
-
}),
|
|
144
|
-
v.object({ ...baseProp.entries, type: v.literal("place") }),
|
|
145
|
-
v.object({ ...baseProp.entries, type: v.literal("formula") }),
|
|
146
|
-
v.object({ ...baseProp.entries, type: v.literal("rollup") }),
|
|
147
|
-
// Internal-only types passed through under their bridge-native names.
|
|
148
|
-
v.object({ ...baseProp.entries, type: v.literal("button") }),
|
|
149
|
-
v.object({ ...baseProp.entries, type: v.literal("verification") }),
|
|
150
|
-
v.object({ ...baseProp.entries, type: v.literal("last_visited_time") }),
|
|
151
|
-
v.object({ ...baseProp.entries, type: v.literal("location") }),
|
|
152
|
-
// Synthetic built-ins. The host always emits one of each per data source.
|
|
153
|
-
v.object({ ...baseProp.entries, type: v.literal("created_time") }),
|
|
154
|
-
v.object({ ...baseProp.entries, type: v.literal("last_edited_time") }),
|
|
155
|
-
v.object({ ...baseProp.entries, type: v.literal("created_by") }),
|
|
156
|
-
v.object({ ...baseProp.entries, type: v.literal("last_edited_by") }),
|
|
157
|
-
]);
|
|
158
|
-
/**
|
|
159
|
-
* The four synthetic built-in property IDs the host always includes in every
|
|
160
|
-
* data source's `propertySchemasById` and every row's `propertiesById`.
|
|
161
|
-
*/
|
|
162
|
-
export const NOTION_BUILTIN_PROPERTY_IDS = [
|
|
163
|
-
"created_time",
|
|
164
|
-
"last_edited_time",
|
|
165
|
-
"created_by",
|
|
166
|
-
"last_edited_by",
|
|
167
|
-
];
|
|
168
|
-
/** Schemas for synthetic metadata values in query snapshots. */
|
|
169
|
-
export const NOTION_BUILTIN_PROPERTY_SCHEMAS = {
|
|
170
|
-
created_time: { type: "created_time", name: "Created time" },
|
|
171
|
-
last_edited_time: { type: "last_edited_time", name: "Last edited time" },
|
|
172
|
-
created_by: { type: "created_by", name: "Created by" },
|
|
173
|
-
last_edited_by: { type: "last_edited_by", name: "Last edited by" },
|
|
174
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
/**
|
|
3
|
-
* A pointer to a record in a database.
|
|
4
|
-
*/
|
|
5
|
-
export declare const notionRecordPointerSchema: v.ObjectSchema<{
|
|
6
|
-
readonly id: v.StringSchema<undefined>;
|
|
7
|
-
readonly table: v.StringSchema<undefined>;
|
|
8
|
-
}, undefined>;
|
|
9
|
-
export type NotionRecordPointer = v.InferOutput<typeof notionRecordPointerSchema>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
export type CustomBlockErrorCode<KnownCode extends string> = KnownCode | "unknown_error" | (string & {});
|
|
3
|
-
export type CustomBlockErrorInfo<TCode extends string = string> = {
|
|
4
|
-
code: TCode;
|
|
5
|
-
message: string;
|
|
6
|
-
isRetryable: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const customBlockErrorInfoSchema: v.ObjectSchema<{
|
|
9
|
-
readonly code: v.StringSchema<undefined>;
|
|
10
|
-
readonly message: v.StringSchema<undefined>;
|
|
11
|
-
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
12
|
-
}, undefined>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
/**
|
|
3
|
-
* Branded Notion block ID. Host payloads and SDK APIs use plain strings at runtime,
|
|
4
|
-
* but the brand keeps block IDs from being accidentally mixed with other IDs in TypeScript.
|
|
5
|
-
*/
|
|
6
|
-
export declare const notionBlockIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
7
|
-
export type NotionBlockId = v.InferOutput<typeof notionBlockIdSchema>;
|
|
8
|
-
/**
|
|
9
|
-
* Branded Notion data source ID. Host payloads and SDK APIs use plain strings at runtime,
|
|
10
|
-
* but the brand keeps data source IDs from being accidentally mixed with other IDs in TypeScript.
|
|
11
|
-
*/
|
|
12
|
-
export declare const notionDataSourceIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
13
|
-
export type NotionDataSourceId = v.InferOutput<typeof notionDataSourceIdSchema>;
|
|
14
|
-
/**
|
|
15
|
-
* Branded Notion page ID. Host payloads and SDK APIs use plain strings at runtime,
|
|
16
|
-
* but the brand keeps page IDs from being accidentally mixed with other IDs in TypeScript.
|
|
17
|
-
*/
|
|
18
|
-
export declare const notionPageIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
19
|
-
export type NotionPageId = v.InferOutput<typeof notionPageIdSchema>;
|
|
20
|
-
/**
|
|
21
|
-
* Branded Notion agent ID. Agent parents identify the workflow that owns an
|
|
22
|
-
* instruction page or one of its blocks.
|
|
23
|
-
*/
|
|
24
|
-
export declare const notionAgentIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
25
|
-
export type NotionAgentId = v.InferOutput<typeof notionAgentIdSchema>;
|
|
26
|
-
/**
|
|
27
|
-
* Branded Notion workspace/space ID. Host payloads and SDK APIs use plain strings at runtime,
|
|
28
|
-
* but the brand keeps space IDs from being accidentally mixed with other IDs in TypeScript.
|
|
29
|
-
*/
|
|
30
|
-
export declare const notionSpaceIdSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>;
|
|
31
|
-
export type NotionSpaceId = v.InferOutput<typeof notionSpaceIdSchema>;
|
package/dist-cli/protocol/ids.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
/**
|
|
3
|
-
* Branded Notion block ID. Host payloads and SDK APIs use plain strings at runtime,
|
|
4
|
-
* but the brand keeps block IDs from being accidentally mixed with other IDs in TypeScript.
|
|
5
|
-
*/
|
|
6
|
-
export const notionBlockIdSchema = v.pipe(v.string(), v.brand("NotionBlockId"));
|
|
7
|
-
/**
|
|
8
|
-
* Branded Notion data source ID. Host payloads and SDK APIs use plain strings at runtime,
|
|
9
|
-
* but the brand keeps data source IDs from being accidentally mixed with other IDs in TypeScript.
|
|
10
|
-
*/
|
|
11
|
-
export const notionDataSourceIdSchema = v.pipe(v.string(), v.brand("NotionDataSourceId"));
|
|
12
|
-
/**
|
|
13
|
-
* Branded Notion page ID. Host payloads and SDK APIs use plain strings at runtime,
|
|
14
|
-
* but the brand keeps page IDs from being accidentally mixed with other IDs in TypeScript.
|
|
15
|
-
*/
|
|
16
|
-
export const notionPageIdSchema = v.pipe(v.string(), v.brand("NotionPageId"));
|
|
17
|
-
/**
|
|
18
|
-
* Branded Notion agent ID. Agent parents identify the workflow that owns an
|
|
19
|
-
* instruction page or one of its blocks.
|
|
20
|
-
*/
|
|
21
|
-
export const notionAgentIdSchema = v.pipe(v.string(), v.brand("NotionAgentId"));
|
|
22
|
-
/**
|
|
23
|
-
* Branded Notion workspace/space ID. Host payloads and SDK APIs use plain strings at runtime,
|
|
24
|
-
* but the brand keeps space IDs from being accidentally mixed with other IDs in TypeScript.
|
|
25
|
-
*/
|
|
26
|
-
export const notionSpaceIdSchema = v.pipe(v.string(), v.brand("NotionSpaceId"));
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared wire contract for custom block sandboxes and hosts.
|
|
3
|
-
*
|
|
4
|
-
* This package contains only protocol data: message schemas, wire types, IDs,
|
|
5
|
-
* errors, manifests, and protocol-version constants. Runtime behavior belongs
|
|
6
|
-
* in either the author SDK or the host package.
|
|
7
|
-
*/
|
|
8
|
-
export * from "./contrast.js";
|
|
9
|
-
export * from "./dataSources/dataSource.js";
|
|
10
|
-
export * from "./dataSources/dataSourcePage.js";
|
|
11
|
-
export * from "./dataSources/dataSourceValue.js";
|
|
12
|
-
export * from "./dataSources/dateValue.js";
|
|
13
|
-
export * from "./dataSources/errors.js";
|
|
14
|
-
export * from "./dataSources/propertySchema.js";
|
|
15
|
-
export * from "./dataSources/recordPointer.js";
|
|
16
|
-
export * from "./dataSources/sortDirection.js";
|
|
17
|
-
export * from "./errors.js";
|
|
18
|
-
export * from "./ids.js";
|
|
19
|
-
export * from "./manifest.js";
|
|
20
|
-
export * from "./messages/connect.js";
|
|
21
|
-
export * from "./messages/contrastModeChanged.js";
|
|
22
|
-
export * from "./messages/createPage.js";
|
|
23
|
-
export * from "./messages/createPageResult.js";
|
|
24
|
-
export * from "./messages/currentUserChanged.js";
|
|
25
|
-
export * from "./messages/dataSourcesChanged.js";
|
|
26
|
-
export * from "./messages/getPage.js";
|
|
27
|
-
export * from "./messages/getUser.js";
|
|
28
|
-
export * from "./messages/hostToSandbox.js";
|
|
29
|
-
export * from "./messages/incomingType.js";
|
|
30
|
-
export * from "./messages/init.js";
|
|
31
|
-
export * from "./messages/initResult.js";
|
|
32
|
-
export * from "./messages/invalidHostMessage.js";
|
|
33
|
-
export * from "./messages/invalidSandboxMessage.js";
|
|
34
|
-
export * from "./messages/isInitHandshakeMessage.js";
|
|
35
|
-
export * from "./messages/listUsers.js";
|
|
36
|
-
export * from "./messages/messagePayload.js";
|
|
37
|
-
export * from "./messages/openExternalUrl.js";
|
|
38
|
-
export * from "./messages/openPage.js";
|
|
39
|
-
export * from "./messages/pageChanged.js";
|
|
40
|
-
export * from "./messages/parentChanged.js";
|
|
41
|
-
export * from "./messages/queryDataSource.js";
|
|
42
|
-
export * from "./messages/queryDataSourceResult.js";
|
|
43
|
-
export * from "./messages/resize.js";
|
|
44
|
-
export * from "./messages/sandboxToHost.js";
|
|
45
|
-
export * from "./messages/themeChanged.js";
|
|
46
|
-
export * from "./messages/unsubscribeDataSourceQuery.js";
|
|
47
|
-
export * from "./messages/updatePage.js";
|
|
48
|
-
export * from "./messages/updatePageResult.js";
|
|
49
|
-
export * from "./pages/page.js";
|
|
50
|
-
export * from "./parent.js";
|
|
51
|
-
export * from "./protocolVersion.js";
|
|
52
|
-
export * from "./theme.js";
|
|
53
|
-
export * from "./users/user.js";
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared wire contract for custom block sandboxes and hosts.
|
|
3
|
-
*
|
|
4
|
-
* This package contains only protocol data: message schemas, wire types, IDs,
|
|
5
|
-
* errors, manifests, and protocol-version constants. Runtime behavior belongs
|
|
6
|
-
* in either the author SDK or the host package.
|
|
7
|
-
*/
|
|
8
|
-
export * from "./contrast.js";
|
|
9
|
-
export * from "./dataSources/dataSource.js";
|
|
10
|
-
export * from "./dataSources/dataSourcePage.js";
|
|
11
|
-
export * from "./dataSources/dataSourceValue.js";
|
|
12
|
-
export * from "./dataSources/dateValue.js";
|
|
13
|
-
export * from "./dataSources/errors.js";
|
|
14
|
-
export * from "./dataSources/propertySchema.js";
|
|
15
|
-
export * from "./dataSources/recordPointer.js";
|
|
16
|
-
export * from "./dataSources/sortDirection.js";
|
|
17
|
-
export * from "./errors.js";
|
|
18
|
-
export * from "./ids.js";
|
|
19
|
-
export * from "./manifest.js";
|
|
20
|
-
export * from "./messages/connect.js";
|
|
21
|
-
export * from "./messages/contrastModeChanged.js";
|
|
22
|
-
export * from "./messages/createPage.js";
|
|
23
|
-
export * from "./messages/createPageResult.js";
|
|
24
|
-
export * from "./messages/currentUserChanged.js";
|
|
25
|
-
export * from "./messages/dataSourcesChanged.js";
|
|
26
|
-
export * from "./messages/getPage.js";
|
|
27
|
-
export * from "./messages/getUser.js";
|
|
28
|
-
export * from "./messages/hostToSandbox.js";
|
|
29
|
-
export * from "./messages/incomingType.js";
|
|
30
|
-
export * from "./messages/init.js";
|
|
31
|
-
export * from "./messages/initResult.js";
|
|
32
|
-
export * from "./messages/invalidHostMessage.js";
|
|
33
|
-
export * from "./messages/invalidSandboxMessage.js";
|
|
34
|
-
export * from "./messages/isInitHandshakeMessage.js";
|
|
35
|
-
export * from "./messages/listUsers.js";
|
|
36
|
-
export * from "./messages/messagePayload.js";
|
|
37
|
-
export * from "./messages/openExternalUrl.js";
|
|
38
|
-
export * from "./messages/openPage.js";
|
|
39
|
-
export * from "./messages/pageChanged.js";
|
|
40
|
-
export * from "./messages/parentChanged.js";
|
|
41
|
-
export * from "./messages/queryDataSource.js";
|
|
42
|
-
export * from "./messages/queryDataSourceResult.js";
|
|
43
|
-
export * from "./messages/resize.js";
|
|
44
|
-
export * from "./messages/sandboxToHost.js";
|
|
45
|
-
export * from "./messages/themeChanged.js";
|
|
46
|
-
export * from "./messages/unsubscribeDataSourceQuery.js";
|
|
47
|
-
export * from "./messages/updatePage.js";
|
|
48
|
-
export * from "./messages/updatePageResult.js";
|
|
49
|
-
export * from "./pages/page.js";
|
|
50
|
-
export * from "./parent.js";
|
|
51
|
-
export * from "./protocolVersion.js";
|
|
52
|
-
export * from "./theme.js";
|
|
53
|
-
export * from "./users/user.js";
|