@mindline/sync 1.0.110 → 1.0.112

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.
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "ExpandedNodes": [
3
- "",
4
- "\\src"
3
+ ""
5
4
  ],
6
- "SelectedNode": "\\src\\index.d.ts",
5
+ "SelectedNode": "\\package.json",
7
6
  "PreviewInSolutionExplorer": false
8
7
  }
package/.vs/slnx.sqlite CHANGED
Binary file
Binary file
@@ -2,6 +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\\package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
7
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
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
+ },
5
13
  {
6
14
  "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
15
  "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.d.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
@@ -9,10 +17,6 @@
9
17
  {
10
18
  "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\vite.config.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
11
19
  "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:vite.config.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
12
- },
13
- {
14
- "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}",
15
- "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
16
20
  }
17
21
  ],
18
22
  "DocumentGroupContainers": [
@@ -77,19 +81,31 @@
77
81
  {
78
82
  "$type": "Document",
79
83
  "DocumentIndex": 0,
84
+ "Title": "package.json",
85
+ "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json",
86
+ "RelativeDocumentMoniker": "package.json",
87
+ "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json",
88
+ "RelativeToolTip": "package.json",
89
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
90
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
91
+ "WhenOpened": "2026-02-11T15:18:47.883Z",
92
+ "EditorCaption": ""
93
+ },
94
+ {
95
+ "$type": "Document",
96
+ "DocumentIndex": 2,
80
97
  "Title": "index.d.ts",
81
98
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
82
99
  "RelativeDocumentMoniker": "src\\index.d.ts",
83
100
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
84
101
  "RelativeToolTip": "src\\index.d.ts",
85
- "ViewState": "AgIAADIBAAAAAAAAAAAAAFEBAAAAAAAAAAAAAA==",
102
+ "ViewState": "AgIAAE0BAAAAAAAAAAAAAFEBAAAAAAAAAAAAAA==",
86
103
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
87
- "WhenOpened": "2026-01-21T15:21:58.603Z",
88
- "EditorCaption": ""
104
+ "WhenOpened": "2026-01-21T15:21:58.603Z"
89
105
  },
90
106
  {
91
107
  "$type": "Document",
92
- "DocumentIndex": 1,
108
+ "DocumentIndex": 3,
93
109
  "Title": "vite.config.ts",
94
110
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\vite.config.ts",
95
111
  "RelativeDocumentMoniker": "vite.config.ts",
@@ -97,18 +113,17 @@
97
113
  "RelativeToolTip": "vite.config.ts",
98
114
  "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
99
115
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
100
- "WhenOpened": "2026-01-21T15:20:13.535Z",
101
- "EditorCaption": ""
116
+ "WhenOpened": "2026-01-21T15:20:13.535Z"
102
117
  },
103
118
  {
104
119
  "$type": "Document",
105
- "DocumentIndex": 2,
120
+ "DocumentIndex": 1,
106
121
  "Title": "index.ts",
107
122
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
108
123
  "RelativeDocumentMoniker": "src\\index.ts",
109
124
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
110
125
  "RelativeToolTip": "src\\index.ts",
111
- "ViewState": "AgIAAKwGAAAAAAAAAAAQwNYGAAAlAAAAAAAAAA==",
126
+ "ViewState": "AgIAAF8EAAAAAAAAAAAQwIAEAAAAAAAAAAAAAA==",
112
127
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
113
128
  "WhenOpened": "2025-12-09T14:51:18.593Z",
114
129
  "EditorCaption": ""
@@ -2,6 +2,10 @@
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\\package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
7
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
8
+ },
5
9
  {
6
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}",
7
11
  "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
@@ -68,7 +72,7 @@
68
72
  },
