@awarevue/api-types 2.0.150 → 2.0.151
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,4 +1,5 @@
|
|
|
1
1
|
import { JSONSchema4 } from 'json-schema';
|
|
2
|
+
import z from 'zod';
|
|
2
3
|
import { UiHint } from '../../objects';
|
|
3
4
|
export interface SaveProviderConfigRq {
|
|
4
5
|
provider: string;
|
|
@@ -17,3 +18,8 @@ export interface ModuleConfigSpecs {
|
|
|
17
18
|
default: Record<string, unknown>;
|
|
18
19
|
uiHints?: UiHint[];
|
|
19
20
|
}
|
|
21
|
+
export declare const sModuleConfig: z.ZodObject<{
|
|
22
|
+
app: z.ZodObject<{
|
|
23
|
+
modules: z.ZodArray<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
}, z.core.$catchall<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.sModuleConfig = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.sModuleConfig = zod_1.default
|
|
9
|
+
.object({ app: zod_1.default.object({ modules: zod_1.default.array(zod_1.default.string()) }) })
|
|
10
|
+
.catchall(zod_1.default.record(zod_1.default.string(), zod_1.default.unknown()));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigState } from '../../objects/device/changeset';
|
|
2
2
|
import { AccessControlCapabilityReport } from '../agent-metadata';
|
|
3
|
-
import {
|
|
3
|
+
import { ModuleConfigMetadata } from '../module-config';
|
|
4
4
|
export declare const SERVER = "server";
|
|
5
5
|
export type AccessControlProviderState = AccessControlCapabilityReport & {
|
|
6
6
|
syncInProgress: boolean;
|
|
@@ -12,7 +12,6 @@ export type AccessControlProviderState = AccessControlCapabilityReport & {
|
|
|
12
12
|
export type ServerState = {
|
|
13
13
|
activeProviders: string[];
|
|
14
14
|
configMetadata: ModuleConfigMetadata;
|
|
15
|
-
config: ModuleConfig;
|
|
16
15
|
runnableProviders: string[];
|
|
17
16
|
accessControlProviders: Record<string, AccessControlProviderState>;
|
|
18
17
|
citadelMode: boolean;
|
package/dist/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.151",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.151",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|