@plitzi/sdk-shared 0.38.20 → 0.38.22
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 +133 -0
- package/dist/actions/access.d.ts +5 -0
- package/dist/actions/access.mjs +11 -2
- package/dist/actions/index.d.ts +2 -1
- package/dist/actions/index.mjs +10 -9
- package/dist/actions/jobs.d.ts +10 -0
- package/dist/actions/jobs.mjs +17 -0
- package/dist/actions/validateDocument.mjs +56 -56
- package/dist/dataSource/globalSources.d.ts +1 -1
- package/dist/navigation/routes.mjs +38 -37
- package/dist/network/graphql/builder/Mutations/Space/jobs/SpaceControlJobMutation.d.ts +5 -0
- package/dist/network/graphql/builder/Mutations/Space/jobs/SpaceControlJobMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/index.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/index.mjs +70 -68
- package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.d.ts +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceJobsQuery.d.ts +10 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceJobsQuery.mjs +4 -0
- package/dist/network/graphql/builder/Queries/index.d.ts +2 -0
- package/dist/network/graphql/builder/Queries/index.mjs +16 -14
- package/dist/realtime/index.d.ts +1 -1
- package/dist/realtime/index.mjs +4 -4
- package/dist/realtime/topics.d.ts +5 -0
- package/dist/realtime/topics.mjs +11 -11
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.mjs +12 -11
- package/dist/schema/pageAccess.d.ts +41 -0
- package/dist/schema/pageAccess.mjs +54 -0
- package/dist/store/storeHooks.d.ts +33 -33
- package/dist/types/ActionTypes.d.ts +0 -204
- package/dist/types/FunctionTypes.d.ts +41 -0
- package/dist/types/JobTypes.d.ts +327 -0
- package/dist/types/JobTypes.mjs +0 -0
- package/dist/types/ServerTypes.d.ts +17 -3
- package/dist/types/SpaceTypes.d.ts +5 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/vite.config.ts +9 -7
- package/dist/helpers/twigWrapper/bench.bench.d.ts +0 -1
package/package.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -55,11 +55,7 @@ type Options = {
|
|
|
55
55
|
const SOURCE_MODULE = /\.(ts|tsx|js|mjs)$/;
|
|
56
56
|
/** Matched against the path under `src`, so a whole test-only folder is excluded, not just suffixed file names. */
|
|
57
57
|
const NOT_A_MODULE = new RegExp(
|
|
58
|
-
[
|
|
59
|
-
'(^|/)(__tests__|__mocks__|testUtils)(/|$)',
|
|
60
|
-
'\\.(test|spec|stories[^.]*|bench)\\.(ts|tsx|js|mjs)$',
|
|
61
|
-
'\\.d\\.ts$'
|
|
62
|
-
].join('|')
|
|
58
|
+
['(^|/)(tests|__mocks__)(/|$)', '\\.(test|spec|stories[^.]*|bench)\\.(ts|tsx|js|mjs)$', '\\.d\\.ts$'].join('|')
|
|
63
59
|
);
|
|
64
60
|
|
|
65
61
|
export function getEntries(options: Options = {}) {
|
|
@@ -98,7 +94,13 @@ export default defineConfig(({ mode, command }) => {
|
|
|
98
94
|
react(),
|
|
99
95
|
dts({
|
|
100
96
|
entryRoot: 'src',
|
|
101
|
-
exclude: [
|
|
97
|
+
exclude: [
|
|
98
|
+
'**/*.(test|bench).(ts|tsx)',
|
|
99
|
+
'**/tests/**',
|
|
100
|
+
'**/*.stories.(ts|tsx)',
|
|
101
|
+
'vite.config.ts',
|
|
102
|
+
'setupTests.ts'
|
|
103
|
+
],
|
|
102
104
|
tsconfigPath: './tsconfig.app.json',
|
|
103
105
|
// The declarations are written against the other packages' declarations, as a consumer reads them: through
|
|
104
106
|
// their sources they would be compiled under this package's settings and their paths written into its types.
|
|
@@ -210,7 +212,7 @@ export default defineConfig(({ mode, command }) => {
|
|
|
210
212
|
reporter: ['text', 'html'],
|
|
211
213
|
reportsDirectory: 'tests',
|
|
212
214
|
include: ['src'],
|
|
213
|
-
exclude: ['**/*.test.tsx', '**/*.stories.ts', '**/*.stories.tsx'] // , 'src/index.ts'
|
|
215
|
+
exclude: ['**/*.test.tsx', '**/tests/**', '**/*.stories.ts', '**/*.stories.tsx'] // , 'src/index.ts'
|
|
214
216
|
},
|
|
215
217
|
server: {
|
|
216
218
|
deps: {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|