69
73
  {
70
74
  "DockedWidth": 160,
71
- "SelectedChildIndex": 3,
75
+ "SelectedChildIndex": 1,
72
76
  "Children": [
73
77
  {
74
78
  "$type": "Bookmark",
@@ -76,7 +80,20 @@
76
80
  },
77
81
  {
78
82
  "$type": "Document",
79
- "DocumentIndex": 1,
83
+ "DocumentIndex": 0,
84
+ "Title": "package.json",
85
+ "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json",
86
+ "RelativeDocumentMoniker": "package.json",
87
+ "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json",
88
+ "RelativeToolTip": "package.json",
89
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
90
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
91
+ "WhenOpened": "2026-02-11T15:18:47.883Z",
92
+ "EditorCaption": ""
93
+ },
94
+ {
95
+ "$type": "Document",
96
+ "DocumentIndex": 2,
80
97
  "Title": "index.d.ts",
81
98
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
82
99
  "RelativeDocumentMoniker": "src\\index.d.ts",
@@ -84,12 +101,11 @@
84
101
  "RelativeToolTip": "src\\index.d.ts",
85
102
  "ViewState": "AgIAAE0BAAAAAAAAAAAAAFEBAAAAAAAAAAAAAA==",
86
103
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
87
- "WhenOpened": "2026-01-21T15:21:58.603Z",
88
- "EditorCaption": ""
104
+ "WhenOpened": "2026-01-21T15:21:58.603Z"
89
105
  },
90
106
  {
91
107
  "$type": "Document",
92
- "DocumentIndex": 2,
108
+ "DocumentIndex": 3,
93
109
  "Title": "vite.config.ts",
94
110
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\vite.config.ts",
95
111
  "RelativeDocumentMoniker": "vite.config.ts",
@@ -101,7 +117,7 @@
101
117
  },
102
118
  {
103
119
  "$type": "Document",
104
- "DocumentIndex": 0,
120
+ "DocumentIndex": 1,
105
121
  "Title": "index.ts",
106
122
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
107
123
  "RelativeDocumentMoniker": "src\\index.ts",
@@ -109,8 +125,7 @@
109
125
  "RelativeToolTip": "src\\index.ts",
110
126
  "ViewState": "AgIAAF8EAAAAAAAAAAAQwIAEAAAAAAAAAAAAAA==",
111
127
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
112
- "WhenOpened": "2025-12-09T14:51:18.593Z",
113
- "EditorCaption": ""
128
+ "WhenOpened": "2025-12-09T14:51:18.593Z"
114
129
  }
115
130
  ]
116
131
  }
