@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.
Files changed (39) hide show
  1. package/CHANGELOG.md +133 -0
  2. package/dist/actions/access.d.ts +5 -0
  3. package/dist/actions/access.mjs +11 -2
  4. package/dist/actions/index.d.ts +2 -1
  5. package/dist/actions/index.mjs +10 -9
  6. package/dist/actions/jobs.d.ts +10 -0
  7. package/dist/actions/jobs.mjs +17 -0
  8. package/dist/actions/validateDocument.mjs +56 -56
  9. package/dist/dataSource/globalSources.d.ts +1 -1
  10. package/dist/navigation/routes.mjs +38 -37
  11. package/dist/network/graphql/builder/Mutations/Space/jobs/SpaceControlJobMutation.d.ts +5 -0
  12. package/dist/network/graphql/builder/Mutations/Space/jobs/SpaceControlJobMutation.mjs +4 -0
  13. package/dist/network/graphql/builder/Mutations/index.d.ts +2 -0
  14. package/dist/network/graphql/builder/Mutations/index.mjs +70 -68
  15. package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.d.ts +1 -1
  16. package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs +1 -1
  17. package/dist/network/graphql/builder/Queries/Space/SpaceJobsQuery.d.ts +10 -0
  18. package/dist/network/graphql/builder/Queries/Space/SpaceJobsQuery.mjs +4 -0
  19. package/dist/network/graphql/builder/Queries/index.d.ts +2 -0
  20. package/dist/network/graphql/builder/Queries/index.mjs +16 -14
  21. package/dist/realtime/index.d.ts +1 -1
  22. package/dist/realtime/index.mjs +4 -4
  23. package/dist/realtime/topics.d.ts +5 -0
  24. package/dist/realtime/topics.mjs +11 -11
  25. package/dist/schema/index.d.ts +1 -0
  26. package/dist/schema/index.mjs +12 -11
  27. package/dist/schema/pageAccess.d.ts +41 -0
  28. package/dist/schema/pageAccess.mjs +54 -0
  29. package/dist/store/storeHooks.d.ts +33 -33
  30. package/dist/types/ActionTypes.d.ts +0 -204
  31. package/dist/types/FunctionTypes.d.ts +41 -0
  32. package/dist/types/JobTypes.d.ts +327 -0
  33. package/dist/types/JobTypes.mjs +0 -0
  34. package/dist/types/ServerTypes.d.ts +17 -3
  35. package/dist/types/SpaceTypes.d.ts +5 -0
  36. package/dist/types/index.d.ts +1 -0
  37. package/package.json +1 -1
  38. package/vite.config.ts +9 -7
  39. package/dist/helpers/twigWrapper/bench.bench.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-shared",
3
- "version": "0.38.20",
3
+ "version": "0.38.22",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist",
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: ['**/*.test.(ts|tsx)', '**/*.stories.(ts|tsx)', 'vite.config.ts', 'setupTests.ts'],
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 {};