@plitzi/sdk-shared 0.32.4 → 0.32.6
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/CHANGELOG.md +16 -0
- package/dist/dataSource/getBindingsDetails.mjs +17 -23
- package/dist/dataSource/helpers/getSourceName.d.ts +4 -0
- package/dist/dataSource/helpers/getSourceName.mjs +4 -0
- package/dist/dataSource/helpers/index.d.ts +2 -0
- package/dist/dataSource/helpers/index.mjs +2 -0
- package/dist/dataSource/hooks/useRegisterSource.mjs +20 -18
- package/dist/dataSource/index.d.ts +1 -0
- package/dist/dataSource/index.mjs +5 -4
- package/dist/dataSource/utility/twigTemplate.mjs +3 -2
- package/dist/helpers/index.mjs +7 -5
- package/dist/helpers/twigWrapper/AST.d.ts +116 -0
- package/dist/helpers/twigWrapper/Evaluator/Evaluator.d.ts +7 -0
- package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +220 -0
- package/dist/helpers/twigWrapper/Evaluator/helpers.d.ts +4 -0
- package/dist/helpers/twigWrapper/Evaluator/helpers.mjs +4 -0
- package/dist/helpers/twigWrapper/Evaluator/index.d.ts +2 -0
- package/dist/helpers/twigWrapper/Evaluator/index.mjs +2 -0
- package/dist/helpers/twigWrapper/Lexer/Lexer.d.ts +2 -0
- package/dist/helpers/twigWrapper/Lexer/Lexer.mjs +53 -0
- package/dist/helpers/twigWrapper/Lexer/index.d.ts +3 -0
- package/dist/helpers/twigWrapper/Lexer/index.mjs +3 -0
- package/dist/helpers/twigWrapper/Lexer/types.d.ts +17 -0
- package/dist/helpers/twigWrapper/Lexer/types.mjs +10 -0
- package/dist/helpers/twigWrapper/Parser/Cursor.d.ts +14 -0
- package/dist/helpers/twigWrapper/Parser/Cursor.mjs +63 -0
- package/dist/helpers/twigWrapper/Parser/ExpressionParser.d.ts +3 -0
- package/dist/helpers/twigWrapper/Parser/ExpressionParser.mjs +296 -0
- package/dist/helpers/twigWrapper/Parser/Parser.d.ts +3 -0
- package/dist/helpers/twigWrapper/Parser/Parser.mjs +237 -0
- package/dist/helpers/twigWrapper/Parser/helpers.d.ts +2 -0
- package/dist/helpers/twigWrapper/Parser/helpers.mjs +18 -0
- package/dist/helpers/twigWrapper/Parser/index.d.ts +2 -0
- package/dist/helpers/twigWrapper/Parser/index.mjs +2 -0
- package/dist/helpers/twigWrapper/Parser/types.d.ts +5 -0
- package/dist/helpers/twigWrapper/TemplateCache/TemplateCache.d.ts +17 -0
- package/dist/helpers/twigWrapper/TemplateCache/TemplateCache.mjs +64 -0
- package/dist/helpers/twigWrapper/TemplateCache/index.d.ts +1 -0
- package/dist/helpers/twigWrapper/TemplateCache/index.mjs +2 -0
- package/dist/helpers/twigWrapper/bench.bench.d.ts +1 -0
- package/dist/helpers/twigWrapper/charClass.d.ts +44 -0
- package/dist/helpers/twigWrapper/charClass.mjs +59 -0
- package/dist/helpers/twigWrapper/filters/filters.d.ts +14 -0
- package/dist/helpers/twigWrapper/filters/filters.mjs +372 -0
- package/dist/helpers/twigWrapper/filters/index.d.ts +1 -0
- package/dist/helpers/twigWrapper/filters/index.mjs +2 -0
- package/dist/helpers/twigWrapper/index.d.ts +5 -0
- package/dist/helpers/twigWrapper/index.mjs +4 -0
- package/dist/helpers/twigWrapper/processTwig/helpers.d.ts +7 -0
- package/dist/helpers/twigWrapper/processTwig/helpers.mjs +34 -0
- package/dist/helpers/twigWrapper/processTwig/index.d.ts +1 -0
- package/dist/helpers/twigWrapper/processTwig/index.mjs +2 -0
- package/dist/helpers/twigWrapper/processTwig/processTwig.d.ts +1 -0
- package/dist/helpers/twigWrapper/processTwig/processTwig.mjs +24 -0
- package/dist/helpers/twigWrapper/tokens/hasValidToken.d.ts +1 -0
- package/dist/helpers/twigWrapper/tokens/hasValidToken.mjs +9 -0
- package/dist/helpers/twigWrapper/tokens/tokenPatterns.d.ts +2 -0
- package/dist/helpers/twigWrapper/tokens/tokenPatterns.mjs +4 -0
- package/dist/hooks/useNetwork.mjs +1 -1
- package/dist/index.mjs +37 -34
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs +24 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs +12 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.mjs +24 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSchemaMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.mjs +9 -2
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceUpdatePageMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation.mjs +12 -0
- package/dist/network/graphql/builder/Mutations/index.d.ts +8 -0
- package/dist/network/graphql/builder/Mutations/index.mjs +124 -116
- package/dist/network/graphql/builder/Queries/InitQuery.mjs +2 -0
- package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs +1 -0
- package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/SegmentAddTemplateSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentAddElementSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentCloneElementSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementsSubscription.d.ts +7 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementsSubscription.mjs +27 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorsSubscription.d.ts +8 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorsSubscription.mjs +13 -0
- package/dist/network/graphql/builder/Subscriptions/Space/SpaceAddTemplateSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdatedSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceAddElementSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceCloneElementSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementsSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementsSubscription.mjs +26 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceAddPageSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceHomePageSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceUpdatePageSubscription.mjs +1 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorsSubscription.d.ts +7 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorsSubscription.mjs +12 -0
- package/dist/network/graphql/builder/Subscriptions/index.d.ts +12 -0
- package/dist/network/graphql/builder/Subscriptions/index.mjs +94 -86
- package/dist/network/graphql/sdk/Queries/InitQuery.mjs +2 -0
- package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +1 -0
- package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +1 -0
- package/dist/store/index.d.ts +33 -33
- package/dist/store/tracing/preview.mjs +1 -1
- package/dist/style/styleConstants.mjs +12 -8
- package/dist/types/CommonTypes.d.ts +1 -3
- package/dist/types/EventBridgeTypes.d.ts +1 -1
- package/dist/types/InteractionTypes.d.ts +2 -1
- package/dist/types/McpTypes/index.d.ts +8 -44
- package/dist/types/SchemaTypes.d.ts +6 -8
- package/dist/types/ServerTypes.d.ts +147 -0
- package/dist/types/StyleTypes.d.ts +1 -0
- package/package.json +182 -30
- package/dist/helpers/twigWrapper.d.ts +0 -4
- package/dist/helpers/twigWrapper.mjs +0 -33
- package/dist/types/McpTypes/McpAdapters.d.ts +0 -455
- package/dist/types/McpTypes/McpAdapters.mjs +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-shared",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.6",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -54,6 +54,18 @@
|
|
|
54
54
|
"types": "./dist/dataSource/getBindingsDetails.d.ts",
|
|
55
55
|
"import": "./dist/dataSource/getBindingsDetails.mjs"
|
|
56
56
|
},
|
|
57
|
+
"./dataSource/helpers": {
|
|
58
|
+
"types": "./dist/dataSource/helpers/index.d.ts",
|
|
59
|
+
"import": "./dist/dataSource/helpers/index.mjs"
|
|
60
|
+
},
|
|
61
|
+
"./dataSource/helpers/getSourceName": {
|
|
62
|
+
"types": "./dist/dataSource/helpers/getSourceName.d.ts",
|
|
63
|
+
"import": "./dist/dataSource/helpers/getSourceName.mjs"
|
|
64
|
+
},
|
|
65
|
+
"./dataSource/helpers/index": {
|
|
66
|
+
"types": "./dist/dataSource/helpers/index.d.ts",
|
|
67
|
+
"import": "./dist/dataSource/helpers/index.mjs"
|
|
68
|
+
},
|
|
57
69
|
"./dataSource/hooks": {
|
|
58
70
|
"types": "./dist/dataSource/hooks/index.d.ts",
|
|
59
71
|
"import": "./dist/dataSource/hooks/index.mjs"
|
|
@@ -170,8 +182,120 @@
|
|
|
170
182
|
"import": "./dist/helpers/syntaxHighlight.mjs"
|
|
171
183
|
},
|
|
172
184
|
"./helpers/twigWrapper": {
|
|
173
|
-
"types": "./dist/helpers/twigWrapper.d.ts",
|
|
174
|
-
"import": "./dist/helpers/twigWrapper.mjs"
|
|
185
|
+
"types": "./dist/helpers/twigWrapper/index.d.ts",
|
|
186
|
+
"import": "./dist/helpers/twigWrapper/index.mjs"
|
|
187
|
+
},
|
|
188
|
+
"./helpers/twigWrapper/Evaluator": {
|
|
189
|
+
"types": "./dist/helpers/twigWrapper/Evaluator/index.d.ts",
|
|
190
|
+
"import": "./dist/helpers/twigWrapper/Evaluator/index.mjs"
|
|
191
|
+
},
|
|
192
|
+
"./helpers/twigWrapper/Evaluator/Evaluator": {
|
|
193
|
+
"types": "./dist/helpers/twigWrapper/Evaluator/Evaluator.d.ts",
|
|
194
|
+
"import": "./dist/helpers/twigWrapper/Evaluator/Evaluator.mjs"
|
|
195
|
+
},
|
|
196
|
+
"./helpers/twigWrapper/Evaluator/helpers": {
|
|
197
|
+
"types": "./dist/helpers/twigWrapper/Evaluator/helpers.d.ts",
|
|
198
|
+
"import": "./dist/helpers/twigWrapper/Evaluator/helpers.mjs"
|
|
199
|
+
},
|
|
200
|
+
"./helpers/twigWrapper/Evaluator/index": {
|
|
201
|
+
"types": "./dist/helpers/twigWrapper/Evaluator/index.d.ts",
|
|
202
|
+
"import": "./dist/helpers/twigWrapper/Evaluator/index.mjs"
|
|
203
|
+
},
|
|
204
|
+
"./helpers/twigWrapper/Lexer": {
|
|
205
|
+
"types": "./dist/helpers/twigWrapper/Lexer/index.d.ts",
|
|
206
|
+
"import": "./dist/helpers/twigWrapper/Lexer/index.mjs"
|
|
207
|
+
},
|
|
208
|
+
"./helpers/twigWrapper/Lexer/Lexer": {
|
|
209
|
+
"types": "./dist/helpers/twigWrapper/Lexer/Lexer.d.ts",
|
|
210
|
+
"import": "./dist/helpers/twigWrapper/Lexer/Lexer.mjs"
|
|
211
|
+
},
|
|
212
|
+
"./helpers/twigWrapper/Lexer/index": {
|
|
213
|
+
"types": "./dist/helpers/twigWrapper/Lexer/index.d.ts",
|
|
214
|
+
"import": "./dist/helpers/twigWrapper/Lexer/index.mjs"
|
|
215
|
+
},
|
|
216
|
+
"./helpers/twigWrapper/Lexer/types": {
|
|
217
|
+
"types": "./dist/helpers/twigWrapper/Lexer/types.d.ts",
|
|
218
|
+
"import": "./dist/helpers/twigWrapper/Lexer/types.mjs"
|
|
219
|
+
},
|
|
220
|
+
"./helpers/twigWrapper/Parser": {
|
|
221
|
+
"types": "./dist/helpers/twigWrapper/Parser/index.d.ts",
|
|
222
|
+
"import": "./dist/helpers/twigWrapper/Parser/index.mjs"
|
|
223
|
+
},
|
|
224
|
+
"./helpers/twigWrapper/Parser/Cursor": {
|
|
225
|
+
"types": "./dist/helpers/twigWrapper/Parser/Cursor.d.ts",
|
|
226
|
+
"import": "./dist/helpers/twigWrapper/Parser/Cursor.mjs"
|
|
227
|
+
},
|
|
228
|
+
"./helpers/twigWrapper/Parser/ExpressionParser": {
|
|
229
|
+
"types": "./dist/helpers/twigWrapper/Parser/ExpressionParser.d.ts",
|
|
230
|
+
"import": "./dist/helpers/twigWrapper/Parser/ExpressionParser.mjs"
|
|
231
|
+
},
|
|
232
|
+
"./helpers/twigWrapper/Parser/Parser": {
|
|
233
|
+
"types": "./dist/helpers/twigWrapper/Parser/Parser.d.ts",
|
|
234
|
+
"import": "./dist/helpers/twigWrapper/Parser/Parser.mjs"
|
|
235
|
+
},
|
|
236
|
+
"./helpers/twigWrapper/Parser/helpers": {
|
|
237
|
+
"types": "./dist/helpers/twigWrapper/Parser/helpers.d.ts",
|
|
238
|
+
"import": "./dist/helpers/twigWrapper/Parser/helpers.mjs"
|
|
239
|
+
},
|
|
240
|
+
"./helpers/twigWrapper/Parser/index": {
|
|
241
|
+
"types": "./dist/helpers/twigWrapper/Parser/index.d.ts",
|
|
242
|
+
"import": "./dist/helpers/twigWrapper/Parser/index.mjs"
|
|
243
|
+
},
|
|
244
|
+
"./helpers/twigWrapper/TemplateCache": {
|
|
245
|
+
"types": "./dist/helpers/twigWrapper/TemplateCache/index.d.ts",
|
|
246
|
+
"import": "./dist/helpers/twigWrapper/TemplateCache/index.mjs"
|
|
247
|
+
},
|
|
248
|
+
"./helpers/twigWrapper/TemplateCache/TemplateCache": {
|
|
249
|
+
"types": "./dist/helpers/twigWrapper/TemplateCache/TemplateCache.d.ts",
|
|
250
|
+
"import": "./dist/helpers/twigWrapper/TemplateCache/TemplateCache.mjs"
|
|
251
|
+
},
|
|
252
|
+
"./helpers/twigWrapper/TemplateCache/index": {
|
|
253
|
+
"types": "./dist/helpers/twigWrapper/TemplateCache/index.d.ts",
|
|
254
|
+
"import": "./dist/helpers/twigWrapper/TemplateCache/index.mjs"
|
|
255
|
+
},
|
|
256
|
+
"./helpers/twigWrapper/charClass": {
|
|
257
|
+
"types": "./dist/helpers/twigWrapper/charClass.d.ts",
|
|
258
|
+
"import": "./dist/helpers/twigWrapper/charClass.mjs"
|
|
259
|
+
},
|
|
260
|
+
"./helpers/twigWrapper/filters": {
|
|
261
|
+
"types": "./dist/helpers/twigWrapper/filters/index.d.ts",
|
|
262
|
+
"import": "./dist/helpers/twigWrapper/filters/index.mjs"
|
|
263
|
+
},
|
|
264
|
+
"./helpers/twigWrapper/filters/filters": {
|
|
265
|
+
"types": "./dist/helpers/twigWrapper/filters/filters.d.ts",
|
|
266
|
+
"import": "./dist/helpers/twigWrapper/filters/filters.mjs"
|
|
267
|
+
},
|
|
268
|
+
"./helpers/twigWrapper/filters/index": {
|
|
269
|
+
"types": "./dist/helpers/twigWrapper/filters/index.d.ts",
|
|
270
|
+
"import": "./dist/helpers/twigWrapper/filters/index.mjs"
|
|
271
|
+
},
|
|
272
|
+
"./helpers/twigWrapper/index": {
|
|
273
|
+
"types": "./dist/helpers/twigWrapper/index.d.ts",
|
|
274
|
+
"import": "./dist/helpers/twigWrapper/index.mjs"
|
|
275
|
+
},
|
|
276
|
+
"./helpers/twigWrapper/processTwig": {
|
|
277
|
+
"types": "./dist/helpers/twigWrapper/processTwig/index.d.ts",
|
|
278
|
+
"import": "./dist/helpers/twigWrapper/processTwig/index.mjs"
|
|
279
|
+
},
|
|
280
|
+
"./helpers/twigWrapper/processTwig/helpers": {
|
|
281
|
+
"types": "./dist/helpers/twigWrapper/processTwig/helpers.d.ts",
|
|
282
|
+
"import": "./dist/helpers/twigWrapper/processTwig/helpers.mjs"
|
|
283
|
+
},
|
|
284
|
+
"./helpers/twigWrapper/processTwig/index": {
|
|
285
|
+
"types": "./dist/helpers/twigWrapper/processTwig/index.d.ts",
|
|
286
|
+
"import": "./dist/helpers/twigWrapper/processTwig/index.mjs"
|
|
287
|
+
},
|
|
288
|
+
"./helpers/twigWrapper/processTwig/processTwig": {
|
|
289
|
+
"types": "./dist/helpers/twigWrapper/processTwig/processTwig.d.ts",
|
|
290
|
+
"import": "./dist/helpers/twigWrapper/processTwig/processTwig.mjs"
|
|
291
|
+
},
|
|
292
|
+
"./helpers/twigWrapper/tokens/hasValidToken": {
|
|
293
|
+
"types": "./dist/helpers/twigWrapper/tokens/hasValidToken.d.ts",
|
|
294
|
+
"import": "./dist/helpers/twigWrapper/tokens/hasValidToken.mjs"
|
|
295
|
+
},
|
|
296
|
+
"./helpers/twigWrapper/tokens/tokenPatterns": {
|
|
297
|
+
"types": "./dist/helpers/twigWrapper/tokens/tokenPatterns.d.ts",
|
|
298
|
+
"import": "./dist/helpers/twigWrapper/tokens/tokenPatterns.mjs"
|
|
175
299
|
},
|
|
176
300
|
"./helpers/utils": {
|
|
177
301
|
"types": "./dist/helpers/utils.d.ts",
|
|
@@ -285,6 +409,10 @@
|
|
|
285
409
|
"types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.d.ts",
|
|
286
410
|
"import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs"
|
|
287
411
|
},
|
|
412
|
+
"./network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation": {
|
|
413
|
+
"types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.d.ts",
|
|
414
|
+
"import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs"
|
|
415
|
+
},
|
|
288
416
|
"./network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation": {
|
|
289
417
|
"types": "./dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.d.ts",
|
|
290
418
|
"import": "./dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.mjs"
|
|
@@ -317,6 +445,10 @@
|
|
|
317
445
|
"types": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.d.ts",
|
|
318
446
|
"import": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs"
|
|
319
447
|
},
|
|
448
|
+
"./network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation": {
|
|
449
|
+
"types": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.d.ts",
|
|
450
|
+
"import": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs"
|
|
451
|
+
},
|
|
320
452
|
"./network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation": {
|
|
321
453
|
"types": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.d.ts",
|
|
322
454
|
"import": "./dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs"
|
|
@@ -373,6 +505,10 @@
|
|
|
373
505
|
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.d.ts",
|
|
374
506
|
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs"
|
|
375
507
|
},
|
|
508
|
+
"./network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation": {
|
|
509
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.d.ts",
|
|
510
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.mjs"
|
|
511
|
+
},
|
|
376
512
|
"./network/graphql/builder/Mutations/Space/SpaceUpdateMutation": {
|
|
377
513
|
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.d.ts",
|
|
378
514
|
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.mjs"
|
|
@@ -497,6 +633,10 @@
|
|
|
497
633
|
"types": "./dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorMutation.d.ts",
|
|
498
634
|
"import": "./dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorMutation.mjs"
|
|
499
635
|
},
|
|
636
|
+
"./network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation": {
|
|
637
|
+
"types": "./dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation.d.ts",
|
|
638
|
+
"import": "./dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation.mjs"
|
|
639
|
+
},
|
|
500
640
|
"./network/graphql/builder/Mutations/Style/selectors/StyleUpdateSelectorMutation": {
|
|
501
641
|
"types": "./dist/network/graphql/builder/Mutations/Style/selectors/StyleUpdateSelectorMutation.d.ts",
|
|
502
642
|
"import": "./dist/network/graphql/builder/Mutations/Style/selectors/StyleUpdateSelectorMutation.mjs"
|
|
@@ -613,6 +753,10 @@
|
|
|
613
753
|
"types": "./dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementSubscription.d.ts",
|
|
614
754
|
"import": "./dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementSubscription.mjs"
|
|
615
755
|
},
|
|
756
|
+
"./network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementsSubscription": {
|
|
757
|
+
"types": "./dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementsSubscription.d.ts",
|
|
758
|
+
"import": "./dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementsSubscription.mjs"
|
|
759
|
+
},
|
|
616
760
|
"./network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceAddVariableSubscription": {
|
|
617
761
|
"types": "./dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceAddVariableSubscription.d.ts",
|
|
618
762
|
"import": "./dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceAddVariableSubscription.mjs"
|
|
@@ -645,6 +789,10 @@
|
|
|
645
789
|
"types": "./dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorSubscription.d.ts",
|
|
646
790
|
"import": "./dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorSubscription.mjs"
|
|
647
791
|
},
|
|
792
|
+
"./network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorsSubscription": {
|
|
793
|
+
"types": "./dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorsSubscription.d.ts",
|
|
794
|
+
"import": "./dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorsSubscription.mjs"
|
|
795
|
+
},
|
|
648
796
|
"./network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleUpdateSelectorSubscription": {
|
|
649
797
|
"types": "./dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleUpdateSelectorSubscription.d.ts",
|
|
650
798
|
"import": "./dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleUpdateSelectorSubscription.mjs"
|
|
@@ -693,6 +841,10 @@
|
|
|
693
841
|
"types": "./dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementSubscription.d.ts",
|
|
694
842
|
"import": "./dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementSubscription.mjs"
|
|
695
843
|
},
|
|
844
|
+
"./network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementsSubscription": {
|
|
845
|
+
"types": "./dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementsSubscription.d.ts",
|
|
846
|
+
"import": "./dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementsSubscription.mjs"
|
|
847
|
+
},
|
|
696
848
|
"./network/graphql/builder/Subscriptions/Space/folders/SpaceAddPageFolderSubscription": {
|
|
697
849
|
"types": "./dist/network/graphql/builder/Subscriptions/Space/folders/SpaceAddPageFolderSubscription.d.ts",
|
|
698
850
|
"import": "./dist/network/graphql/builder/Subscriptions/Space/folders/SpaceAddPageFolderSubscription.mjs"
|
|
@@ -749,6 +901,10 @@
|
|
|
749
901
|
"types": "./dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorSubscription.d.ts",
|
|
750
902
|
"import": "./dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorSubscription.mjs"
|
|
751
903
|
},
|
|
904
|
+
"./network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorsSubscription": {
|
|
905
|
+
"types": "./dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorsSubscription.d.ts",
|
|
906
|
+
"import": "./dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorsSubscription.mjs"
|
|
907
|
+
},
|
|
752
908
|
"./network/graphql/builder/Subscriptions/Style/selector/StyleUpdateSelectorSubscription": {
|
|
753
909
|
"types": "./dist/network/graphql/builder/Subscriptions/Style/selector/StyleUpdateSelectorSubscription.d.ts",
|
|
754
910
|
"import": "./dist/network/graphql/builder/Subscriptions/Style/selector/StyleUpdateSelectorSubscription.mjs"
|
|
@@ -1010,9 +1166,6 @@
|
|
|
1010
1166
|
"./types/InteractionTypes": {
|
|
1011
1167
|
"types": "./dist/types/InteractionTypes.d.ts"
|
|
1012
1168
|
},
|
|
1013
|
-
"./types/McpTypes/McpAdapters": {
|
|
1014
|
-
"types": "./dist/types/McpTypes/McpAdapters.d.ts"
|
|
1015
|
-
},
|
|
1016
1169
|
"./types/McpTypes/index": {
|
|
1017
1170
|
"types": "./dist/types/McpTypes/index.d.ts"
|
|
1018
1171
|
},
|
|
@@ -1072,6 +1225,7 @@
|
|
|
1072
1225
|
"scripts": {
|
|
1073
1226
|
"lint": "eslint ./src",
|
|
1074
1227
|
"test": "vitest run",
|
|
1228
|
+
"bench": "vitest bench",
|
|
1075
1229
|
"typecheck": "tsc -p tsconfig.app.json --noEmit",
|
|
1076
1230
|
"build:dev": "vite build --mode development --minify false && node ./scripts/generate-exports.mjs",
|
|
1077
1231
|
"build:dev-watch": "vite build --mode development --watch --minify false",
|
|
@@ -1079,13 +1233,12 @@
|
|
|
1079
1233
|
},
|
|
1080
1234
|
"dependencies": {
|
|
1081
1235
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
1082
|
-
"@plitzi/nexus": "0.32.
|
|
1083
|
-
"@plitzi/plitzi-ui": "^1.6.
|
|
1236
|
+
"@plitzi/nexus": "0.32.6",
|
|
1237
|
+
"@plitzi/plitzi-ui": "^1.6.17",
|
|
1084
1238
|
"date-fns": "^4.4.0",
|
|
1085
1239
|
"date-fns-tz": "^3.2.0",
|
|
1086
1240
|
"graphql-tag": "^2.12.7",
|
|
1087
|
-
"immer": "^11.1.
|
|
1088
|
-
"twig": "^3.0.0",
|
|
1241
|
+
"immer": "^11.1.15",
|
|
1089
1242
|
"zod": "^4.4.3"
|
|
1090
1243
|
},
|
|
1091
1244
|
"peerDependencies": {
|
|
@@ -1093,7 +1246,7 @@
|
|
|
1093
1246
|
"react-dom": "^19"
|
|
1094
1247
|
},
|
|
1095
1248
|
"devDependencies": {
|
|
1096
|
-
"@babel/cli": "^8.0.
|
|
1249
|
+
"@babel/cli": "^8.0.4",
|
|
1097
1250
|
"@babel/core": "^8.0.1",
|
|
1098
1251
|
"@babel/eslint-parser": "^8.0.1",
|
|
1099
1252
|
"@babel/plugin-syntax-flow": "^8.0.1",
|
|
@@ -1107,39 +1260,38 @@
|
|
|
1107
1260
|
"@testing-library/user-event": "^14.6.1",
|
|
1108
1261
|
"@types/react": "^19.2.17",
|
|
1109
1262
|
"@types/react-dom": "^19.2.3",
|
|
1110
|
-
"@
|
|
1111
|
-
"@
|
|
1112
|
-
"@vitest/coverage-v8": "^4.1.9",
|
|
1263
|
+
"@vitejs/plugin-react": "^6.0.4",
|
|
1264
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
1113
1265
|
"babel-minify": "^0.5.2",
|
|
1114
|
-
"eslint": "^9.39.
|
|
1266
|
+
"eslint": "^9.39.5",
|
|
1115
1267
|
"eslint-config-airbnb": "^19.0.4",
|
|
1116
1268
|
"eslint-config-prettier": "^10.1.8",
|
|
1117
|
-
"eslint-config-turbo": "^2.
|
|
1269
|
+
"eslint-config-turbo": "^2.10.6",
|
|
1118
1270
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
1119
|
-
"eslint-plugin-cypress": "^6.4.
|
|
1271
|
+
"eslint-plugin-cypress": "^6.4.3",
|
|
1120
1272
|
"eslint-plugin-flowtype": "8.0.3",
|
|
1121
1273
|
"eslint-plugin-import": "^2.32.0",
|
|
1122
|
-
"eslint-plugin-jsdoc": "^63.0
|
|
1274
|
+
"eslint-plugin-jsdoc": "^63.2.0",
|
|
1123
1275
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
1124
1276
|
"eslint-plugin-prettier": "^5.5.6",
|
|
1125
1277
|
"eslint-plugin-react": "^7.37.5",
|
|
1126
1278
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
1127
1279
|
"eslint-plugin-react-refresh": "^0.5.3",
|
|
1128
|
-
"eslint-plugin-storybook": "^10.
|
|
1129
|
-
"globals": "^17.
|
|
1280
|
+
"eslint-plugin-storybook": "^10.5.3",
|
|
1281
|
+
"globals": "^17.7.0",
|
|
1130
1282
|
"jsdom": "^29.1.1",
|
|
1131
|
-
"postcss": "^8.5.
|
|
1132
|
-
"prettier": "^3.
|
|
1133
|
-
"react": "^19.2.
|
|
1134
|
-
"react-dom": "^19.2.
|
|
1135
|
-
"tailwindcss": "^4.3.
|
|
1136
|
-
"terser": "^5.
|
|
1283
|
+
"postcss": "^8.5.22",
|
|
1284
|
+
"prettier": "^3.9.6",
|
|
1285
|
+
"react": "^19.2.8",
|
|
1286
|
+
"react-dom": "^19.2.8",
|
|
1287
|
+
"tailwindcss": "^4.3.3",
|
|
1288
|
+
"terser": "^5.49.0",
|
|
1137
1289
|
"typescript": "^6.0.3",
|
|
1138
|
-
"typescript-eslint": "^8.
|
|
1139
|
-
"vite": "^8.
|
|
1140
|
-
"vite-plugin-dts": "^5.0.
|
|
1290
|
+
"typescript-eslint": "^8.65.0",
|
|
1291
|
+
"vite": "^8.1.5",
|
|
1292
|
+
"vite-plugin-dts": "^5.0.3",
|
|
1141
1293
|
"vite-plugin-react": "^4.0.1",
|
|
1142
|
-
"vitest": "^4.1.
|
|
1294
|
+
"vitest": "^4.1.10",
|
|
1143
1295
|
"vitest-fetch-mock": "^0.4.5"
|
|
1144
1296
|
}
|
|
1145
1297
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import e from "twig";
|
|
2
|
-
//#region src/helpers/twigWrapper.ts
|
|
3
|
-
e.extendFilter("object_as_json", (e) => typeof e == "object" ? JSON.stringify(e) : e);
|
|
4
|
-
var t = "{{\\s*(?<token>[a-zA-Z_][a-zA-Z0-9_]*(?:\\??\\.[a-zA-Z_][a-zA-Z0-9_]*)*)[^}]*}}", n = new RegExp(t, "g"), r = RegExp(`^${t}$`), i = (e, t = !1) => {
|
|
5
|
-
if (typeof e != "string") return !1;
|
|
6
|
-
let i = t ? r : n;
|
|
7
|
-
return i.lastIndex = 0, i.test(e.trim());
|
|
8
|
-
}, a = (t, r = {}, a = !1, o = !1) => {
|
|
9
|
-
if (typeof t != "string" || !i(t)) return t;
|
|
10
|
-
try {
|
|
11
|
-
n.lastIndex = 0;
|
|
12
|
-
let i = t;
|
|
13
|
-
a && [...i.matchAll(n)].forEach((e) => {
|
|
14
|
-
e.groups && (i = i.replace(e[0], `{{ ${e.groups.token} | default('${e[0]}') }}`));
|
|
15
|
-
}), o && [...i.matchAll(n)].forEach((e) => {
|
|
16
|
-
e.groups && (i = i.replace(e[0], `{{ ${e.groups.token} | object_as_json }}`));
|
|
17
|
-
}), "variables" in r && (r = {
|
|
18
|
-
...r,
|
|
19
|
-
...r.variables
|
|
20
|
-
});
|
|
21
|
-
let s = e.twig({ data: i }).render(r);
|
|
22
|
-
if (!o) return s;
|
|
23
|
-
try {
|
|
24
|
-
return JSON.parse(s) || s;
|
|
25
|
-
} catch {
|
|
26
|
-
return s;
|
|
27
|
-
}
|
|
28
|
-
} catch {
|
|
29
|
-
return t;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
|
-
export { i as hasValidToken, a as processTwig };
|