@@ -0,0 +1,74 @@
1
+ /**
2
+ * API Client for backend proxy endpoints
3
+ * This file contains functions that call backend controllers instead of directly calling
4
+ * Microsoft Graph API and Azure Management API from the frontend.
5
+ * This prevents token exposure in the browser.
6
+ */
7
+ export interface Group {
8
+ id: string;
9
+ displayName: string;
10
+ description: string;
11
+ }
12
+ export interface Resource {
13
+ id: string;
14
+ name: string;
15
+ type: string;
16
+ location: string;
17
+ tags?: {
18
+ [key: string]: string;
19
+ };
20
+ }
21
+ /**
22
+ * Search for groups by display name
23
+ * Calls backend: GET /api/graphapi/groups
24
+ */
25
+ export declare function groupsGet(groupSearchString: string): Promise<{
26
+ groups: Group[];
27
+ error: string;
28
+ }>;
29
+ /**
30
+ * Get OAuth2 permission grants for a service principal and principal
31
+ * Calls backend: GET /api/graphapi/oauth2-permission-grants
32
+ */
33
+ export declare function oauth2PermissionGrantsGet(spid: string, oid: string): Promise<{
34
+ grants: string | null;
35
+ id: string | null;
36
+ error: string;
37
+ }>;
38
+ /**
39
+ * Update OAuth2 permission grants
40
+ * Calls backend: PATCH /api/graphapi/oauth2-permission-grants/{id}
41
+ */
42
+ export declare function oauth2PermissionGrantsSet(id: string, scopes: string): Promise<boolean>;
43
+ /**
44
+ * Get service principal by application ID
45
+ * Calls backend: GET /api/graphapi/service-principals
46
+ */
47
+ export declare function servicePrincipalGet(appid: string): Promise<{
48
+ spid: string;
49
+ error: string;
50
+ }>;
51
+ /**
52
+ * Search for users. When no search string is provided, lists all users (matching original behavior).
53
+ * Calls backend: GET /api/graphapi/users
54
+ */
55
+ export declare function usersGet(userSearchString?: string): Promise<{
56
+ users: string[];
57
+ error: string;
58
+ }>;
59
+ /**
60
+ * Check if the current user can list root assignments
61
+ * Calls backend: GET /api/azuremanagement/can-list-root-assignments
62
+ */
63
+ export declare function canListRootAssignments(): Promise<boolean>;
64
+ /**
65
+ * Elevate Global Admin to User Access Administrator role
66
+ * WARNING: This is a highly sensitive operation
67
+ * Calls backend: POST /api/azuremanagement/elevate-access
68
+ */
69
+ export declare function elevateGlobalAdminToUserAccessAdmin(): Promise<boolean>;
70
+ /**
71
+ * Read Azure resources accessible to the current user
72
+ * Calls backend: GET /api/azuremanagement/resources
73
+ */
74
+ export declare function readResources(): Promise<Resource[]>;
@@ -249,8 +249,6 @@ export declare class BatchArray {
249
249
  private pollInstance;
250
250
  private pollAuthorizedUser;
251
251
  private pollBatchIdArray;
252
- private lastQueues;
253
- private hasQueueInfo;
254
252
  private setIdleText;
255
253
  private statsHydrationHandler;
256
254
  milestoneArray: MilestoneArray;
@@ -331,18 +329,18 @@ export declare class ActorNode {
331
329
  actors: ActorNode[];
332
330
  constructor(type: string, actor: string, resource: string, role: string, updatedby: string, updatedon: string);
333
331
  }
334
- export declare function groupsGet(instance: IPublicClientApplication, user: User | undefined, groupSearchString: string): Promise<{
332
+ export declare function groupsGet(_instance: IPublicClientApplication, _user: User | undefined, groupSearchString: string): Promise<{
335
333
  groups: Group[];
336
334
  error: string;
337
335
  }>;
338
- export declare function oauth2PermissionGrantsGet(options: RequestInit, user: User, spid: string, oid: string): Promise<{
336
+ export declare function oauth2PermissionGrantsGet(_options: RequestInit, _user: User, spid: string, oid: string): Promise<{
339
337
  grants: string | null;
340
338
  id: string | null;
341
339
  error: string;
342
340
  }>;
343
- export declare function oauth2PermissionGrantsSet(instance: IPublicClientApplication, loggedInUser: User, id: string, scopes: string): Promise<boolean>;
341
+ export declare function oauth2PermissionGrantsSet(_instance: IPublicClientApplication, _loggedInUser: User, id: string, scopes: string): Promise<boolean>;
344
342
  export declare function requestAdminConsent(admin: User, tct: TenantConfigType): void;
345
- export declare function servicePrincipalGet(options: RequestInit, user: User, appid: string): Promise<{
343
+ export declare function servicePrincipalGet(_options: RequestInit, _user: User, appid: string): Promise<{
346
344
  spid: string;
347
345
  error: string;
348
346
  }>;
@@ -352,13 +350,13 @@ export declare function signOut(user: User): Promise<boolean>;
352
350
  export declare function tenantRelationshipsGetByDomain(loggedInUser: User, tenant: Tenant, instance: IPublicClientApplication, debug: boolean): Promise<boolean>;
353
351
  export declare function tenantRelationshipsGetById(loggedInUser: User, tenant: Tenant, ii: InitInfo, instance: IPublicClientApplication, debug: boolean): Promise<boolean>;
354
352
  export declare function tenantUnauthenticatedLookup(tenant: Tenant, debug: boolean): Promise<boolean>;
355
- export declare function userDelegatedScopesGet(instance: IPublicClientApplication, loggedInUser: User, tenant: Tenant): Promise<{
353
+ export declare function userDelegatedScopesGet(_instance: IPublicClientApplication, loggedInUser: User, tenant: Tenant): Promise<{
356
354
  scopes: string | null;
357
355
  id: string | null;
358
356
  error: string;
359
357
  }>;
360
358
  export declare function userDelegatedScopesRemove(instance: IPublicClientApplication, loggedInUser: User, tenant: Tenant, scope: string): Promise<boolean>;
361
- export declare function usersGet(instance: IPublicClientApplication, user: User | undefined): Promise<{
359
+ export declare function usersGet(_instance: IPublicClientApplication, _user: User | undefined, searchString?: string): Promise<{
362
360
  users: string[];
363
361
  error: string;
364
362
  }>;
@@ -382,8 +380,8 @@ export declare function userAdd(instance: IPublicClientApplication, authorizedUs
382
380
  export declare function userRemove(instance: IPublicClientApplication, authorizedUser: User, user: User, workspaceId: string): Promise<APIResult>;
383
381
  export declare function workspaceEdit(instance: IPublicClientApplication, authorizedUser: User, workspaceId: string, workspaceName: string): Promise<APIResult>;
384
382
  export declare function getPowerBIAccessToken(instance: IPublicClientApplication, user: User): Promise<string>;
385
- export declare function canListRootAssignments(instance: IPublicClientApplication, user: User): Promise<boolean>;
386
- export declare function elevateGlobalAdminToUserAccessAdmin(instance: IPublicClientApplication, user: User): Promise<boolean>;
383
+ export declare function canListRootAssignments(_instance: IPublicClientApplication, _user: User): Promise<boolean>;
384
+ export declare function elevateGlobalAdminToUserAccessAdmin(_instance: IPublicClientApplication, _user: User): Promise<boolean>;
387
385
  export declare function processErrors(response: Response): Promise<string>;
388
386
  export declare function adminDelete(instance: IPublicClientApplication, authorizedUser: User, user: User, workspaceId: string): Promise<APIResult>;
389
387
  export declare function adminsGet(instance: IPublicClientApplication, user: User, workspaceID: string, debug: boolean): Promise<APIResult>;