@mindline/sync 1.0.102 → 1.0.104
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/.vs/VSWorkspaceState.json +1 -1
- package/.vs/slnx.sqlite +0 -0
- package/.vs/sync/CopilotIndices/17.14.260.54502/CodeChunks.db +0 -0
- package/.vs/sync/CopilotIndices/17.14.260.54502/SemanticSymbols.db +0 -0
- package/.vs/sync/FileContentIndex/3881c9ba-413d-444d-b9d4-43b79228192c.vsidx +0 -0
- package/.vs/sync/FileContentIndex/40eca9db-2eca-4bb1-b236-ef05624e799e.vsidx +0 -0
- package/.vs/sync/FileContentIndex/5c93d870-257a-4d35-93a3-48d299fa5b1a.vsidx +0 -0
- package/.vs/sync/FileContentIndex/c2ebbf3f-6ffc-45f4-9e41-20101dcbfe33.vsidx +0 -0
- package/.vs/sync/v17/.wsuo +0 -0
- package/.vs/sync/v17/DocumentLayout.backup.json +14 -6
- package/.vs/sync/v17/DocumentLayout.json +15 -9
- package/dist/src/index.d.ts +15 -12
- package/dist/sync.es.js +5 -3
- package/dist/sync.es.js.map +1 -1
- package/dist/sync.umd.js +2 -2
- package/dist/sync.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +9 -9
- package/src/index.ts +36 -30
- package/.vs/sync/FileContentIndex/1dc09e8c-13fc-40d9-b22d-a74371049af7.vsidx +0 -0
- package/.vs/sync/FileContentIndex/370aa08c-cb24-4e5f-8521-d20f70abd9fc.vsidx +0 -0
- package/.vs/sync/FileContentIndex/48632d90-4949-4440-8d3a-4ac31d62c144.vsidx +0 -0
- package/.vs/sync/FileContentIndex/cad92429-a27a-4f1e-80cb-3dba05ee25cb.vsidx +0 -0
- /package/.vs/sync/FileContentIndex/{08a1b6d5-6909-4155-8db3-76966f46fa1f.vsidx → 00d0d744-d920-41f7-81bd-64419c4b96a9.vsidx} +0 -0
package/.vs/slnx.sqlite
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.vs/sync/v17/.wsuo
CHANGED
|
Binary file
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"DocumentGroups": [
|
|
23
23
|
{
|
|
24
24
|
"DockedWidth": 203,
|
|
25
|
-
"SelectedChildIndex":
|
|
25
|
+
"SelectedChildIndex": 9,
|
|
26
26
|
"Children": [
|
|
27
27
|
{
|
|
28
28
|
"$type": "Bookmark",
|
|
@@ -68,9 +68,10 @@
|
|
|
68
68
|
"RelativeDocumentMoniker": "src\\index.d.ts",
|
|
69
69
|
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
|
|
70
70
|
"RelativeToolTip": "src\\index.d.ts",
|
|
71
|
-
"ViewState": "
|
|
71
|
+
"ViewState": "AgIAAKIAAAAAAAAAAAAAAJEAAAAbAAAAAAAAAA==",
|
|
72
72
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
|
|
73
|
-
"WhenOpened": "2025-05-30T02:21:13.533Z"
|
|
73
|
+
"WhenOpened": "2025-05-30T02:21:13.533Z",
|
|
74
|
+
"EditorCaption": ""
|
|
74
75
|
},
|
|
75
76
|
{
|
|
76
77
|
"$type": "Document",
|
|
@@ -82,8 +83,15 @@
|
|
|
82
83
|
"RelativeToolTip": "package.json",
|
|
83
84
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
|
84
85
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
|
|
85
|
-
"WhenOpened": "2025-05-01T12:37:44.78Z"
|
|
86
|
-
|
|
86
|
+
"WhenOpened": "2025-05-01T12:37:44.78Z",
|
|
87
|
+
"EditorCaption": ""
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"DockedWidth": 200,
|
|
93
|
+
"SelectedChildIndex": 0,
|
|
94
|
+
"Children": [
|
|
87
95
|
{
|
|
88
96
|
"$type": "Document",
|
|
89
97
|
"DocumentIndex": 0,
|
|
@@ -92,7 +100,7 @@
|
|
|
92
100
|
"RelativeDocumentMoniker": "src\\index.ts",
|
|
93
101
|
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
|
|
94
102
|
"RelativeToolTip": "src\\index.ts",
|
|
95
|
-
"ViewState": "
|
|
103
|
+
"ViewState": "AgIAAF0BAAAAAAAAAAAAAGcBAAAbAAAAAAAAAA==",
|
|
96
104
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
|
|
97
105
|
"WhenOpened": "2025-05-01T12:24:49.156Z",
|
|
98
106
|
"EditorCaption": ""
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"Version": 1,
|
|
3
3
|
"WorkspaceRootPath": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\",
|
|
4
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
5
|
{
|
|
10
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}",
|
|
11
7
|
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
|
|
12
8
|
},
|
|
9
|
+
{
|
|
10
|
+
"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}",
|
|
11
|
+
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.d.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
|
|
12
|
+
},
|
|
13
13
|
{
|
|
14
14
|
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
|
|
15
15
|
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"$type": "Document",
|
|
65
|
-
"DocumentIndex":
|
|
65
|
+
"DocumentIndex": 1,
|
|
66
66
|
"Title": "index.d.ts",
|
|
67
67
|
"DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
|
|
68
68
|
"RelativeDocumentMoniker": "src\\index.d.ts",
|
|
69
69
|
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
|
|
70
70
|
"RelativeToolTip": "src\\index.d.ts",
|
|
71
|
-
"ViewState": "
|
|
71
|
+
"ViewState": "AgIAAHgAAAAAAAAAAAAAAJwAAAArAAAAAAAAAA==",
|
|
72
72
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
|
|
73
73
|
"WhenOpened": "2025-05-30T02:21:13.533Z",
|
|
74
74
|
"EditorCaption": ""
|
|
@@ -84,16 +84,22 @@
|
|
|
84
84
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
|
85
85
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
|
|
86
86
|
"WhenOpened": "2025-05-01T12:37:44.78Z"
|
|
87
|
-
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"DockedWidth": 200,
|
|
92
|
+
"SelectedChildIndex": 0,
|
|
93
|
+
"Children": [
|
|
88
94
|
{
|
|
89
95
|
"$type": "Document",
|
|
90
|
-
"DocumentIndex":
|
|
96
|
+
"DocumentIndex": 0,
|
|
91
97
|
"Title": "index.ts",
|
|
92
98
|
"DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
|
|
93
99
|
"RelativeDocumentMoniker": "src\\index.ts",
|
|
94
100
|
"ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
|
|
95
101
|
"RelativeToolTip": "src\\index.ts",
|
|
96
|
-
"ViewState": "
|
|
102
|
+
"ViewState": "AgIAAAgBAAAAAAAAAAArwC0BAAAIAAAAAAAAAA==",
|
|
97
103
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
|
|
98
104
|
"WhenOpened": "2025-05-01T12:24:49.156Z",
|
|
99
105
|
"EditorCaption": ""
|
package/dist/src/index.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ export declare class TenantConfigInfo {
|
|
|
130
130
|
isWritePermissionConsented: boolean;
|
|
131
131
|
constructor();
|
|
132
132
|
}
|
|
133
|
-
export declare class
|
|
133
|
+
export declare class SyncConfig {
|
|
134
134
|
id: string;
|
|
135
135
|
workspaceId: string;
|
|
136
136
|
name: string;
|
|
@@ -147,11 +147,13 @@ export declare class AuditConfig {
|
|
|
147
147
|
name: string;
|
|
148
148
|
description: string;
|
|
149
149
|
isEnabled: boolean;
|
|
150
|
+
isReadPermissionConsented: boolean;
|
|
150
151
|
email: string;
|
|
151
152
|
tenantId: string;
|
|
152
153
|
sel: boolean;
|
|
153
154
|
constructor();
|
|
154
155
|
}
|
|
156
|
+
export type ConfigType = 'sync' | 'auditlogs';
|
|
155
157
|
export declare class Workspace {
|
|
156
158
|
id: string;
|
|
157
159
|
name: string;
|
|
@@ -168,7 +170,8 @@ export declare class InitInfo {
|
|
|
168
170
|
tab: number;
|
|
169
171
|
us: User[];
|
|
170
172
|
ts: Tenant[];
|
|
171
|
-
cs:
|
|
173
|
+
cs: SyncConfig[];
|
|
174
|
+
acs: AuditConfig[];
|
|
172
175
|
ws: Workspace[];
|
|
173
176
|
configlevelconsent_configid: string;
|
|
174
177
|
configlevelconsent_access: TenantConfigType;
|
|
@@ -241,12 +244,12 @@ export declare class BatchArray {
|
|
|
241
244
|
pb_total: number;
|
|
242
245
|
pb_timer: NodeJS.Timeout | null;
|
|
243
246
|
milestoneArray: MilestoneArray;
|
|
244
|
-
constructor(config:
|
|
245
|
-
init(config:
|
|
247
|
+
constructor(config: SyncConfig | null, syncPortalGlobalState: InitInfo | null, bClearLocalStorage: boolean);
|
|
248
|
+
init(config: SyncConfig | null | undefined, syncPortalGlobalState: InitInfo | null, bClearLocalStorage: boolean): void;
|
|
246
249
|
initializeProgressBar(setSyncProgress: (progress: number) => void, setConfigSyncResult: (result: string) => void, setIdleText: (idleText: string) => void, setMilestones: (milestones: Milestone[]) => void): void;
|
|
247
250
|
uninitializeProgressBar(setSyncProgress: (progress: number) => void, setConfigSyncResult: (result: string) => void, setIdleText: (idleText: string) => void, setMilestones: (milestones: Milestone[]) => void): void;
|
|
248
|
-
initializeSignalR(config:
|
|
249
|
-
startSync(instance: IPublicClientApplication, authorizedUser: User | null | undefined, config:
|
|
251
|
+
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;
|
|
252
|
+
startSync(instance: IPublicClientApplication, authorizedUser: User | null | undefined, config: SyncConfig | null | undefined): Promise<APIResult>;
|
|
250
253
|
}
|
|
251
254
|
export declare class TenantNode {
|
|
252
255
|
expanded: boolean;
|
|
@@ -327,14 +330,14 @@ export declare function usersGet(instance: IPublicClientApplication, user: User
|
|
|
327
330
|
export declare function auditConfigAdd(instance: IPublicClientApplication, user: User, ac: AuditConfig, debug: boolean): Promise<APIResult>;
|
|
328
331
|
export declare function auditConfigRetrieve(instance: IPublicClientApplication, user: User, debug: boolean): Promise<APIResult>;
|
|
329
332
|
export declare function auditEventsRetrieve(instance: IPublicClientApplication, authorizedUser: User, debug: boolean): Promise<APIResult>;
|
|
330
|
-
export declare function configEdit(instance: IPublicClientApplication, authorizedUser: User, config:
|
|
333
|
+
export declare function configEdit(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, setConfigId: (id: string) => void, setSelectedConfigs: (selectedConfigs: {
|
|
331
334
|
[id: string]: boolean | number[];
|
|
332
335
|
}) => void, workspace: Workspace, ii: InitInfo, debug: boolean): Promise<APIResult>;
|
|
333
336
|
export declare function configEnable(instance: IPublicClientApplication, authorizedUser: User, configurationId: string, enabled: boolean, debug: boolean): Promise<APIResult>;
|
|
334
337
|
export declare function configConsentForRead(instance: IPublicClientApplication, authorizedUser: User, configId: string, tid: string, consent: boolean): Promise<APIResult>;
|
|
335
338
|
export declare function configConsentForWrite(instance: IPublicClientApplication, authorizedUser: User, configId: string, tid: string, consent: boolean): Promise<APIResult>;
|
|
336
339
|
export declare function configsRefresh(instance: IPublicClientApplication, authorizedUser: User, workspaceId: string, ii: InitInfo, debug: boolean): Promise<APIResult>;
|
|
337
|
-
export declare function configRemove(instance: IPublicClientApplication, authorizedUser: User, config:
|
|
340
|
+
export declare function configRemove(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, workspaceId: string, debug: boolean): Promise<APIResult>;
|
|
338
341
|
export declare function initGet(instance: IPublicClientApplication, user: User, ii: InitInfo, tasks: TaskArray, debug: boolean): Promise<APIResult>;
|
|
339
342
|
export declare function tenantAdd(instance: IPublicClientApplication, authorizedUser: User, tenant: Tenant, workspaceId: string): Promise<APIResult>;
|
|
340
343
|
export declare function tenantRemove(instance: IPublicClientApplication, authorizedUser: User, tenant: Tenant, workspaceId: string, debug: boolean): Promise<APIResult>;
|
|
@@ -353,10 +356,10 @@ export declare function auditConfigGet(instance: IPublicClientApplication, user:
|
|
|
353
356
|
export declare function auditEventsGet(instance: IPublicClientApplication, user: User, debug: boolean): Promise<APIResult>;
|
|
354
357
|
export declare function configConsentReadPut(instance: IPublicClientApplication, authorizedUser: User, configId: string, tid: string, consent: boolean): Promise<APIResult>;
|
|
355
358
|
export declare function configConsentWritePut(instance: IPublicClientApplication, authorizedUser: User, configId: string, tid: string, consent: boolean): Promise<APIResult>;
|
|
356
|
-
export declare function configDelete(instance: IPublicClientApplication, authorizedUser: User, config:
|
|
359
|
+
export declare function configDelete(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, workspaceId: string, debug: boolean): Promise<APIResult>;
|
|
357
360
|
export declare function configPatch(instance: IPublicClientApplication, authorizedUser: User, configurationId: string, enabled: boolean, debug: boolean): Promise<APIResult>;
|
|
358
|
-
export declare function configPost(instance: IPublicClientApplication, authorizedUser: User, config:
|
|
359
|
-
export declare function configPut(instance: IPublicClientApplication, authorizedUser: User, config:
|
|
361
|
+
export declare function configPost(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, workspaceId: string, debug: boolean): Promise<APIResult>;
|
|
362
|
+
export declare function configPut(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig, debug: boolean): Promise<APIResult>;
|
|
360
363
|
export declare function configsGet(instance: IPublicClientApplication, user: User, workspaceID: string, debug: boolean): Promise<APIResult>;
|
|
361
364
|
export declare function initPost(instance: IPublicClientApplication, user: User, debug: boolean): Promise<APIResult>;
|
|
362
365
|
export declare function tenantDelete(instance: IPublicClientApplication, authorizedUser: User, tenant: Tenant, workspaceId: string, debug: boolean): Promise<APIResult>;
|
|
@@ -364,5 +367,5 @@ export declare function tenantsGet(instance: IPublicClientApplication, user: Use
|
|
|
364
367
|
export declare function tenantPost(instance: IPublicClientApplication, addingUser: User, tenant: Tenant, workspaceId: string): Promise<APIResult>;
|
|
365
368
|
export declare function workspacePut(instance: IPublicClientApplication, authorizedUser: User, workspaceId: string, workspaceName: string): Promise<APIResult>;
|
|
366
369
|
export declare function workspacesGet(instance: IPublicClientApplication, user: User, debug: boolean): Promise<APIResult>;
|
|
367
|
-
export declare function readerPost(instance: IPublicClientApplication, authorizedUser: User, config:
|
|
370
|
+
export declare function readerPost(instance: IPublicClientApplication, authorizedUser: User, config: SyncConfig): Promise<APIResult>;
|
|
368
371
|
export {};
|
package/dist/sync.es.js
CHANGED
|
@@ -147,7 +147,7 @@ function It() {
|
|
|
147
147
|
return "hello NPM";
|
|
148
148
|
}
|
|
149
149
|
function F() {
|
|
150
|
-
return "1.0.
|
|
150
|
+
return "1.0.104";
|
|
151
151
|
}
|
|
152
152
|
class m {
|
|
153
153
|
constructor() {
|
|
@@ -374,10 +374,11 @@ class kt {
|
|
|
374
374
|
l(this, "name");
|
|
375
375
|
l(this, "description");
|
|
376
376
|
l(this, "isEnabled");
|
|
377
|
+
l(this, "isReadPermissionConsented");
|
|
377
378
|
l(this, "email");
|
|
378
379
|
l(this, "tenantId");
|
|
379
380
|
l(this, "sel");
|
|
380
|
-
this.id = "", this.name = "", this.workspaceId = "", this.description = "", this.isEnabled = !1, this.email = "", this.tenantId = "", this.sel = !1;
|
|
381
|
+
this.id = "", this.name = "", this.workspaceId = "", this.description = "", this.isEnabled = !1, this.isReadPermissionConsented = !1, this.email = "", this.tenantId = "", this.sel = !1;
|
|
381
382
|
}
|
|
382
383
|
}
|
|
383
384
|
class ee {
|
|
@@ -418,6 +419,7 @@ class Dt {
|
|
|
418
419
|
l(this, "us", []);
|
|
419
420
|
l(this, "ts", []);
|
|
420
421
|
l(this, "cs", []);
|
|
422
|
+
l(this, "acs", []);
|
|
421
423
|
l(this, "ws", []);
|
|
422
424
|
l(this, "configlevelconsent_configid", "");
|
|
423
425
|
l(this, "configlevelconsent_access", 3);
|
|
@@ -2114,13 +2116,13 @@ export {
|
|
|
2114
2116
|
ze as ActorNode,
|
|
2115
2117
|
kt as AuditConfig,
|
|
2116
2118
|
Pt as BatchArray,
|
|
2117
|
-
Y as Config,
|
|
2118
2119
|
$t as Group,
|
|
2119
2120
|
Dt as InitInfo,
|
|
2120
2121
|
B as Milestone,
|
|
2121
2122
|
Ue as MilestoneArray,
|
|
2122
2123
|
we as ResourceArray,
|
|
2123
2124
|
Le as ResourceNode,
|
|
2125
|
+
Y as SyncConfig,
|
|
2124
2126
|
Q as Task,
|
|
2125
2127
|
vt as TaskArray,
|
|
2126
2128
|
L as Tenant,
|