@mindline/sync 1.0.90 → 1.0.92

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 (45) hide show
  1. package/.vs/VSWorkspaceState.json +4 -1
  2. package/.vs/slnx.sqlite +0 -0
  3. package/.vs/sync/CopilotIndices/17.14.260.54502/CodeChunks.db +0 -0
  4. package/.vs/sync/CopilotIndices/17.14.260.54502/SemanticSymbols.db +0 -0
  5. package/.vs/sync/FileContentIndex/11f04bb9-c8c3-49b8-b9b0-23b59361ea60.vsidx +0 -0
  6. package/.vs/sync/FileContentIndex/32415761-521c-4586-b2be-358aa800c295.vsidx +0 -0
  7. package/.vs/sync/FileContentIndex/5f0eff90-00ed-4490-92bb-d2c0bedd89b6.vsidx +0 -0
  8. package/.vs/sync/FileContentIndex/cb5cf66e-d79f-4452-9b8b-b759f711e4af.vsidx +0 -0
  9. package/.vs/sync/FileContentIndex/fee90bf7-9f86-4fc9-a06e-ccbbe7777bfe.vsidx +0 -0
  10. package/.vs/sync/v17/.wsuo +0 -0
  11. package/.vs/sync/v17/DocumentLayout.backup.json +53 -20
  12. package/.vs/sync/v17/DocumentLayout.json +18 -33
  13. package/dist/actors.json.d.ts +22 -0
  14. package/dist/configs.json.d.ts +3 -0
  15. package/dist/index.d.ts +348 -0
  16. package/dist/resources.json.d.ts +60 -0
  17. package/dist/sync.es.js +2096 -0
  18. package/dist/sync.es.js.map +1 -0
  19. package/dist/sync.umd.js +54 -0
  20. package/dist/sync.umd.js.map +1 -0
  21. package/dist/syncmilestones.json.d.ts +25 -0
  22. package/dist/tenants.json.d.ts +13 -0
  23. package/dist/users.json.d.ts +15 -0
  24. package/dist/workspaces.json.d.ts +12 -0
  25. package/package.json +23 -13
  26. package/{index.ts → src/index.ts} +206 -147
  27. package/tsconfig.json +11 -14
  28. package/vite.config.ts +31 -0
  29. package/.vs/sync/FileContentIndex/0f447c8e-f707-40c3-aa4c-30bfeab10f57.vsidx +0 -0
  30. package/.vs/sync/FileContentIndex/14855cf9-9dc6-406b-8690-3a6fd40f6dea.vsidx +0 -0
  31. package/tasks.ts +0 -55
  32. /package/{README.md → src/README.md} +0 -0
  33. /package/{actors.json → src/actors.json} +0 -0
  34. /package/{configs.json → src/configs.json} +0 -0
  35. /package/{configs2.json → src/configs2.json} +0 -0
  36. /package/{index.d.ts → src/index.d.ts} +0 -0
  37. /package/{mockconfig.json → src/mockconfig.json} +0 -0
  38. /package/{resources.json → src/resources.json} +0 -0
  39. /package/{syncmilestones.json → src/syncmilestones.json} +0 -0
  40. /package/{tenants.json → src/tenants.json} +0 -0
  41. /package/{tenants2.json → src/tenants2.json} +0 -0
  42. /package/{users.json → src/users.json} +0 -0
  43. /package/{users2.json → src/users2.json} +0 -0
  44. /package/{workspaces.json → src/workspaces.json} +0 -0
  45. /package/{workspaces2.json → src/workspaces2.json} +0 -0
package/tsconfig.json CHANGED
@@ -1,27 +1,24 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "ESNext",
4
+ "module": "ESNext",
4
5
  "lib": [ "DOM", "DOM.Iterable", "ESNext" ],
5
- "types": [ "vite/client", "vite-plugin-svgr/client", "node", "jest" ],
6
- "allowJs": false,
7
- "skipLibCheck": false,
8
- "esModuleInterop": false,
9
- "allowSyntheticDefaultImports": true,
10
- "forceConsistentCasingInFileNames": true,
11
- "module": "esnext",
6
+ "jsx": "react-jsx",
7
+ "declaration": true,
8
+ "emitDeclarationOnly": true,
9
+ "declarationDir": "./dist",
10
+ "outDir": "./dist",
11
+ "rootDir": "src",
12
12
  "moduleResolution": "node",
13
+ "esModuleInterop": true,
13
14
  "resolveJsonModule": true,
14
- "isolatedModules": true,
15
- "noEmit": true,
16
- "jsx": "react-jsx",
17
- "composite": false,
18
-
15
+ "skipLibCheck": true,
19
16
  /* Linting */
20
17
  "strict": true,
21
18
  "noUnusedLocals": true,
22
19
  "noUnusedParameters": true,
23
20
  "noFallthroughCasesInSwitch": true
24
21
  },
25
- "include": ["src"],
26
- "references": [{ "path": "./tsconfig.node.json" }]
22
+ "include": [ "src" ],
23
+ "exclude": [ "src/**/*.d.ts" ]
27
24
  }
package/vite.config.ts ADDED
@@ -0,0 +1,31 @@
1
+ import { defineConfig } from 'vite'
2
+ import react from '@vitejs/plugin-react'
3
+ import dts from 'vite-plugin-dts'
4
+
5
+ export default defineConfig({
6
+ build: {
7
+ lib: {
8
+ entry: 'src/index.ts',
9
+ name: 'sync',
10
+ fileName: (format) => `sync.${format}.js`
11
+ },
12
+ sourcemap: true,
13
+ emptyOutDir: true,
14
+ rollupOptions: {
15
+ // these must be peerDependencies
16
+ external: [
17
+ '@microsoft/signalr',
18
+ 'class-transformer',
19
+ 'react',
20
+ 'react-dom'
21
+ ]
22
+ }
23
+ },
24
+ plugins: [
25
+ react(),
26
+ dts({
27
+ outDir: 'dist',
28
+ insertTypesEntry: true
29
+ })
30
+ ]
31
+ })
package/tasks.ts DELETED
@@ -1,55 +0,0 @@
1
- const data: any[] = [
2
- {
3
- id: 1,
4
- task: "initialization",
5
- start: "1970-01-01T00:00:00",
6
- end: "1970-01-01T00:00:00",
7
- expected: "0:22",
8
- status: "not started",
9
- expanded: true,
10
- subtasks: [
11
- {
12
- id: 2,
13
- task: "authenticate user",
14
- start: "1970-01-01T00:00:00",
15
- end: "1970-01-01T00:00:00",
16
- expected: "0:01",
17
- status: "not started"
18
- },
19
- {
20
- id: 3,
21
- task: "reload React",
22
- start: "1970-01-01T00:00:00",
23
- end: "1970-01-01T00:00:00",
24
- expected: "0:07",
25
- status: "not started"
26
- },
27
- {
28
- id: 4,
29
- task: "GET tenant details",
30
- start: "1970-01-01T00:00:00",
31
- end: "1970-01-01T00:00:00",
32
- expected: "0:01",
33
- status: "not started"
34
- },
35
- {
36
- id: 5,
37
- task: "POST config init",
38
- start: "1970-01-01T00:00:00",
39
- end: "1970-01-01T00:00:00",
40
- expected: "0:10",
41
- status: "not started"
42
- },
43
- {
44
- id: 6,
45
- task: "GET workspaces",
46
- start: "1970-01-01T00:00:00",
47
- end: "1970-01-01T00:00:00",
48
- expected: "0:04",
49
- status: "not started"
50
- }
51
- ]
52
- }
53
- ];
54
-
55
- export default data;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes