@mindline/sync 1.0.106 → 1.0.108

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 (33) hide show
  1. package/.vs/VSWorkspaceState.json +0 -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/0a490c4d-e4ea-4e8d-8989-720009d15f9d.vsidx +0 -0
  6. package/.vs/sync/FileContentIndex/173d280f-33b3-451d-8054-08fc6c991498.vsidx +0 -0
  7. package/.vs/sync/FileContentIndex/e27fae98-55a0-4376-b1eb-e2efa630b10b.vsidx +0 -0
  8. package/.vs/sync/FileContentIndex/fae8821f-9f13-46f5-91ef-05b837e2f35a.vsidx +0 -0
  9. package/.vs/sync/v17/.wsuo +0 -0
  10. package/.vs/sync/v17/DocumentLayout.backup.json +87 -28
  11. package/.vs/sync/v17/DocumentLayout.json +81 -15
  12. package/.vs/sync.slnx/FileContentIndex/13d6a28d-932f-4eb6-818c-efea35f24838.vsidx +0 -0
  13. package/.vs/sync.slnx/FileContentIndex/46af7fa0-1a65-4634-9faa-600623e92173.vsidx +0 -0
  14. package/.vs/sync.slnx/FileContentIndex/75bd0095-9fc3-4f35-90e9-f4022b8e4b55.vsidx +0 -0
  15. package/.vs/sync.slnx/FileContentIndex/92b75297-fe76-448d-80d4-cbf5ef4fcd60.vsidx +0 -0
  16. package/.vs/sync.slnx/FileContentIndex/eb2f80ef-22e0-4cc0-a8fb-f7837f87af2d.vsidx +0 -0
  17. package/.vs/sync.slnx/config/applicationhost.config +1011 -0
  18. package/.vs/sync.slnx/v18/.wsuo +0 -0
  19. package/.vs/sync.slnx/v18/DocumentLayout.backup.json +104 -0
  20. package/.vs/sync.slnx/v18/DocumentLayout.json +87 -0
  21. package/dist/src/index.d.ts +9 -5
  22. package/dist/sync.es.js +849 -789
  23. package/dist/sync.es.js.map +1 -1
  24. package/dist/sync.umd.js +25 -21
  25. package/dist/sync.umd.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/index.d.ts +14 -14
  28. package/src/index.ts +231 -60
  29. package/.vs/sync/FileContentIndex/0d08f64f-8fd9-4bd4-90fc-8322cb33dd00.vsidx +0 -0
  30. package/.vs/sync/FileContentIndex/5d404a65-c534-43ee-beba-a5efbe6a49b0.vsidx +0 -0
  31. package/.vs/sync/FileContentIndex/63524bf8-437e-4a1c-951f-7a78da75a1bc.vsidx +0 -0
  32. package/.vs/sync/FileContentIndex/f95b6302-8444-443b-9e3b-a41d3483c73a.vsidx +0 -0
  33. /package/.vs/sync/FileContentIndex/{db560492-d007-4291-a6b3-50ccdcbd66b4.vsidx → 72fe2c03-a5ac-417e-b6be-5d2e18aa7d59.vsidx} +0 -0
Binary file
@@ -0,0 +1,104 @@
1
+ {
2
+ "Version": 1,
3
+ "WorkspaceRootPath": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\",
4
+ "Documents": [
5
+ {
6
+ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
7
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.d.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
8
+ },
9
+ {
10
+ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
11
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
12
+ }
13
+ ],
14
+ "DocumentGroupContainers": [
15
+ {
16
+ "Orientation": 0,
17
+ "VerticalTabListWidth": 256,
18
+ "DocumentGroups": [
19
+ {
20
+ "DockedWidth": 200,
21
+ "SelectedChildIndex": -1,
22
+ "Children": [
23
+ {
24
+ "$type": "Bookmark",
25
+ "Name": "ST:0:0:{e506b91c-c606-466a-90a9-123d1d1e12b3}"
26
+ },
27
+ {
28
+ "$type": "Bookmark",
29
+ "Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
30
+ },
31
+ {
32
+ "$type": "Bookmark",
33
+ "Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
34
+ },
35
+ {
36
+ "$type": "Bookmark",
37
+ "Name": "ST:131:0:{75188d03-9892-4ae2-abf1-207126247ce5}"
38
+ },
39
+ {
40
+ "$type": "Bookmark",
41
+ "Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
42
+ },
43
+ {
44
+ "$type": "Bookmark",
45
+ "Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}"
46
+ },
47
+ {
48
+ "$type": "Bookmark",
49
+ "Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}"
50
+ },
51
+ {
52
+ "$type": "Bookmark",
53
+ "Name": "ST:1:0:{d212f56b-c48a-434c-a121-1c5d80b59b9f}"
54
+ },
55
+ {
56
+ "$type": "Bookmark",
57
+ "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
58
+ },
59
+ {
60
+ "$type": "Bookmark",
61
+ "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "DockedWidth": 160,
67
+ "SelectedChildIndex": 1,
68
+ "Children": [
69
+ {
70
+ "$type": "Bookmark",
71
+ "Name": "ST:0:0:{004be353-6879-467c-9d1e-9ac23cdf6d49}"
72
+ },
73
+ {
74
+ "$type": "Document",
75
+ "DocumentIndex": 0,
76
+ "Title": "index.d.ts",
77
+ "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
78
+ "RelativeDocumentMoniker": "src\\index.d.ts",
79
+ "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
80
+ "RelativeToolTip": "src\\index.d.ts",
81
+ "ViewState": "AgIAAI0AAAAAAAAAAAAAALYAAAAIAAAAAAAAAA==",
82
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
83
+ "WhenOpened": "2025-12-16T15:22:39.404Z",
84
+ "EditorCaption": ""
85
+ },
86
+ {
87
+ "$type": "Document",
88
+ "DocumentIndex": 1,
89
+ "Title": "index.ts",
90
+ "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
91
+ "RelativeDocumentMoniker": "src\\index.ts",
92
+ "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
93
+ "RelativeToolTip": "src\\index.ts",
94
+ "ViewState": "AgIAAFMEAAAAAAAAAADgv6kEAAAeAAAAAAAAAA==",
95
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
96
+ "WhenOpened": "2025-12-09T14:51:18.593Z",
97
+ "EditorCaption": ""
98
+ }
99
+ ]
100
+ }
101
+ ]
102
+ }
103
+ ]
104
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "Version": 1,
3
+ "WorkspaceRootPath": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\",
4
+ "Documents": [
5
+ {
6
+ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
7
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
8
+ }
9
+ ],
10
+ "DocumentGroupContainers": [
11
+ {
12
+ "Orientation": 0,
13
+ "VerticalTabListWidth": 256,
14
+ "DocumentGroups": [
15
+ {
16
+ "DockedWidth": 200,
17
+ "SelectedChildIndex": -1,
18
+ "Children": [
19
+ {
20
+ "$type": "Bookmark",
21
+ "Name": "ST:0:0:{e506b91c-c606-466a-90a9-123d1d1e12b3}"
22
+ },
23
+ {
24
+ "$type": "Bookmark",
25
+ "Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
26
+ },
27
+ {
28
+ "$type": "Bookmark",
29
+ "Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
30
+ },
31
+ {
32
+ "$type": "Bookmark",
33
+ "Name": "ST:131:0:{75188d03-9892-4ae2-abf1-207126247ce5}"
34
+ },
35
+ {
36
+ "$type": "Bookmark",
37
+ "Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
38
+ },
39
+ {
40
+ "$type": "Bookmark",
41
+ "Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}"
42
+ },
43
+ {
44
+ "$type": "Bookmark",
45
+ "Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}"
46
+ },
47
+ {
48
+ "$type": "Bookmark",
49
+ "Name": "ST:1:0:{d212f56b-c48a-434c-a121-1c5d80b59b9f}"
50
+ },
51
+ {
52
+ "$type": "Bookmark",
53
+ "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
54
+ },
55
+ {
56
+ "$type": "Bookmark",
57
+ "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "DockedWidth": 160,
63
+ "SelectedChildIndex": 1,
64
+ "Children": [
65
+ {
66
+ "$type": "Bookmark",
67
+ "Name": "ST:0:0:{004be353-6879-467c-9d1e-9ac23cdf6d49}"
68
+ },
69
+ {
70
+ "$type": "Document",
71
+ "DocumentIndex": 0,
72
+ "Title": "index.ts",
73
+ "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
74
+ "RelativeDocumentMoniker": "src\\index.ts",
75
+ "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
76
+ "RelativeToolTip": "src\\index.ts",
77
+ "ViewState": "AgIAAB4EAAAAAAAAAADgvzkEAAAWAAAAAAAAAA==",
78
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
79
+ "WhenOpened": "2025-12-09T14:51:18.593Z",
80
+ "EditorCaption": ""
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ }
86
+ ]
87
+ }
@@ -2,12 +2,12 @@ import { IPublicClientApplication } from '@azure/msal-browser';
2
2
  export declare function sum(a: number, b: number): number;
3
3
  export declare function helloNpm(): string;
4
4
  export declare function getSyncVersion(): string;
5
- export declare class APIResult {
5
+ export declare class APIResult<T = any> {
6
6
  result: boolean;
7
7
  status: number;
8
8
  error: string;
9
9
  version: string;
10
- array: Array<Object> | null;
10
+ array: Array<T> | null;
11
11
  constructor();
12
12
  }
13
13
  export declare class azureConfig {
@@ -33,6 +33,7 @@ export declare class mindlineConfig {
33
33
  static workspacesEndpoint(): string;
34
34
  static workspaceConfigsEndpoint(): string;
35
35
  static signalREndpoint(): string;
36
+ static statsEndpoint(): string;
36
37
  }
37
38
  export declare class graphConfig {
38
39
  static graphGroupsPredicate: string;
@@ -249,7 +250,7 @@ export declare class BatchArray {
249
250
  init(config: SyncConfig | null | undefined, syncPortalGlobalState: InitInfo | null, bClearLocalStorage: boolean): void;
250
251
  initializeProgressBar(setSyncProgress: (progress: number) => void, setConfigSyncResult: (result: string) => void, setIdleText: (idleText: string) => void, setMilestones: (milestones: Milestone[]) => void): void;
251
252
  uninitializeProgressBar(setSyncProgress: (progress: number) => void, setConfigSyncResult: (result: string) => void, setIdleText: (idleText: string) => void, setMilestones: (milestones: Milestone[]) => void): void;
252
- initializeSignalR(config: SyncConfig | null | undefined, syncPortalGlobalState: InitInfo | null, batchIdArray: Array<Object>, setRefreshDeltaTrigger: (workspace: string) => void, setReadersTotal: (readersTotal: number) => void, setReadersCurrent: (readersCurrent: number) => void, setWritersTotal: (writersTotal: number) => void, setWritersCurrent: (writersCurrent: number) => void, setMilestones: (milestones: Milestone[]) => void, setConfigSyncResult: (result: string) => void, bClearLocalStorage: boolean): void;
253
+ initializeSignalR(config: SyncConfig | null | undefined, syncPortalGlobalState: InitInfo | null, batchIdArray: Array<Object>, setRefreshDeltaTrigger: (workspace: string) => void, setReadersTotal: (readersTotal: number) => void, setReadersExcluded: (readersExcluded: number) => void, setReadersCurrent: (readersCurrent: number) => void, setWritersTotal: (writersTotal: number) => void, setWritersExcluded: (writersExcluded: number) => void, setWritersCurrent: (writersCurrent: number) => void, setMilestones: (milestones: Milestone[]) => void, setConfigSyncResult: (result: string) => void, bClearLocalStorage: boolean, message: string): void;
253
254
  startSync(instance: IPublicClientApplication, authorizedUser: User | null | undefined, config: SyncConfig | null | undefined): Promise<APIResult>;
254
255
  }
255
256
  export declare class TenantNode {
@@ -260,12 +261,13 @@ export declare class TenantNode {
260
261
  batchId: string;
261
262
  total: number;
262
263
  read: number;
264
+ excluded: number;
263
265
  written: number;
264
266
  deferred: number;
265
267
  nothingtosync: boolean;
266
268
  targets: TenantNode[];
267
269
  constructor(tid: string, name: string, batchId: string);
268
- update(total: number, read: number, written: number, deferred: number): void;
270
+ update(total: number, read: number, excluded: number, written: number, deferred: number): void;
269
271
  }
270
272
  export declare class ResourceArray {
271
273
  resourceNodes: ResourceNode[];
@@ -339,7 +341,7 @@ export declare function configEdit(instance: IPublicClientApplication, authorize
339
341
  export declare function configEnable(instance: IPublicClientApplication, authorizedUser: User, configurationId: string, enabled: boolean, debug: boolean): Promise<APIResult>;
340
342
  export declare function configConsentForRead(instance: IPublicClientApplication, authorizedUser: User, configId: string, tid: string, consent: boolean): Promise<APIResult>;
341
343
  export declare function configConsentForWrite(instance: IPublicClientApplication, authorizedUser: User, configId: string, tid: string, consent: boolean): Promise<APIResult>;
342
- export declare function configsRefresh(instance: IPublicClientApplication, authorizedUser: User, workspaceId: string, ii: InitInfo, debug: boolean): Promise<APIResult>;
344
+ export declare function configsRefresh(instance: IPublicClientApplication, authorizedUser: User, workspaceId: string, ii: InitInfo, debug: boolean, currentConfig: SyncConfig): Promise<APIResult>;
343
345
  export declare function configRemove(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, workspaceId: string, debug: boolean): Promise<APIResult>;
344
346
  export declare function initGet(instance: IPublicClientApplication, user: User, ii: InitInfo, tasks: TaskArray, debug: boolean): Promise<APIResult>;
345
347
  export declare function tenantAdd(instance: IPublicClientApplication, authorizedUser: User, tenant: Tenant, workspaceId: string): Promise<APIResult>;
@@ -362,6 +364,7 @@ export declare function auditConfigDelete(instance: IPublicClientApplication, us
362
364
  export declare function auditEventsGet(instance: IPublicClientApplication, user: User, debug: boolean): Promise<APIResult>;
363
365
  export declare function configConsentReadPut(instance: IPublicClientApplication, authorizedUser: User, configId: string, tid: string, consent: boolean): Promise<APIResult>;
364
366
  export declare function configConsentWritePut(instance: IPublicClientApplication, authorizedUser: User, configId: string, tid: string, consent: boolean): Promise<APIResult>;
367
+ export declare function configGet(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, workspaceId: string, debug: boolean): Promise<APIResult>;
365
368
  export declare function configDelete(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, workspaceId: string, debug: boolean): Promise<APIResult>;
366
369
  export declare function configPatch(instance: IPublicClientApplication, authorizedUser: User, configurationId: string, enabled: boolean, debug: boolean): Promise<APIResult>;
367
370
  export declare function configPost(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, workspaceId: string, debug: boolean): Promise<APIResult>;
@@ -375,4 +378,5 @@ export declare function tenantPost(instance: IPublicClientApplication, addingUse
375
378
  export declare function workspacePut(instance: IPublicClientApplication, authorizedUser: User, workspaceId: string, workspaceName: string): Promise<APIResult>;
376
379
  export declare function workspacesGet(instance: IPublicClientApplication, user: User, debug: boolean): Promise<APIResult>;
377
380
  export declare function readerPost(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig): Promise<APIResult>;
381
+ export declare function readerStats(instance: IPublicClientApplication, authorizedUser: User, tenantId: String): Promise<APIResult>;
378
382
  export {};