@notionhq/custom-blocks-host 0.1.3 → 0.1.5
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/dist/lifecycle/initializationController.js +2 -2
- package/dist/protocol/dataSources/dataSource.d.ts +135 -135
- package/dist/protocol/dataSources/propertySchema.d.ts +27 -27
- package/dist/protocol/messages/createPage.d.ts +15 -15
- package/dist/protocol/messages/createPageResult.d.ts +15 -15
- package/dist/protocol/messages/dataSourcesChanged.d.ts +27 -27
- package/dist/protocol/messages/getPage.d.ts +15 -15
- package/dist/protocol/messages/hostToSandbox.d.ts +100 -100
- package/dist/protocol/messages/init.d.ts +28 -28
- package/dist/protocol/messages/init.js +2 -0
- package/dist/protocol/messages/sandboxToHost.d.ts +30 -30
- package/dist/protocol/messages/updatePage.d.ts +15 -15
- package/dist/protocol/messages/updatePageResult.d.ts +15 -15
- package/dist/protocol/pages/page.d.ts +45 -45
- package/dist/queries/querySubscriptions.d.ts.map +1 -1
- package/dist/queries/querySubscriptions.js +1 -3
- package/dist/queries/validateQueryDataSourceSorts.d.ts.map +1 -1
- package/dist/queries/validateQueryDataSourceSorts.js +1 -1
- package/package.json +2 -2
- package/src/queries/validateQueryDataSourceSorts.ts +1 -4
|
@@ -43,34 +43,35 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
|
|
|
43
43
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
44
44
|
}, undefined>], undefined>;
|
|
45
45
|
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
46
|
+
readonly id: v.StringSchema<undefined>;
|
|
46
47
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
47
48
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
48
|
-
readonly id: v.StringSchema<undefined>;
|
|
49
49
|
}, undefined>, v.ObjectSchema<{
|
|
50
|
+
readonly id: v.StringSchema<undefined>;
|
|
50
51
|
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
51
52
|
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
52
|
-
readonly id: v.StringSchema<undefined>;
|
|
53
53
|
}, undefined>, v.ObjectSchema<{
|
|
54
|
+
readonly id: v.StringSchema<undefined>;
|
|
54
55
|
readonly type: v.LiteralSchema<"number", undefined>;
|
|
55
56
|
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
56
|
-
readonly id: v.StringSchema<undefined>;
|
|
57
57
|
}, undefined>, v.ObjectSchema<{
|
|
58
|
+
readonly id: v.StringSchema<undefined>;
|
|
58
59
|
readonly type: v.LiteralSchema<"url", undefined>;
|
|
59
60
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
60
|
-
readonly id: v.StringSchema<undefined>;
|
|
61
61
|
}, undefined>, v.ObjectSchema<{
|
|
62
|
+
readonly id: v.StringSchema<undefined>;
|
|
62
63
|
readonly type: v.LiteralSchema<"email", undefined>;
|
|
63
64
|
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
64
|
-
readonly id: v.StringSchema<undefined>;
|
|
65
65
|
}, undefined>, v.ObjectSchema<{
|
|
66
|
+
readonly id: v.StringSchema<undefined>;
|
|
66
67
|
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
67
68
|
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
-
readonly id: v.StringSchema<undefined>;
|
|
69
69
|
}, undefined>, v.ObjectSchema<{
|
|
70
|
+
readonly id: v.StringSchema<undefined>;
|
|
70
71
|
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
71
72
|
readonly checkbox: v.BooleanSchema<undefined>;
|
|
72
|
-
readonly id: v.StringSchema<undefined>;
|
|
73
73
|
}, undefined>, v.ObjectSchema<{
|
|
74
|
+
readonly id: v.StringSchema<undefined>;
|
|
74
75
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
75
76
|
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
76
77
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -83,8 +84,8 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
|
|
|
83
84
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
84
85
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
85
86
|
}, undefined>], undefined>, undefined>;
|
|
86
|
-
readonly id: v.StringSchema<undefined>;
|
|
87
87
|
}, undefined>, v.ObjectSchema<{
|
|
88
|
+
readonly id: v.StringSchema<undefined>;
|
|
88
89
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
89
90
|
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
90
91
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -97,8 +98,8 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
|
|
|
97
98
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
98
99
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
99
100
|
}, undefined>], undefined>, undefined>;
|
|
100
|
-
readonly id: v.StringSchema<undefined>;
|
|
101
101
|
}, undefined>, v.ObjectSchema<{
|
|
102
|
+
readonly id: v.StringSchema<undefined>;
|
|
102
103
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
103
104
|
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
104
105
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -111,16 +112,16 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
|
|
|
111
112
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
112
113
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
113
114
|
}, undefined>], undefined>, undefined>;
|
|
114
|
-
readonly id: v.StringSchema<undefined>;
|
|
115
115
|
}, undefined>, v.ObjectSchema<{
|
|
116
|
+
readonly id: v.StringSchema<undefined>;
|
|
116
117
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
117
118
|
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
118
119
|
readonly start: v.StringSchema<undefined>;
|
|
119
120
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
120
121
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
121
122
|
}, undefined>, undefined>;
|
|
122
|
-
readonly id: v.StringSchema<undefined>;
|
|
123
123
|
}, undefined>, v.ObjectSchema<{
|
|
124
|
+
readonly id: v.StringSchema<undefined>;
|
|
124
125
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
125
126
|
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
126
127
|
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
@@ -130,15 +131,15 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
|
|
|
130
131
|
readonly id: v.StringSchema<undefined>;
|
|
131
132
|
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
132
133
|
}, undefined>], undefined>, undefined>;
|
|
133
|
-
readonly id: v.StringSchema<undefined>;
|
|
134
134
|
}, undefined>, v.ObjectSchema<{
|
|
135
|
+
readonly id: v.StringSchema<undefined>;
|
|
135
136
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
136
137
|
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
137
138
|
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
138
139
|
readonly id: v.StringSchema<undefined>;
|
|
139
140
|
}, undefined>, undefined>;
|
|
140
|
-
readonly id: v.StringSchema<undefined>;
|
|
141
141
|
}, undefined>, v.ObjectSchema<{
|
|
142
|
+
readonly id: v.StringSchema<undefined>;
|
|
142
143
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
143
144
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
144
145
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
@@ -154,8 +155,8 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
|
|
|
154
155
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
155
156
|
}, undefined>;
|
|
156
157
|
}, undefined>], undefined>, undefined>;
|
|
157
|
-
readonly id: v.StringSchema<undefined>;
|
|
158
158
|
}, undefined>, v.ObjectSchema<{
|
|
159
|
+
readonly id: v.StringSchema<undefined>;
|
|
159
160
|
readonly type: v.LiteralSchema<"place", undefined>;
|
|
160
161
|
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
161
162
|
readonly lat: v.NumberSchema<undefined>;
|
|
@@ -165,7 +166,6 @@ export declare const getPageResultMessageSchema: v.VariantSchema<"status", [v.Ob
|
|
|
165
166
|
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
166
167
|
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
167
168
|
}, undefined>, undefined>;
|
|
168
|
-
readonly id: v.StringSchema<undefined>;
|
|
169
169
|
}, undefined>], undefined>, undefined>;
|
|
170
170
|
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
171
171
|
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|