@mindline/sync 1.0.84 → 1.0.85

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.
@@ -2,6 +2,5 @@
2
2
  "ExpandedNodes": [
3
3
  ""
4
4
  ],
5
- "SelectedNode": "\\index.d.ts",
6
5
  "PreviewInSolutionExplorer": false
7
6
  }
package/.vs/slnx.sqlite CHANGED
Binary file
Binary file
@@ -3,16 +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\\hybridspa.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
7
- "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:hybridspa.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
6
+ "AbsoluteMoniker": "D:1:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
7
+ "RelativeMoniker": "D:1:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
8
8
  },
9
9
  {
10
- "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
11
- "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
10
+ "AbsoluteMoniker": "D:2:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
11
+ "RelativeMoniker": "D:2:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:index.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
12
12
  },
13
13
  {
14
14
  "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.d.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
15
15
  "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative: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\\hybridspa.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}",
19
+ "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:hybridspa.ts||{0F2454B1-A556-402D-A7D0-1FDE7F99DEE0}"
16
20
  }
17
21
  ],
18
22
  "DocumentGroupContainers": [
@@ -59,7 +63,7 @@
59
63
  ]
60
64
  },
61
65
  {
62
- "DockedWidth": 200,
66
+ "DockedWidth": 168,
63
67
  "SelectedChildIndex": 1,
64
68
  "Children": [
65
69
  {
@@ -70,7 +74,7 @@
70
74
  "RelativeDocumentMoniker": "index.d.ts",
71
75
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.d.ts",
72
76
  "RelativeToolTip": "index.d.ts",
73
- "ViewState": "AQIAAAAAAAAAAAAAAAAAABoAAAAoAAAA",
77
+ "ViewState": "AQIAABoAAAAAAAAAAAAAABoAAAAoAAAA",
74
78
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
75
79
  "WhenOpened": "2025-01-29T23:22:53.18Z",
76
80
  "EditorCaption": ""
@@ -83,29 +87,42 @@
83
87
  "RelativeDocumentMoniker": "index.ts",
84
88
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts",
85
89
  "RelativeToolTip": "index.ts",
86
- "ViewState": "AQIAACgAAAAAAAAAAADwvzMAAAAEAAAA",
90
+ "ViewState": "AQIAAOIIAAAAAAAAAAAAAOcIAAAAAAAA",
87
91
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
88
- "WhenOpened": "2025-01-29T14:51:05.763Z",
92
+ "WhenOpened": "2025-01-29T23:46:37.773Z",
89
93
  "EditorCaption": ""
90
94
  }
91
95
  ]
92
96
  },
93
97
  {
94
- "DockedWidth": 200,
95
- "SelectedChildIndex": 0,
98
+ "DockedWidth": 232,
99
+ "SelectedChildIndex": 1,
96
100
  "Children": [
97
101
  {
98
102
  "$type": "Document",
99
- "DocumentIndex": 0,
103
+ "DocumentIndex": 3,
100
104
  "Title": "hybridspa.ts",
101
105
  "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\hybridspa.ts",
102
106
  "RelativeDocumentMoniker": "hybridspa.ts",
103
107
  "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\hybridspa.ts",
104
108
  "RelativeToolTip": "hybridspa.ts",
105
- "ViewState": "AQIAAH4BAAAAAAAAAADwv5UBAAAiAAAA",
109
+ "ViewState": "AQIAAAAAAAAAAAAAAAAAABQAAAAXAAAA",
106
110
  "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
107
111
  "WhenOpened": "2024-11-04T14:16:26.493Z",
108
112
  "EditorCaption": ""
113
+ },
114
+ {
115
+ "$type": "Document",
116
+ "DocumentIndex": 0,
117
+ "Title": "index.ts",
118
+ "DocumentMoniker": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts",
119
+ "RelativeDocumentMoniker": "index.ts",
120
+ "ToolTip": "C:\\Users\\ArvindSuthar\\source\\repos\\front\\sync\\index.ts",
121
+ "RelativeToolTip": "index.ts",
122
+ "ViewState": "AQIAAL0HAAAAAAAAAADgv9sHAAA1AAAA",
123
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003213|",
124
+ "WhenOpened": "2025-01-29T14:51:05.763Z",
125
+ "EditorCaption": ""
109
126
  }
110
127
  ]
111
128
  },
package/index.ts CHANGED
@@ -2002,7 +2002,14 @@ export async function configsRefresh(instance: IPublicClientApplication, authori
2002
2002
  let result: APIResult = await configsGet(instance, authorizedUser, workspace.id, debug);
2003
2003
  if (!result.result) return result;
2004
2004
  // process returned workspace components
2005
- processReturnedConfigs(workspace, ii, result.array!);
2005
+ let configSelectedId: string = "";
2006
+ for (let cid of workspace.associatedConfigs) {
2007
+ let config = ii.cs.find((c: Config) => c.id === cid);
2008
+ if (config != null && config.sel) {
2009
+ configSelectedId = config.id;
2010
+ }
2011
+ }
2012
+ processReturnedConfigs(workspace, ii, result.array!, configSelectedId);
2006
2013
  // tag components with workspaceIDs
2007
2014
  ii.tagWithWorkspaces();
2008
2015
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mindline/sync",
3
3
  "type": "module",
4
- "version": "1.0.84",
4
+ "version": "1.0.85",
5
5
  "types": "index.d.ts",
6
6
  "exports": "./index.ts",
7
7
  "description": "sync is a node.js package encapsulating javscript classes required for configuring Mindline sync service.",