@plitzi/sdk-shared 0.33.2 → 0.34.1
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 +64 -0
- package/dist/actions/cron.d.ts +34 -0
- package/dist/actions/cron.mjs +72 -0
- package/dist/actions/index.d.ts +6 -0
- package/dist/actions/index.mjs +5 -0
- package/dist/actions/triggerParams.d.ts +41 -0
- package/dist/actions/triggerParams.mjs +40 -0
- package/dist/actions/triggers.d.ts +29 -0
- package/dist/actions/triggers.mjs +4 -0
- package/dist/actions/validateDocument.d.ts +23 -0
- package/dist/actions/validateDocument.mjs +267 -0
- package/dist/auth/failureChannel.d.ts +9 -4
- package/dist/auth/failureChannel.mjs +3 -2
- package/dist/authoring/builder.d.ts +51 -0
- package/dist/authoring/builder.mjs +29 -0
- package/dist/authoring/declare.d.ts +64 -0
- package/dist/authoring/declare.mjs +4 -0
- package/dist/authoring/elementCallbacks.d.ts +13 -0
- package/dist/authoring/elementCallbacks.mjs +71 -0
- package/dist/authoring/index.d.ts +21 -0
- package/dist/authoring/index.mjs +6 -0
- package/dist/authoring/paramSpec.d.ts +51 -0
- package/dist/authoring/paramSpec.mjs +40 -0
- package/dist/authoring/spaceCallbacks.d.ts +10 -0
- package/dist/authoring/spaceCallbacks.mjs +51 -0
- package/dist/builder/contexts/BuilderContext.d.ts +2 -4
- package/dist/dataSource/getBindingsDetails.mjs +1 -1
- package/dist/dataSource/helpers/getSourceName.d.ts +1 -3
- package/dist/dataSource/helpers/getSourceName.mjs +1 -1
- package/dist/dataSource/index.d.ts +2 -0
- package/dist/dataSource/index.mjs +6 -5
- package/dist/dataSource/resolveVariables.d.ts +22 -0
- package/dist/dataSource/resolveVariables.mjs +16 -0
- package/dist/dataSource/utility/index.mjs +15 -13
- package/dist/dataSource/utility/not.d.ts +11 -0
- package/dist/dataSource/utility/not.mjs +15 -0
- package/dist/devTools/debugCookie.d.ts +16 -0
- package/dist/devTools/debugCookie.mjs +7 -0
- package/dist/devTools/index.d.ts +6 -2
- package/dist/devTools/index.mjs +4 -2
- package/dist/devTools/interactionLog.d.ts +14 -0
- package/dist/devTools/interactionLog.mjs +4 -0
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.mjs +11 -9
- package/dist/helpers/reducerOrigin.d.ts +15 -0
- package/dist/helpers/reducerOrigin.mjs +4 -0
- package/dist/helpers/ruleEvaluator.d.ts +14 -0
- package/dist/helpers/ruleEvaluator.mjs +5 -0
- package/dist/helpers/twigWrapper/AST.d.ts +12 -1
- package/dist/helpers/twigWrapper/AST.mjs +0 -0
- package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +7 -0
- package/dist/helpers/twigWrapper/Parser/Cursor.d.ts +7 -0
- package/dist/helpers/twigWrapper/Parser/Cursor.mjs +5 -0
- package/dist/helpers/twigWrapper/Parser/ExpressionParser.mjs +46 -8
- package/dist/helpers/twigWrapper/Parser/types.mjs +0 -0
- package/dist/helpers/twigWrapper/charClass.d.ts +7 -0
- package/dist/helpers/twigWrapper/charClass.mjs +16 -12
- package/dist/helpers/twigWrapper/tokens/tokenPatterns.mjs +2 -2
- package/dist/helpers/utils.d.ts +0 -2
- package/dist/helpers/utils.mjs +16 -19
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.mjs +4 -3
- package/dist/hooks/useFontHead.d.ts +3 -0
- package/dist/hooks/useFontHead.mjs +23 -0
- package/dist/hooks/usePlitziServiceContext.d.ts +3 -2
- package/dist/index.mjs +61 -45
- package/dist/navigation/index.d.ts +1 -1
- package/dist/navigation/index.mjs +2 -2
- package/dist/navigation/routes.d.ts +8 -0
- package/dist/navigation/routes.mjs +39 -39
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.d.ts +3 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.d.ts +5 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSchemaMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.d.ts +8 -0
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.mjs +16 -0
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.mjs +16 -0
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.mjs +14 -0
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.mjs +16 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.mjs +2 -3
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceUpdatePageMutation.mjs +0 -1
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/index.d.ts +24 -0
- package/dist/network/graphql/builder/Mutations/index.mjs +150 -132
- package/dist/network/graphql/builder/Queries/InitQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs +0 -1
- package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs +0 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.mjs +30 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.d.ts +6 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.mjs +16 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.mjs +25 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.d.ts +6 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.mjs +17 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.d.ts +30 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.mjs +40 -0
- package/dist/network/graphql/builder/Queries/index.d.ts +16 -0
- package/dist/network/graphql/builder/Queries/index.mjs +24 -14
- package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +4 -0
- package/dist/network/graphql/sdk/Queries/InitQuery.mjs +5 -2
- package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +0 -1
- package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +0 -1
- package/dist/network/spaceEvents.d.ts +20 -1
- package/dist/network/spaceEvents.mjs +89 -74
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.mjs +2 -1
- package/dist/schema/serverElements.d.ts +16 -0
- package/dist/schema/serverElements.mjs +18 -0
- package/dist/server/actions/useActionsSync.d.ts +10 -0
- package/dist/server/actions/useActionsSync.mjs +7 -0
- package/dist/server/index.d.ts +2 -1
- package/dist/server/index.mjs +5 -4
- package/dist/server/rsc/refreshRsc.d.ts +11 -1
- package/dist/server/rsc/refreshRsc.mjs +30 -12
- package/dist/server/rsc/useRscSync.mjs +20 -13
- package/dist/state/runtimeStatePersist.mjs +4 -3
- package/dist/store/actionRuns/actionRunsRecorder.d.ts +36 -0
- package/dist/store/actionRuns/actionRunsRecorder.mjs +39 -0
- package/dist/store/actionRuns/actionRunsStore.d.ts +16 -0
- package/dist/store/actionRuns/actionRunsStore.mjs +5 -0
- package/dist/store/actionRuns/index.d.ts +6 -0
- package/dist/store/actionRuns/index.mjs +4 -0
- package/dist/store/actionRuns/useActionRuns.d.ts +13 -0
- package/dist/store/actionRuns/useActionRuns.mjs +10 -0
- package/dist/store/index.d.ts +46 -45
- package/dist/store/index.mjs +6 -3
- package/dist/store/renderSettings.d.ts +3 -0
- package/dist/store/renderSettings.mjs +17 -5
- package/dist/store/tracing/tracingCollector.d.ts +1 -1
- package/dist/store/tracing/tracingCollector.mjs +37 -35
- package/dist/store/tracing/tracingStore.d.ts +13 -0
- package/dist/store/tracing/tracingStore.mjs +3 -3
- package/dist/style/fontAssets.d.ts +12 -0
- package/dist/style/fontAssets.mjs +18 -0
- package/dist/style/fontValidation.d.ts +8 -0
- package/dist/style/fontValidation.mjs +107 -0
- package/dist/style/fonts.d.ts +74 -0
- package/dist/style/fonts.mjs +198 -0
- package/dist/style/fontsFromCss.d.ts +27 -0
- package/dist/style/fontsFromCss.mjs +43 -0
- package/dist/style/index.d.ts +4 -0
- package/dist/style/index.mjs +5 -1
- package/dist/style/styleConstants.d.ts +2 -2
- package/dist/style/styleConstants.mjs +1 -0
- package/dist/theme/ThemeProvider.d.ts +36 -6
- package/dist/theme/ThemeProvider.mjs +49 -35
- package/dist/theme/ThemeScope.d.ts +16 -0
- package/dist/theme/ThemeScope.mjs +6 -0
- package/dist/theme/index.d.ts +7 -1
- package/dist/theme/index.mjs +6 -2
- package/dist/theme/themeCookie.d.ts +30 -0
- package/dist/theme/themeCookie.mjs +24 -0
- package/dist/theme/themeStore.d.ts +40 -0
- package/dist/theme/themeStore.mjs +17 -0
- package/dist/theme/useTheme.d.ts +29 -0
- package/dist/theme/useTheme.mjs +20 -0
- package/dist/types/ActionTypes.d.ts +396 -0
- package/dist/types/ActionTypes.mjs +0 -0
- package/dist/types/AuthTypes.d.ts +23 -2
- package/dist/types/BuilderTypes.d.ts +0 -12
- package/dist/types/CommonTypes.d.ts +13 -0
- package/dist/types/DevToolsTypes.d.ts +57 -14
- package/dist/types/EventBridgeTypes.d.ts +1 -1
- package/dist/types/InteractionTypes.d.ts +23 -3
- package/dist/types/PluginTypes.d.ts +0 -3
- package/dist/types/SchemaTypes.d.ts +29 -4
- package/dist/types/ServerTypes.d.ts +390 -46
- package/dist/types/SpaceTypes.d.ts +16 -0
- package/dist/types/StoreTypes.d.ts +181 -3
- package/dist/types/StyleTypes.d.ts +83 -4
- package/dist/types/TemplateTypes.d.ts +20 -0
- package/dist/types/TemplateTypes.mjs +0 -0
- package/dist/types/ThemeTypes.d.ts +28 -1
- package/dist/types/index.d.ts +2 -0
- package/eslint.config.mjs +2 -0
- package/package.json +244 -29
- package/vite.config.ts +27 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.1",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -14,6 +14,30 @@
|
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"import": "./dist/index.mjs"
|
|
16
16
|
},
|
|
17
|
+
"./actions": {
|
|
18
|
+
"types": "./dist/actions/index.d.ts",
|
|
19
|
+
"import": "./dist/actions/index.mjs"
|
|
20
|
+
},
|
|
21
|
+
"./actions/cron": {
|
|
22
|
+
"types": "./dist/actions/cron.d.ts",
|
|
23
|
+
"import": "./dist/actions/cron.mjs"
|
|
24
|
+
},
|
|
25
|
+
"./actions/index": {
|
|
26
|
+
"types": "./dist/actions/index.d.ts",
|
|
27
|
+
"import": "./dist/actions/index.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./actions/triggerParams": {
|
|
30
|
+
"types": "./dist/actions/triggerParams.d.ts",
|
|
31
|
+
"import": "./dist/actions/triggerParams.mjs"
|
|
32
|
+
},
|
|
33
|
+
"./actions/triggers": {
|
|
34
|
+
"types": "./dist/actions/triggers.d.ts",
|
|
35
|
+
"import": "./dist/actions/triggers.mjs"
|
|
36
|
+
},
|
|
37
|
+
"./actions/validateDocument": {
|
|
38
|
+
"types": "./dist/actions/validateDocument.d.ts",
|
|
39
|
+
"import": "./dist/actions/validateDocument.mjs"
|
|
40
|
+
},
|
|
17
41
|
"./auth": {
|
|
18
42
|
"types": "./dist/auth/index.d.ts",
|
|
19
43
|
"import": "./dist/auth/index.mjs"
|
|
@@ -30,6 +54,34 @@
|
|
|
30
54
|
"types": "./dist/auth/index.d.ts",
|
|
31
55
|
"import": "./dist/auth/index.mjs"
|
|
32
56
|
},
|
|
57
|
+
"./authoring": {
|
|
58
|
+
"types": "./dist/authoring/index.d.ts",
|
|
59
|
+
"import": "./dist/authoring/index.mjs"
|
|
60
|
+
},
|
|
61
|
+
"./authoring/builder": {
|
|
62
|
+
"types": "./dist/authoring/builder.d.ts",
|
|
63
|
+
"import": "./dist/authoring/builder.mjs"
|
|
64
|
+
},
|
|
65
|
+
"./authoring/declare": {
|
|
66
|
+
"types": "./dist/authoring/declare.d.ts",
|
|
67
|
+
"import": "./dist/authoring/declare.mjs"
|
|
68
|
+
},
|
|
69
|
+
"./authoring/elementCallbacks": {
|
|
70
|
+
"types": "./dist/authoring/elementCallbacks.d.ts",
|
|
71
|
+
"import": "./dist/authoring/elementCallbacks.mjs"
|
|
72
|
+
},
|
|
73
|
+
"./authoring/index": {
|
|
74
|
+
"types": "./dist/authoring/index.d.ts",
|
|
75
|
+
"import": "./dist/authoring/index.mjs"
|
|
76
|
+
},
|
|
77
|
+
"./authoring/paramSpec": {
|
|
78
|
+
"types": "./dist/authoring/paramSpec.d.ts",
|
|
79
|
+
"import": "./dist/authoring/paramSpec.mjs"
|
|
80
|
+
},
|
|
81
|
+
"./authoring/spaceCallbacks": {
|
|
82
|
+
"types": "./dist/authoring/spaceCallbacks.d.ts",
|
|
83
|
+
"import": "./dist/authoring/spaceCallbacks.mjs"
|
|
84
|
+
},
|
|
33
85
|
"./builder": {
|
|
34
86
|
"types": "./dist/builder/index.d.ts",
|
|
35
87
|
"import": "./dist/builder/index.mjs"
|
|
@@ -110,6 +162,10 @@
|
|
|
110
162
|
"types": "./dist/dataSource/index.d.ts",
|
|
111
163
|
"import": "./dist/dataSource/index.mjs"
|
|
112
164
|
},
|
|
165
|
+
"./dataSource/resolveVariables": {
|
|
166
|
+
"types": "./dist/dataSource/resolveVariables.d.ts",
|
|
167
|
+
"import": "./dist/dataSource/resolveVariables.mjs"
|
|
168
|
+
},
|
|
113
169
|
"./dataSource/utility": {
|
|
114
170
|
"types": "./dist/dataSource/utility/index.d.ts",
|
|
115
171
|
"import": "./dist/dataSource/utility/index.mjs"
|
|
@@ -130,6 +186,10 @@
|
|
|
130
186
|
"types": "./dist/dataSource/utility/index.d.ts",
|
|
131
187
|
"import": "./dist/dataSource/utility/index.mjs"
|
|
132
188
|
},
|
|
189
|
+
"./dataSource/utility/not": {
|
|
190
|
+
"types": "./dist/dataSource/utility/not.d.ts",
|
|
191
|
+
"import": "./dist/dataSource/utility/not.mjs"
|
|
192
|
+
},
|
|
133
193
|
"./dataSource/utility/staticValue": {
|
|
134
194
|
"types": "./dist/dataSource/utility/staticValue.d.ts",
|
|
135
195
|
"import": "./dist/dataSource/utility/staticValue.mjs"
|
|
@@ -158,10 +218,18 @@
|
|
|
158
218
|
"types": "./dist/devTools/DevToolsContext.d.ts",
|
|
159
219
|
"import": "./dist/devTools/DevToolsContext.mjs"
|
|
160
220
|
},
|
|
221
|
+
"./devTools/debugCookie": {
|
|
222
|
+
"types": "./dist/devTools/debugCookie.d.ts",
|
|
223
|
+
"import": "./dist/devTools/debugCookie.mjs"
|
|
224
|
+
},
|
|
161
225
|
"./devTools/index": {
|
|
162
226
|
"types": "./dist/devTools/index.d.ts",
|
|
163
227
|
"import": "./dist/devTools/index.mjs"
|
|
164
228
|
},
|
|
229
|
+
"./devTools/interactionLog": {
|
|
230
|
+
"types": "./dist/devTools/interactionLog.d.ts",
|
|
231
|
+
"import": "./dist/devTools/interactionLog.mjs"
|
|
232
|
+
},
|
|
165
233
|
"./devTools/utils/PlitziConsole": {
|
|
166
234
|
"types": "./dist/devTools/utils/PlitziConsole.d.ts",
|
|
167
235
|
"import": "./dist/devTools/utils/PlitziConsole.mjs"
|
|
@@ -198,11 +266,20 @@
|
|
|
198
266
|
"types": "./dist/helpers/index.d.ts",
|
|
199
267
|
"import": "./dist/helpers/index.mjs"
|
|
200
268
|
},
|
|
269
|
+
"./helpers/reducerOrigin": {
|
|
270
|
+
"types": "./dist/helpers/reducerOrigin.d.ts",
|
|
271
|
+
"import": "./dist/helpers/reducerOrigin.mjs"
|
|
272
|
+
},
|
|
273
|
+
"./helpers/ruleEvaluator": {
|
|
274
|
+
"types": "./dist/helpers/ruleEvaluator.d.ts",
|
|
275
|
+
"import": "./dist/helpers/ruleEvaluator.mjs"
|
|
276
|
+
},
|
|
201
277
|
"./helpers/security": {
|
|
202
278
|
"types": "./dist/helpers/security.d.ts",
|
|
203
279
|
"import": "./dist/helpers/security.mjs"
|
|
204
280
|
},
|
|
205
281
|
"./helpers/stripTypename": {
|
|
282
|
+
"types": "./dist/helpers/stripTypename.d.ts",
|
|
206
283
|
"import": "./dist/helpers/stripTypename.mjs"
|
|
207
284
|
},
|
|
208
285
|
"./helpers/syntaxHighlight": {
|
|
@@ -213,6 +290,9 @@
|
|
|
213
290
|
"types": "./dist/helpers/twigWrapper/index.d.ts",
|
|
214
291
|
"import": "./dist/helpers/twigWrapper/index.mjs"
|
|
215
292
|
},
|
|
293
|
+
"./helpers/twigWrapper/AST": {
|
|
294
|
+
"types": "./dist/helpers/twigWrapper/AST.d.ts"
|
|
295
|
+
},
|
|
216
296
|
"./helpers/twigWrapper/Evaluator": {
|
|
217
297
|
"types": "./dist/helpers/twigWrapper/Evaluator/index.d.ts",
|
|
218
298
|
"import": "./dist/helpers/twigWrapper/Evaluator/index.mjs"
|
|
@@ -269,6 +349,9 @@
|
|
|
269
349
|
"types": "./dist/helpers/twigWrapper/Parser/index.d.ts",
|
|
270
350
|
"import": "./dist/helpers/twigWrapper/Parser/index.mjs"
|
|
271
351
|
},
|
|
352
|
+
"./helpers/twigWrapper/Parser/types": {
|
|
353
|
+
"types": "./dist/helpers/twigWrapper/Parser/types.d.ts"
|
|
354
|
+
},
|
|
272
355
|
"./helpers/twigWrapper/TemplateCache": {
|
|
273
356
|
"types": "./dist/helpers/twigWrapper/TemplateCache/index.d.ts",
|
|
274
357
|
"import": "./dist/helpers/twigWrapper/TemplateCache/index.mjs"
|
|
@@ -337,6 +420,10 @@
|
|
|
337
420
|
"types": "./dist/hooks/index.d.ts",
|
|
338
421
|
"import": "./dist/hooks/index.mjs"
|
|
339
422
|
},
|
|
423
|
+
"./hooks/useFontHead": {
|
|
424
|
+
"types": "./dist/hooks/useFontHead.d.ts",
|
|
425
|
+
"import": "./dist/hooks/useFontHead.mjs"
|
|
426
|
+
},
|
|
340
427
|
"./hooks/useNetwork": {
|
|
341
428
|
"types": "./dist/hooks/useNetwork.d.ts",
|
|
342
429
|
"import": "./dist/hooks/useNetwork.mjs"
|
|
@@ -425,6 +512,10 @@
|
|
|
425
512
|
"types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.d.ts",
|
|
426
513
|
"import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs"
|
|
427
514
|
},
|
|
515
|
+
"./network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation": {
|
|
516
|
+
"types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.d.ts",
|
|
517
|
+
"import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.mjs"
|
|
518
|
+
},
|
|
428
519
|
"./network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation": {
|
|
429
520
|
"types": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.d.ts",
|
|
430
521
|
"import": "./dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs"
|
|
@@ -521,6 +612,10 @@
|
|
|
521
612
|
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceRemovePluginMutation.d.ts",
|
|
522
613
|
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceRemovePluginMutation.mjs"
|
|
523
614
|
},
|
|
615
|
+
"./network/graphql/builder/Mutations/Space/SpaceRenameElementMutation": {
|
|
616
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.d.ts",
|
|
617
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.mjs"
|
|
618
|
+
},
|
|
524
619
|
"./network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation": {
|
|
525
620
|
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.d.ts",
|
|
526
621
|
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs"
|
|
@@ -545,6 +640,22 @@
|
|
|
545
640
|
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.d.ts",
|
|
546
641
|
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.mjs"
|
|
547
642
|
},
|
|
643
|
+
"./network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation": {
|
|
644
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.d.ts",
|
|
645
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.mjs"
|
|
646
|
+
},
|
|
647
|
+
"./network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation": {
|
|
648
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.d.ts",
|
|
649
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.mjs"
|
|
650
|
+
},
|
|
651
|
+
"./network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation": {
|
|
652
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.d.ts",
|
|
653
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.mjs"
|
|
654
|
+
},
|
|
655
|
+
"./network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation": {
|
|
656
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.d.ts",
|
|
657
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.mjs"
|
|
658
|
+
},
|
|
548
659
|
"./network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnMutation": {
|
|
549
660
|
"types": "./dist/network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnMutation.d.ts",
|
|
550
661
|
"import": "./dist/network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnMutation.mjs"
|
|
@@ -645,6 +756,18 @@
|
|
|
645
756
|
"types": "./dist/network/graphql/builder/Mutations/Style/StyleUpdateSettingsMutation.d.ts",
|
|
646
757
|
"import": "./dist/network/graphql/builder/Mutations/Style/StyleUpdateSettingsMutation.mjs"
|
|
647
758
|
},
|
|
759
|
+
"./network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation": {
|
|
760
|
+
"types": "./dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.d.ts",
|
|
761
|
+
"import": "./dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.mjs"
|
|
762
|
+
},
|
|
763
|
+
"./network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation": {
|
|
764
|
+
"types": "./dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.d.ts",
|
|
765
|
+
"import": "./dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.mjs"
|
|
766
|
+
},
|
|
767
|
+
"./network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation": {
|
|
768
|
+
"types": "./dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.d.ts",
|
|
769
|
+
"import": "./dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.mjs"
|
|
770
|
+
},
|
|
648
771
|
"./network/graphql/builder/Mutations/Style/selectorVariables/StyleAddSelectorVariableMutation": {
|
|
649
772
|
"types": "./dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleAddSelectorVariableMutation.d.ts",
|
|
650
773
|
"import": "./dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleAddSelectorVariableMutation.mjs"
|
|
@@ -709,10 +832,26 @@
|
|
|
709
832
|
"types": "./dist/network/graphql/builder/Queries/Segment/SegmentsQuery.d.ts",
|
|
710
833
|
"import": "./dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs"
|
|
711
834
|
},
|
|
835
|
+
"./network/graphql/builder/Queries/Space/SpaceActionEventsQuery": {
|
|
836
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.d.ts",
|
|
837
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.mjs"
|
|
838
|
+
},
|
|
839
|
+
"./network/graphql/builder/Queries/Space/SpaceActionTasksQuery": {
|
|
840
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.d.ts",
|
|
841
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.mjs"
|
|
842
|
+
},
|
|
843
|
+
"./network/graphql/builder/Queries/Space/SpaceActionsQuery": {
|
|
844
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.d.ts",
|
|
845
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.mjs"
|
|
846
|
+
},
|
|
712
847
|
"./network/graphql/builder/Queries/Space/SpaceCdnsQuery": {
|
|
713
848
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.d.ts",
|
|
714
849
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.mjs"
|
|
715
850
|
},
|
|
851
|
+
"./network/graphql/builder/Queries/Space/SpaceCheckActionQuery": {
|
|
852
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.d.ts",
|
|
853
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.mjs"
|
|
854
|
+
},
|
|
716
855
|
"./network/graphql/builder/Queries/Space/SpaceConnectorsQuery": {
|
|
717
856
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceConnectorsQuery.d.ts",
|
|
718
857
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceConnectorsQuery.mjs"
|
|
@@ -729,6 +868,10 @@
|
|
|
729
868
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.d.ts",
|
|
730
869
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.mjs"
|
|
731
870
|
},
|
|
871
|
+
"./network/graphql/builder/Queries/Space/SpaceQuotaQuery": {
|
|
872
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.d.ts",
|
|
873
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.mjs"
|
|
874
|
+
},
|
|
732
875
|
"./network/graphql/builder/Queries/Space/SpaceResourcesQuery": {
|
|
733
876
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.d.ts",
|
|
734
877
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.mjs"
|
|
@@ -817,6 +960,10 @@
|
|
|
817
960
|
"types": "./dist/schema/schemaConstants.d.ts",
|
|
818
961
|
"import": "./dist/schema/schemaConstants.mjs"
|
|
819
962
|
},
|
|
963
|
+
"./schema/serverElements": {
|
|
964
|
+
"types": "./dist/schema/serverElements.d.ts",
|
|
965
|
+
"import": "./dist/schema/serverElements.mjs"
|
|
966
|
+
},
|
|
820
967
|
"./segments": {
|
|
821
968
|
"types": "./dist/segments/index.d.ts",
|
|
822
969
|
"import": "./dist/segments/index.mjs"
|
|
@@ -833,6 +980,10 @@
|
|
|
833
980
|
"types": "./dist/server/index.d.ts",
|
|
834
981
|
"import": "./dist/server/index.mjs"
|
|
835
982
|
},
|
|
983
|
+
"./server/actions/useActionsSync": {
|
|
984
|
+
"types": "./dist/server/actions/useActionsSync.d.ts",
|
|
985
|
+
"import": "./dist/server/actions/useActionsSync.mjs"
|
|
986
|
+
},
|
|
836
987
|
"./server/index": {
|
|
837
988
|
"types": "./dist/server/index.d.ts",
|
|
838
989
|
"import": "./dist/server/index.mjs"
|
|
@@ -865,6 +1016,26 @@
|
|
|
865
1016
|
"types": "./dist/store/index.d.ts",
|
|
866
1017
|
"import": "./dist/store/index.mjs"
|
|
867
1018
|
},
|
|
1019
|
+
"./store/actionRuns": {
|
|
1020
|
+
"types": "./dist/store/actionRuns/index.d.ts",
|
|
1021
|
+
"import": "./dist/store/actionRuns/index.mjs"
|
|
1022
|
+
},
|
|
1023
|
+
"./store/actionRuns/actionRunsRecorder": {
|
|
1024
|
+
"types": "./dist/store/actionRuns/actionRunsRecorder.d.ts",
|
|
1025
|
+
"import": "./dist/store/actionRuns/actionRunsRecorder.mjs"
|
|
1026
|
+
},
|
|
1027
|
+
"./store/actionRuns/actionRunsStore": {
|
|
1028
|
+
"types": "./dist/store/actionRuns/actionRunsStore.d.ts",
|
|
1029
|
+
"import": "./dist/store/actionRuns/actionRunsStore.mjs"
|
|
1030
|
+
},
|
|
1031
|
+
"./store/actionRuns/index": {
|
|
1032
|
+
"types": "./dist/store/actionRuns/index.d.ts",
|
|
1033
|
+
"import": "./dist/store/actionRuns/index.mjs"
|
|
1034
|
+
},
|
|
1035
|
+
"./store/actionRuns/useActionRuns": {
|
|
1036
|
+
"types": "./dist/store/actionRuns/useActionRuns.d.ts",
|
|
1037
|
+
"import": "./dist/store/actionRuns/useActionRuns.mjs"
|
|
1038
|
+
},
|
|
868
1039
|
"./store/index": {
|
|
869
1040
|
"types": "./dist/store/index.d.ts",
|
|
870
1041
|
"import": "./dist/store/index.mjs"
|
|
@@ -905,6 +1076,22 @@
|
|
|
905
1076
|
"types": "./dist/style/index.d.ts",
|
|
906
1077
|
"import": "./dist/style/index.mjs"
|
|
907
1078
|
},
|
|
1079
|
+
"./style/fontAssets": {
|
|
1080
|
+
"types": "./dist/style/fontAssets.d.ts",
|
|
1081
|
+
"import": "./dist/style/fontAssets.mjs"
|
|
1082
|
+
},
|
|
1083
|
+
"./style/fontValidation": {
|
|
1084
|
+
"types": "./dist/style/fontValidation.d.ts",
|
|
1085
|
+
"import": "./dist/style/fontValidation.mjs"
|
|
1086
|
+
},
|
|
1087
|
+
"./style/fonts": {
|
|
1088
|
+
"types": "./dist/style/fonts.d.ts",
|
|
1089
|
+
"import": "./dist/style/fonts.mjs"
|
|
1090
|
+
},
|
|
1091
|
+
"./style/fontsFromCss": {
|
|
1092
|
+
"types": "./dist/style/fontsFromCss.d.ts",
|
|
1093
|
+
"import": "./dist/style/fontsFromCss.mjs"
|
|
1094
|
+
},
|
|
908
1095
|
"./style/index": {
|
|
909
1096
|
"types": "./dist/style/index.d.ts",
|
|
910
1097
|
"import": "./dist/style/index.mjs"
|
|
@@ -921,10 +1108,26 @@
|
|
|
921
1108
|
"types": "./dist/theme/ThemeProvider.d.ts",
|
|
922
1109
|
"import": "./dist/theme/ThemeProvider.mjs"
|
|
923
1110
|
},
|
|
1111
|
+
"./theme/ThemeScope": {
|
|
1112
|
+
"types": "./dist/theme/ThemeScope.d.ts",
|
|
1113
|
+
"import": "./dist/theme/ThemeScope.mjs"
|
|
1114
|
+
},
|
|
924
1115
|
"./theme/index": {
|
|
925
1116
|
"types": "./dist/theme/index.d.ts",
|
|
926
1117
|
"import": "./dist/theme/index.mjs"
|
|
927
1118
|
},
|
|
1119
|
+
"./theme/themeCookie": {
|
|
1120
|
+
"types": "./dist/theme/themeCookie.d.ts",
|
|
1121
|
+
"import": "./dist/theme/themeCookie.mjs"
|
|
1122
|
+
},
|
|
1123
|
+
"./theme/themeStore": {
|
|
1124
|
+
"types": "./dist/theme/themeStore.d.ts",
|
|
1125
|
+
"import": "./dist/theme/themeStore.mjs"
|
|
1126
|
+
},
|
|
1127
|
+
"./theme/useTheme": {
|
|
1128
|
+
"types": "./dist/theme/useTheme.d.ts",
|
|
1129
|
+
"import": "./dist/theme/useTheme.mjs"
|
|
1130
|
+
},
|
|
928
1131
|
"./types": {
|
|
929
1132
|
"types": "./dist/types/index.d.ts",
|
|
930
1133
|
"import": "./dist/types/index.mjs"
|
|
@@ -932,6 +1135,9 @@
|
|
|
932
1135
|
"./types/AITypes": {
|
|
933
1136
|
"types": "./dist/types/AITypes.d.ts"
|
|
934
1137
|
},
|
|
1138
|
+
"./types/ActionTypes": {
|
|
1139
|
+
"types": "./dist/types/ActionTypes.d.ts"
|
|
1140
|
+
},
|
|
935
1141
|
"./types/AuthTypes": {
|
|
936
1142
|
"types": "./dist/types/AuthTypes.d.ts"
|
|
937
1143
|
},
|
|
@@ -977,12 +1183,18 @@
|
|
|
977
1183
|
"./types/ResourceTypes": {
|
|
978
1184
|
"types": "./dist/types/ResourceTypes.d.ts"
|
|
979
1185
|
},
|
|
1186
|
+
"./types/SchemaTypes": {
|
|
1187
|
+
"types": "./dist/types/SchemaTypes.d.ts"
|
|
1188
|
+
},
|
|
980
1189
|
"./types/SdkTypes": {
|
|
981
1190
|
"types": "./dist/types/SdkTypes.d.ts"
|
|
982
1191
|
},
|
|
983
1192
|
"./types/SegmentTypes": {
|
|
984
1193
|
"types": "./dist/types/SegmentTypes.d.ts"
|
|
985
1194
|
},
|
|
1195
|
+
"./types/ServerTypes": {
|
|
1196
|
+
"types": "./dist/types/ServerTypes.d.ts"
|
|
1197
|
+
},
|
|
986
1198
|
"./types/SpaceTypes": {
|
|
987
1199
|
"types": "./dist/types/SpaceTypes.d.ts"
|
|
988
1200
|
},
|
|
@@ -996,6 +1208,9 @@
|
|
|
996
1208
|
"types": "./dist/types/StyleTypes.d.ts",
|
|
997
1209
|
"import": "./dist/types/StyleTypes.mjs"
|
|
998
1210
|
},
|
|
1211
|
+
"./types/TemplateTypes": {
|
|
1212
|
+
"types": "./dist/types/TemplateTypes.d.ts"
|
|
1213
|
+
},
|
|
999
1214
|
"./types/ThemeTypes": {
|
|
1000
1215
|
"types": "./dist/types/ThemeTypes.d.ts"
|
|
1001
1216
|
},
|
|
@@ -1029,65 +1244,65 @@
|
|
|
1029
1244
|
},
|
|
1030
1245
|
"dependencies": {
|
|
1031
1246
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
1032
|
-
"@plitzi/nexus": "^1.1.
|
|
1033
|
-
"@plitzi/plitzi-ui": "^1.6.
|
|
1247
|
+
"@plitzi/nexus": "^1.1.4",
|
|
1248
|
+
"@plitzi/plitzi-ui": "^1.6.21",
|
|
1034
1249
|
"date-fns": "^4.4.0",
|
|
1035
1250
|
"date-fns-tz": "^3.2.0",
|
|
1036
1251
|
"graphql-tag": "^2.12.7",
|
|
1037
|
-
"immer": "^11.1.
|
|
1038
|
-
"zod": "^4.4
|
|
1252
|
+
"immer": "^11.1.18",
|
|
1253
|
+
"zod": "^4.6.4"
|
|
1039
1254
|
},
|
|
1040
1255
|
"peerDependencies": {
|
|
1041
1256
|
"react": "^19",
|
|
1042
1257
|
"react-dom": "^19"
|
|
1043
1258
|
},
|
|
1044
1259
|
"devDependencies": {
|
|
1045
|
-
"@babel/cli": "^8.0.
|
|
1046
|
-
"@babel/core": "^8.0.
|
|
1047
|
-
"@babel/eslint-parser": "^8.0.
|
|
1260
|
+
"@babel/cli": "^8.0.5",
|
|
1261
|
+
"@babel/core": "^8.0.5",
|
|
1262
|
+
"@babel/eslint-parser": "^8.0.5",
|
|
1048
1263
|
"@babel/plugin-syntax-flow": "^8.0.1",
|
|
1049
1264
|
"@babel/plugin-transform-react-jsx": "^8.0.1",
|
|
1050
|
-
"@babel/preset-env": "^8.0.
|
|
1265
|
+
"@babel/preset-env": "^8.0.5",
|
|
1051
1266
|
"@eslint/js": "^10.0.1",
|
|
1052
1267
|
"@tailwindcss/forms": "^0.5.11",
|
|
1053
1268
|
"@testing-library/dom": "^10.4.1",
|
|
1054
|
-
"@testing-library/react": "^16.3.
|
|
1269
|
+
"@testing-library/react": "^16.3.3",
|
|
1055
1270
|
"@testing-library/react-hooks": "^8.0.1",
|
|
1056
|
-
"@testing-library/user-event": "^14.6.
|
|
1057
|
-
"@types/react": "^19.
|
|
1058
|
-
"@types/react-dom": "^19.
|
|
1059
|
-
"@vitejs/plugin-react": "^6.
|
|
1060
|
-
"@vitest/coverage-v8": "^
|
|
1271
|
+
"@testing-library/user-event": "^14.6.7",
|
|
1272
|
+
"@types/react": "^19.3.0",
|
|
1273
|
+
"@types/react-dom": "^19.3.0",
|
|
1274
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
1275
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
1061
1276
|
"babel-minify": "^0.5.2",
|
|
1062
1277
|
"eslint": "^9.39.5",
|
|
1063
1278
|
"eslint-config-airbnb": "^19.0.4",
|
|
1064
1279
|
"eslint-config-prettier": "^10.1.8",
|
|
1065
|
-
"eslint-config-turbo": "^2.10.
|
|
1280
|
+
"eslint-config-turbo": "^2.10.12",
|
|
1066
1281
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
1067
|
-
"eslint-plugin-cypress": "^7.0.
|
|
1282
|
+
"eslint-plugin-cypress": "^7.0.2",
|
|
1068
1283
|
"eslint-plugin-flowtype": "8.0.3",
|
|
1069
1284
|
"eslint-plugin-import": "^2.32.0",
|
|
1070
|
-
"eslint-plugin-jsdoc": "^64.
|
|
1285
|
+
"eslint-plugin-jsdoc": "^64.3.10",
|
|
1071
1286
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
1072
1287
|
"eslint-plugin-prettier": "^5.5.6",
|
|
1073
1288
|
"eslint-plugin-react": "^7.37.5",
|
|
1074
1289
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
1075
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
1076
|
-
"eslint-plugin-storybook": "^10.
|
|
1077
|
-
"globals": "^17.
|
|
1290
|
+
"eslint-plugin-react-refresh": "^0.5.6",
|
|
1291
|
+
"eslint-plugin-storybook": "^10.6.0",
|
|
1292
|
+
"globals": "^17.12.0",
|
|
1078
1293
|
"jsdom": "^30.0.1",
|
|
1079
|
-
"postcss": "^8.5.
|
|
1294
|
+
"postcss": "^8.5.28",
|
|
1080
1295
|
"prettier": "^3.9.6",
|
|
1081
|
-
"react": "^19.
|
|
1082
|
-
"react-dom": "^19.
|
|
1296
|
+
"react": "^19.3.0",
|
|
1297
|
+
"react-dom": "^19.3.0",
|
|
1083
1298
|
"tailwindcss": "^4.3.3",
|
|
1084
|
-
"terser": "^5.
|
|
1299
|
+
"terser": "^5.51.2",
|
|
1085
1300
|
"typescript": "^6.0.3",
|
|
1086
|
-
"typescript-eslint": "^8.
|
|
1087
|
-
"vite": "^8.
|
|
1088
|
-
"vite-plugin-dts": "^5.0
|
|
1301
|
+
"typescript-eslint": "^8.70.0",
|
|
1302
|
+
"vite": "^8.3.0",
|
|
1303
|
+
"vite-plugin-dts": "^5.1.0",
|
|
1089
1304
|
"vite-plugin-react": "^4.0.1",
|
|
1090
|
-
"vitest": "^
|
|
1305
|
+
"vitest": "^5.0.0",
|
|
1091
1306
|
"vitest-fetch-mock": "^0.4.5"
|
|
1092
1307
|
}
|
|
1093
1308
|
}
|
package/vite.config.ts
CHANGED
|
@@ -8,7 +8,6 @@ import react from '@vitejs/plugin-react';
|
|
|
8
8
|
import { defineConfig } from 'vite';
|
|
9
9
|
import dts from 'vite-plugin-dts';
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
/**
|
|
13
12
|
* Skips rewriting a declaration whose content is already on disk. Every build regenerates every `.d.ts`, unchanged
|
|
14
13
|
* ones included, and replacing hundreds of files at once is what makes the editors holding them open fall over.
|
|
@@ -32,11 +31,32 @@ const importedPackages = new Set();
|
|
|
32
31
|
type Options = {
|
|
33
32
|
root?: string;
|
|
34
33
|
pattern?: RegExp;
|
|
34
|
+
exclude?: RegExp;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Every source module is an entry, not just the `index` ones.
|
|
39
|
+
*
|
|
40
|
+
* `preserveModules` writes one file per module either way, so this changes no path — what it changes is the export
|
|
41
|
+
* list. A module rollup considers internal is re-exported only for the bindings its in-package importers happen to
|
|
42
|
+
* use, while `generate-exports.mjs` publishes it as a public subpath all the same and `vite-plugin-dts` writes the
|
|
43
|
+
* FULL declaration beside it. The result type-checks against exports the runtime file does not have, and the
|
|
44
|
+
* consumer finds out on import: "does not provide an export named ...".
|
|
45
|
+
*/
|
|
46
|
+
const SOURCE_MODULE = /\.(ts|tsx|js|mjs)$/;
|
|
47
|
+
/** Matched against the path under `src`, so a whole test-only folder is excluded, not just suffixed file names. */
|
|
48
|
+
const NOT_A_MODULE = new RegExp(
|
|
49
|
+
[
|
|
50
|
+
'(^|/)(__tests__|__mocks__|testUtils)(/|$)',
|
|
51
|
+
'\\.(test|spec|stories[^.]*|bench)\\.(ts|tsx|js|mjs)$',
|
|
52
|
+
'\\.d\\.ts$'
|
|
53
|
+
].join('|')
|
|
54
|
+
);
|
|
55
|
+
|
|
37
56
|
export function getEntries(options: Options = {}) {
|
|
38
57
|
const root = options.root ?? path.resolve(process.cwd(), 'src');
|
|
39
|
-
const pattern = options.pattern ??
|
|
58
|
+
const pattern = options.pattern ?? SOURCE_MODULE;
|
|
59
|
+
const exclude = options.exclude ?? NOT_A_MODULE;
|
|
40
60
|
|
|
41
61
|
const entries: Record<string, string> = {};
|
|
42
62
|
|
|
@@ -49,11 +69,11 @@ export function getEntries(options: Options = {}) {
|
|
|
49
69
|
|
|
50
70
|
if (stat.isDirectory()) {
|
|
51
71
|
walk(fullPath);
|
|
52
|
-
} else
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
72
|
+
} else {
|
|
73
|
+
const relative = path.relative(root, fullPath).replace(/\\/g, '/');
|
|
74
|
+
if (pattern.test(file) && !exclude.test(relative)) {
|
|
75
|
+
entries[relative.replace(pattern, '') || 'index'] = fullPath;
|
|
76
|
+
}
|
|
57
77
|
}
|
|
58
78
|
}
|
|
59
79
|
}
|