@mindline/sync 1.0.101 → 1.0.102

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindline/sync",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "sync is a node.js package encapsulating JavaScript classes required for configuring Mindline sync service.",
5
5
  "main": "dist/sync.es.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.d.ts CHANGED
@@ -154,11 +154,15 @@ declare module "@mindline/sync" {
154
154
  name: string;
155
155
  description: string;
156
156
  isEnabled: boolean;
157
+ isReadPermissionConsented: boolean;
157
158
  email: string;
158
159
  tenantId: string;
159
160
  sel: boolean; // selection state
160
161
  constructor();
161
162
  }
163
+
164
+ export type ConfigType = 'sync' | 'auditlogs';
165
+
162
166
  // class to group Users, Tenants, and Configs
163
167
  export class Workspace {
164
168
  id: string;
@@ -176,6 +180,7 @@ declare module "@mindline/sync" {
176
180
  us: User[];
177
181
  ts: Tenant[];
178
182
  cs: Config[];
183
+ acs: AuditConfig[];
179
184
  ws: Workspace[];
180
185
  configlevelconsent_configid: string;
181
186
  configlevelconsent_access: TenantConfigType;
package/src/index.ts CHANGED
@@ -167,6 +167,7 @@ export class User {
167
167
  this.loggingIn = false;
168
168
  }
169
169
  }
170
+
170
171
  export enum TenantType {
171
172
  invalid = 0,
172
173
  aad = 1,