@mindline/sync 1.0.112 → 1.0.114

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,7 +1,8 @@
1
1
  {
2
2
  "ExpandedNodes": [
3
- ""
3
+ "",
4
+ "\\src"
4
5
  ],
5
- "SelectedNode": "\\package.json",
6
+ "SelectedNode": "\\src\\index.d.ts",
6
7
  "PreviewInSolutionExplorer": false
7
8
  }
package/.vs/slnx.sqlite CHANGED
Binary file
Binary file
@@ -3,20 +3,12 @@
3
3
  "WorkspaceRootPath": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\",
4
4
  "Documents": [
5
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}"
6
+ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\api-client.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
7
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\api-client.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
8
8
  },
9
9
  {
10
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
11
  "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.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.d.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
15
- "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.d.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
16
- },
17
- {
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}",
19
- "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:vite.config.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
20
12
  }
21
13
  ],
22
14
  "DocumentGroupContainers": [
@@ -81,39 +73,15 @@
81
73
  {
82
74
  "$type": "Document",
83
75
  "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,
97
- "Title": "index.d.ts",
98
- "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
99
- "RelativeDocumentMoniker": "src\\index.d.ts",
100
- "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
101
- "RelativeToolTip": "src\\index.d.ts",
102
- "ViewState": "AgIAAE0BAAAAAAAAAAAAAFEBAAAAAAAAAAAAAA==",
103
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
104
- "WhenOpened": "2026-01-21T15:21:58.603Z"
105
- },
106
- {
107
- "$type": "Document",
108
- "DocumentIndex": 3,
109
- "Title": "vite.config.ts",
110
- "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\vite.config.ts",
111
- "RelativeDocumentMoniker": "vite.config.ts",
112
- "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\vite.config.ts",
113
- "RelativeToolTip": "vite.config.ts",
114
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
76
+ "Title": "api-client.ts",
77
+ "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\api-client.ts",
78
+ "RelativeDocumentMoniker": "src\\api-client.ts",
79
+ "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\api-client.ts",
80
+ "RelativeToolTip": "src\\api-client.ts",
81
+ "ViewState": "AgIAAEUAAAAAAAAAAAAAAFsAAAAfAAAAAAAAAA==",
115
82
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
116
- "WhenOpened": "2026-01-21T15:20:13.535Z"
83
+ "WhenOpened": "2026-02-16T14:46:38.512Z",
84
+ "EditorCaption": ""
117
85
  },
118
86
  {
119
87
  "$type": "Document",
@@ -123,7 +91,7 @@
123
91
  "RelativeDocumentMoniker": "src\\index.ts",
124
92
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
125
93
  "RelativeToolTip": "src\\index.ts",
126
- "ViewState": "AgIAAF8EAAAAAAAAAAAQwIAEAAAAAAAAAAAAAA==",
94
+ "ViewState": "AgIAANMJAAAAAAAAAAD4v+YJAABOAAAAAAAAAA==",
127
95
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
128
96
  "WhenOpened": "2025-12-09T14:51:18.593Z",
129
97
  "EditorCaption": ""
@@ -3,20 +3,20 @@
3
3
  "WorkspaceRootPath": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\",
4
4
  "Documents": [
5
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}"
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
8
  },
9
9
  {
10
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
11
  "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
12
12
  },
13
13
  {
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}",
15
- "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\index.d.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
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
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:package.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
16
16
  },
17
17
  {
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}",
19
- "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:vite.config.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
18
+ "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\api-client.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
19
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\api-client.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
20
20
  }
21
21
  ],
22
22
  "DocumentGroupContainers": [
@@ -72,7 +72,7 @@
72
72
  },
73
73
  {
74
74
  "DockedWidth": 160,
75
- "SelectedChildIndex": 1,
75
+ "SelectedChildIndex": 2,
76
76
  "Children": [
77
77
  {
78
78
  "$type": "Bookmark",
@@ -80,7 +80,7 @@
80
80
  },
81
81
  {
82
82
  "$type": "Document",
83
- "DocumentIndex": 0,
83
+ "DocumentIndex": 2,
84
84
  "Title": "package.json",
85
85
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\package.json",
86
86
  "RelativeDocumentMoniker": "package.json",
@@ -88,32 +88,34 @@
88
88
  "RelativeToolTip": "package.json",
89
89
  "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
90
90
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
91
- "WhenOpened": "2026-02-11T15:18:47.883Z",
91
+ "WhenOpened": "2026-02-20T16:41:00.667Z",
92
92
  "EditorCaption": ""
93
93
  },
94
94
  {
95
95
  "$type": "Document",
96
- "DocumentIndex": 2,
96
+ "DocumentIndex": 0,
97
97
  "Title": "index.d.ts",
98
98
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
99
99
  "RelativeDocumentMoniker": "src\\index.d.ts",
100
100
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.d.ts",
101
101
  "RelativeToolTip": "src\\index.d.ts",
102
- "ViewState": "AgIAAE0BAAAAAAAAAAAAAFEBAAAAAAAAAAAAAA==",
102
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAApAAAAAAAAAA==",
103
103
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
104
- "WhenOpened": "2026-01-21T15:21:58.603Z"
104
+ "WhenOpened": "2026-02-20T16:40:45.401Z",
105
+ "EditorCaption": ""
105
106
  },
106
107
  {
107
108
  "$type": "Document",
108
109
  "DocumentIndex": 3,
109
- "Title": "vite.config.ts",
110
- "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\vite.config.ts",
111
- "RelativeDocumentMoniker": "vite.config.ts",
112
- "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\vite.config.ts",
113
- "RelativeToolTip": "vite.config.ts",
114
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
110
+ "Title": "api-client.ts",
111
+ "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\api-client.ts",
112
+ "RelativeDocumentMoniker": "src\\api-client.ts",
113
+ "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\api-client.ts",
114
+ "RelativeToolTip": "src\\api-client.ts",
115
+ "ViewState": "AgIAAEUAAAAAAAAAAAAAAFsAAAAfAAAAAAAAAA==",
115
116
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
116
- "WhenOpened": "2026-01-21T15:20:13.535Z"
117
+ "WhenOpened": "2026-02-16T14:46:38.512Z",
118
+ "EditorCaption": ""
117
119
  },
118
120
  {
119
121
  "$type": "Document",
@@ -123,9 +125,10 @@
123
125
  "RelativeDocumentMoniker": "src\\index.ts",
124
126
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
125
127
  "RelativeToolTip": "src\\index.ts",
126
- "ViewState": "AgIAAF8EAAAAAAAAAAAQwIAEAAAAAAAAAAAAAA==",
128
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAB4AAAAlAAAAAAAAAA==",
127
129
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
128
- "WhenOpened": "2025-12-09T14:51:18.593Z"
130
+ "WhenOpened": "2025-12-09T14:51:18.593Z",
131
+ "EditorCaption": ""
129
132
  }
130
133
  ]
131
134
  }
@@ -1,6 +1,15 @@
1
1
  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
+ /**
5
+ * Returns true if an error string indicates the user needs to re-authenticate (interactive sign-in)
6
+ * before retrying a request.
7
+ *
8
+ * This is intentionally based on string matching because:
9
+ * - Some callers only have an `error: string` surface (legacy API shape)
10
+ * - The backend proxy can return plain 401 responses or Microsoft.Identity.Web error text
11
+ */
12
+ export declare function isAuthRefreshRequired(error: string): boolean;
4
13
  export declare function getSyncVersion(): string;
5
14
  export declare class APIResult<T = any> {
6
15
  result: boolean;