@mindline/sync 1.0.113 → 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.
@@ -3,6 +3,6 @@
3
3
  "",
4
4
  "\\src"
5
5
  ],
6
- "SelectedNode": "\\src\\api-client.ts",
6
+ "SelectedNode": "\\src\\index.d.ts",
7
7
  "PreviewInSolutionExplorer": false
8
8
  }
package/.vs/slnx.sqlite CHANGED
Binary file
Binary file
@@ -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\\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
+ },
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}"
@@ -69,12 +73,25 @@
69
73
  {
70
74
  "$type": "Document",
71
75
  "DocumentIndex": 0,
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==",
82
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
83
+ "WhenOpened": "2026-02-16T14:46:38.512Z",
84
+ "EditorCaption": ""
85
+ },
86
+ {
87
+ "$type": "Document",
88
+ "DocumentIndex": 1,
72
89
  "Title": "index.ts",
73
90
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
74
91
  "RelativeDocumentMoniker": "src\\index.ts",
75
92
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
76
93
  "RelativeToolTip": "src\\index.ts",
77
- "ViewState": "AgIAAOMJAAAAAAAAAAAtwNYJAAAOAAAAAAAAAA==",
94
+ "ViewState": "AgIAANMJAAAAAAAAAAD4v+YJAABOAAAAAAAAAA==",
78
95
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
79
96
  "WhenOpened": "2025-12-09T14:51:18.593Z",
80
97
  "EditorCaption": ""
@@ -3,12 +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\\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}"
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
+ },
13
+ {
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
+ },
17
+ {
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}"
12
20
  }
13
21
  ],
14
22
  "DocumentGroupContainers": [
@@ -64,15 +72,41 @@
64
72
  },
65
73
  {
66
74
  "DockedWidth": 160,
67
- "SelectedChildIndex": 1,
75
+ "SelectedChildIndex": 2,
68
76
  "Children": [
69
77
  {
70
78
  "$type": "Bookmark",
71
79
  "Name": "ST:0:0:{004be353-6879-467c-9d1e-9ac23cdf6d49}"
72
80
  },
81
+ {
82
+ "$type": "Document",
83
+ "DocumentIndex": 2,
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-20T16:41:00.667Z",
92
+ "EditorCaption": ""
93
+ },
73
94
  {
74
95
  "$type": "Document",
75
96
  "DocumentIndex": 0,
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": "AgIAAAAAAAAAAAAAAAAAAAQAAAApAAAAAAAAAA==",
103
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
104
+ "WhenOpened": "2026-02-20T16:40:45.401Z",
105
+ "EditorCaption": ""
106
+ },
107
+ {
108
+ "$type": "Document",
109
+ "DocumentIndex": 3,
76
110
  "Title": "api-client.ts",
77
111
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\api-client.ts",
78
112
  "RelativeDocumentMoniker": "src\\api-client.ts",
@@ -91,7 +125,7 @@
91
125
  "RelativeDocumentMoniker": "src\\index.ts",
92
126
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\src\\index.ts",
93
127
  "RelativeToolTip": "src\\index.ts",
94
- "ViewState": "AgIAANMJAAAAAAAAAAD4v+YJAABOAAAAAAAAAA==",
128
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAAB4AAAAlAAAAAAAAAA==",
95
129
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
96
130
  "WhenOpened": "2025-12-09T14:51:18.593Z",
97
131
  "EditorCaption": ""
@@ -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;