@plitzi/sdk-shared 0.38.15 → 0.38.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +102 -0
- package/dist/actions/cron.mjs +5 -9
- package/dist/actions/validateDocument.mjs +24 -50
- package/dist/activity/describe.d.ts +6 -0
- package/dist/activity/describe.mjs +22 -0
- package/dist/activity/guard.d.ts +6 -0
- package/dist/activity/guard.mjs +13 -0
- package/dist/activity/index.d.ts +3 -0
- package/dist/activity/index.mjs +4 -0
- package/dist/activity/types.d.ts +94 -0
- package/dist/activity/types.mjs +4 -0
- package/dist/connectors/validateManifest.mjs +28 -73
- package/dist/dataSource/helpers/index.mjs +1 -2
- package/dist/dataSource/index.d.ts +1 -1
- package/dist/dataSource/index.mjs +6 -8
- package/dist/dataSource/utility/index.d.ts +1 -0
- package/dist/dataSource/utility/index.mjs +16 -15
- package/dist/devTools/utils/PlitziConsole.mjs +8 -12
- package/dist/elements/index.mjs +1 -2
- package/dist/flags/index.d.ts +2 -0
- package/dist/flags/index.mjs +2 -1
- package/dist/flags/useFlagResolution.mjs +6 -6
- package/dist/helpers/index.d.ts +8 -0
- package/dist/helpers/index.mjs +21 -13
- package/dist/helpers/keys.mjs +4 -8
- package/dist/helpers/twigWrapper/Evaluator/index.mjs +1 -2
- package/dist/helpers/twigWrapper/Parser/ExpressionParser.mjs +12 -26
- package/dist/helpers/twigWrapper/Parser/index.mjs +1 -2
- package/dist/helpers/twigWrapper/TemplateCache/index.mjs +1 -2
- package/dist/helpers/twigWrapper/charClass.mjs +2 -6
- package/dist/helpers/twigWrapper/filters/index.mjs +1 -2
- package/dist/helpers/twigWrapper/templateRoots.mjs +3 -8
- package/dist/hooks/useNetwork.mjs +1 -4
- package/dist/index.d.ts +5 -18
- package/dist/index.mjs +3 -96
- package/dist/network/graphql/builder/Mutations/index.d.ts +1 -0
- package/dist/network/graphql/builder/Mutations/index.mjs +148 -148
- package/dist/network/graphql/builder/Queries/index.mjs +4 -4
- package/dist/network/index.mjs +8 -8
- package/dist/plugins/{bundle.mjs → bundle/bundle.mjs} +1 -1
- package/dist/plugins/bundle/index.d.ts +2 -0
- package/dist/plugins/bundle/index.mjs +1 -0
- package/dist/plugins/index.d.ts +4 -0
- package/dist/plugins/index.mjs +3 -0
- package/dist/project/index.d.ts +8 -0
- package/dist/project/index.mjs +5 -0
- package/dist/project/layout.mjs +4 -4
- package/dist/queries/queryCache.mjs +1 -7
- package/dist/realtime/client.mjs +3 -12
- package/dist/schema/index.d.ts +5 -0
- package/dist/schema/index.mjs +12 -7
- package/dist/server/actions/useActionsSync.mjs +1 -1
- package/dist/server/actions/useImagesSync.mjs +1 -1
- package/dist/server/actions/useRealtimeSync.mjs +1 -1
- package/dist/server/index.d.ts +4 -0
- package/dist/server/index.mjs +8 -4
- package/dist/server/rsc/refreshRsc.mjs +11 -11
- package/dist/server/rsc/useRscSync.mjs +1 -1
- package/dist/server/usePluginRoute.mjs +1 -1
- package/dist/state/runtimeStatePersist.mjs +9 -15
- package/dist/store/index.d.ts +1 -193
- package/dist/store/index.mjs +6 -9
- package/dist/store/renderSettings.mjs +1 -1
- package/dist/store/storeHooks.d.ts +193 -0
- package/dist/store/storeHooks.mjs +5 -0
- package/dist/store/tracing/tracingCollector.mjs +1 -5
- package/dist/style/fonts.mjs +17 -25
- package/dist/style/index.d.ts +4 -0
- package/dist/style/index.mjs +19 -15
- package/dist/style/stylePseudos.mjs +2 -5
- package/dist/style/styleTarget.mjs +6 -6
- package/dist/theme/ThemeProvider.mjs +1 -1
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/index.mjs +4 -4
- package/dist/types/BuilderTypes.d.ts +8 -0
- package/dist/types/SchemaTypes.d.ts +2 -1
- package/dist/types/ServerTypes.d.ts +10 -1
- package/dist/websockets/index.mjs +1 -2
- package/package.json +21 -1587
- package/vite.config.ts +20 -4
- package/dist/auth/authFailureLink.d.ts +0 -9
- package/dist/auth/authFailureLink.mjs +0 -20
- package/dist/dataSource/hooks/index.d.ts +0 -4
- package/dist/dataSource/hooks/index.mjs +0 -3
- package/dist/dataSource/hooks/useRegisterSource.d.ts +0 -9
- package/dist/dataSource/hooks/useRegisterSource.mjs +0 -40
- package/dist/dataSource/hooks/useResolvedVariables.d.ts +0 -12
- package/dist/dataSource/hooks/useResolvedVariables.mjs +0 -28
- package/dist/helpers/stripTypename.d.ts +0 -15
- package/dist/helpers/stripTypename.mjs +0 -41
- /package/dist/plugins/{bundle.d.ts → bundle/bundle.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pluginRoutePath as e } from "../actions/functions.mjs";
|
|
2
|
-
import { useCommonStore as t } from "../store/
|
|
2
|
+
import { useCommonStore as t } from "../store/storeHooks.mjs";
|
|
3
3
|
import { useCallback as n } from "react";
|
|
4
4
|
//#region src/server/usePluginRoute.ts
|
|
5
5
|
var r = (r) => {
|
|
@@ -61,21 +61,15 @@ var l = /* @__PURE__ */ new Set([
|
|
|
61
61
|
h = t?.owner === y ? JSON.stringify(a(t.values, _)) : void 0;
|
|
62
62
|
}
|
|
63
63
|
let x = a(b, _), S = JSON.stringify(x);
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
storeName: "runtime",
|
|
74
|
-
path: "runtime.state",
|
|
75
|
-
prev: void 0,
|
|
76
|
-
next: x
|
|
77
|
-
});
|
|
78
|
-
}
|
|
64
|
+
S !== h && (h = S, Object.keys(x).length === 0 ? n(f) : s(f, {
|
|
65
|
+
owner: y,
|
|
66
|
+
values: x
|
|
67
|
+
}) === "too-large" && t.warning("store", `settings.paintedState holds more than a cookie can carry — the first paint uses the space's defaults for ${[..._].join(", ")}. Declare only what the first paint shows.`, {
|
|
68
|
+
storeName: "runtime",
|
|
69
|
+
path: "runtime.state",
|
|
70
|
+
prev: void 0,
|
|
71
|
+
next: x
|
|
72
|
+
}));
|
|
79
73
|
};
|
|
80
74
|
}, b = (t) => {
|
|
81
75
|
let n = c({
|