@contember/schema 1.1.1 → 1.2.0-alpha.10
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/dist/src/index.d.ts +6 -6
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/schema/acl.d.ts +36 -16
- package/dist/src/schema/acl.d.ts.map +1 -1
- package/dist/src/schema/acl.js +3 -2
- package/dist/src/schema/acl.js.map +1 -1
- package/dist/src/schema/input.d.ts +3 -4
- package/dist/src/schema/input.d.ts.map +1 -1
- package/dist/src/schema/input.js +2 -2
- package/dist/src/schema/input.js.map +1 -1
- package/dist/src/schema/model.d.ts +11 -4
- package/dist/src/schema/model.d.ts.map +1 -1
- package/dist/src/schema/model.js +3 -3
- package/dist/src/schema/model.js.map +1 -1
- package/dist/src/schema/result.d.ts +2 -3
- package/dist/src/schema/result.d.ts.map +1 -1
- package/dist/src/schema/result.js +2 -2
- package/dist/src/schema/result.js.map +1 -1
- package/dist/src/schema/validation.d.ts +1 -2
- package/dist/src/schema/validation.d.ts.map +1 -1
- package/dist/src/schema/validation.js +2 -2
- package/dist/src/schema/validation.js.map +1 -1
- package/dist/src/schema/value.d.ts +2 -3
- package/dist/src/schema/value.d.ts.map +1 -1
- package/dist/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/index.ts +6 -6
- package/src/schema/acl.ts +56 -24
- package/src/schema/input.ts +3 -5
- package/src/schema/model.ts +13 -5
- package/src/schema/result.ts +2 -4
- package/src/schema/validation.ts +1 -3
- package/src/schema/value.ts +2 -6
package/dist/src/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Input from './schema/input';
|
|
2
|
-
import Model from './schema/model';
|
|
3
|
-
import Acl from './schema/acl';
|
|
4
|
-
import Validation from './schema/validation';
|
|
5
|
-
import Value from './schema/value';
|
|
6
|
-
import Result from './schema/result';
|
|
1
|
+
import { Input } from './schema/input';
|
|
2
|
+
import { Model } from './schema/model';
|
|
3
|
+
import { Acl } from './schema/acl';
|
|
4
|
+
import { Validation } from './schema/validation';
|
|
5
|
+
import { Value } from './schema/value';
|
|
6
|
+
import { Result } from './schema/result';
|
|
7
7
|
export * from './ProjectRole';
|
|
8
8
|
export * from './schema/json';
|
|
9
9
|
declare type Schema = {
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAE7B,aAAK,MAAM,GAAG;IACb,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAA;IAC5B,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAA;IACxB,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAA;CACtC,CAAA;AAED,oBAAY,QAAQ,CAAC,CAAC,IAAI;IAAC,CAAC,UAAU,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAC,CAAA;AAE1D,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
|
package/dist/src/index.js
CHANGED
|
@@ -16,15 +16,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.Result = exports.Validation = exports.Acl = exports.Model = exports.Input = void 0;
|
|
18
18
|
const input_1 = require("./schema/input");
|
|
19
|
-
exports
|
|
19
|
+
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return input_1.Input; } });
|
|
20
20
|
const model_1 = require("./schema/model");
|
|
21
|
-
exports
|
|
21
|
+
Object.defineProperty(exports, "Model", { enumerable: true, get: function () { return model_1.Model; } });
|
|
22
22
|
const acl_1 = require("./schema/acl");
|
|
23
|
-
exports
|
|
23
|
+
Object.defineProperty(exports, "Acl", { enumerable: true, get: function () { return acl_1.Acl; } });
|
|
24
24
|
const validation_1 = require("./schema/validation");
|
|
25
|
-
exports
|
|
25
|
+
Object.defineProperty(exports, "Validation", { enumerable: true, get: function () { return validation_1.Validation; } });
|
|
26
26
|
const result_1 = require("./schema/result");
|
|
27
|
-
exports
|
|
27
|
+
Object.defineProperty(exports, "Result", { enumerable: true, get: function () { return result_1.Result; } });
|
|
28
28
|
__exportStar(require("./ProjectRole"), exports);
|
|
29
29
|
__exportStar(require("./schema/json"), exports);
|
|
30
30
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0CAAsC;AAkB7B,sFAlBA,aAAK,OAkBA;AAjBd,0CAAsC;AAiBtB,sFAjBP,aAAK,OAiBO;AAhBrB,sCAAkC;AAgBX,oFAhBd,SAAG,OAgBc;AAf1B,oDAAgD;AAeZ,2FAf3B,uBAAU,OAe2B;AAb9C,4CAAwC;AAae,uFAb9C,eAAM,OAa8C;AAX7D,gDAA6B;AAC7B,gDAA6B"}
|
package/dist/src/schema/acl.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import Input from './input';
|
|
1
|
+
import { Input } from './input';
|
|
2
2
|
import { JSONValue } from './json';
|
|
3
|
-
declare namespace Acl {
|
|
3
|
+
export declare namespace Acl {
|
|
4
4
|
enum VariableType {
|
|
5
5
|
entity = "entity",
|
|
6
|
-
predefined = "predefined"
|
|
6
|
+
predefined = "predefined",
|
|
7
|
+
condition = "condition"
|
|
7
8
|
}
|
|
8
|
-
type Variable = EntityVariable | PredefinedVariable;
|
|
9
|
+
type Variable = EntityVariable | PredefinedVariable | ConditionVariable;
|
|
9
10
|
type EntityVariable = {
|
|
10
11
|
readonly type: VariableType.entity;
|
|
11
12
|
readonly entityName: string;
|
|
@@ -15,9 +16,8 @@ declare namespace Acl {
|
|
|
15
16
|
readonly type: VariableType.predefined;
|
|
16
17
|
readonly value: PredefinedVariableValue;
|
|
17
18
|
};
|
|
18
|
-
type
|
|
19
|
-
|
|
20
|
-
readonly [name: string]: VariableValue;
|
|
19
|
+
type ConditionVariable = {
|
|
20
|
+
readonly type: VariableType.condition;
|
|
21
21
|
};
|
|
22
22
|
type PredicateVariable = string;
|
|
23
23
|
type PredicateDefinition<E = never> = Input.Where<PredicateVariable | Input.Condition | E>;
|
|
@@ -48,18 +48,20 @@ declare namespace Acl {
|
|
|
48
48
|
type Predicate = PredicateReference | boolean;
|
|
49
49
|
type AnyStage = '*';
|
|
50
50
|
type StagesDefinition = AnyStage | readonly string[];
|
|
51
|
-
type
|
|
52
|
-
type
|
|
53
|
-
readonly [
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
type MembershipVariableMatchRule = true | string;
|
|
52
|
+
type MembershipVariablesMatchRule = true | {
|
|
53
|
+
readonly [targetVariable: string]: MembershipVariableMatchRule;
|
|
54
|
+
};
|
|
55
|
+
type MembershipRoleMatchRule = true | {
|
|
56
|
+
readonly variables?: MembershipVariablesMatchRule;
|
|
57
|
+
};
|
|
58
|
+
type MembershipMatchRule = {
|
|
59
|
+
readonly [role: string]: MembershipRoleMatchRule;
|
|
58
60
|
};
|
|
59
61
|
type TenantPermissions = {
|
|
60
62
|
readonly invite?: boolean;
|
|
61
63
|
readonly unmanagedInvite?: boolean;
|
|
62
|
-
readonly manage?:
|
|
64
|
+
readonly manage?: MembershipMatchRule;
|
|
63
65
|
};
|
|
64
66
|
enum SystemPermissionsLevel {
|
|
65
67
|
none = "none",
|
|
@@ -74,12 +76,20 @@ declare namespace Acl {
|
|
|
74
76
|
readonly history?: boolean | LimitedSystemPermissionsLevel;
|
|
75
77
|
readonly migrate?: boolean;
|
|
76
78
|
readonly assumeIdentity?: boolean;
|
|
79
|
+
readonly export?: boolean;
|
|
80
|
+
readonly import?: boolean;
|
|
81
|
+
};
|
|
82
|
+
type ContentPermissions = {
|
|
83
|
+
readonly assumeMembership?: MembershipMatchRule;
|
|
84
|
+
readonly export?: boolean;
|
|
85
|
+
readonly import?: boolean;
|
|
77
86
|
};
|
|
78
87
|
interface BaseRolePermissions {
|
|
79
88
|
readonly inherits?: readonly string[];
|
|
80
89
|
readonly implicit?: boolean;
|
|
81
90
|
readonly tenant?: TenantPermissions;
|
|
82
91
|
readonly system?: SystemPermissions;
|
|
92
|
+
readonly content?: ContentPermissions;
|
|
83
93
|
readonly variables: Acl.Variables;
|
|
84
94
|
readonly stages?: StagesDefinition;
|
|
85
95
|
readonly entities: Permissions;
|
|
@@ -100,6 +110,16 @@ declare namespace Acl {
|
|
|
100
110
|
readonly customPrimary?: boolean;
|
|
101
111
|
readonly roles: Acl.Roles;
|
|
102
112
|
};
|
|
113
|
+
type VariablesMap = {
|
|
114
|
+
readonly [name: string]: Input.Condition;
|
|
115
|
+
};
|
|
116
|
+
interface MembershipVariable {
|
|
117
|
+
readonly name: string;
|
|
118
|
+
readonly values: readonly string[];
|
|
119
|
+
}
|
|
120
|
+
interface Membership {
|
|
121
|
+
readonly role: string;
|
|
122
|
+
readonly variables: readonly MembershipVariable[];
|
|
123
|
+
}
|
|
103
124
|
}
|
|
104
|
-
export default Acl;
|
|
105
125
|
//# sourceMappingURL=acl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acl.d.ts","sourceRoot":"","sources":["../../../src/schema/acl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"acl.d.ts","sourceRoot":"","sources":["../../../src/schema/acl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAElC,yBAAiB,GAAG,CAAC;IACpB,KAAY,YAAY;QACvB,MAAM,WAAW;QACjB,UAAU,eAAe;QACzB,SAAS,cAAc;KAKvB;IAED,KAAY,QAAQ,GACjB,cAAc,GACd,kBAAkB,GAClB,iBAAiB,CAAA;IAKpB,KAAY,cAAc,GAAG;QAC5B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAA;QAClC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;KAC3B,CAAA;IAED,KAAY,uBAAuB,GAAG,YAAY,GAAG,UAAU,CAAA;IAC/D,KAAY,kBAAkB,GAAG;QAChC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC,UAAU,CAAA;QACtC,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAA;KACvC,CAAA;IAGD,KAAY,iBAAiB,GAAG;QAC/B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC,SAAS,CAAA;KACrC,CAAA;IAaD,KAAY,iBAAiB,GAAG,MAAM,CAAA;IACtC,KAAY,mBAAmB,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,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CAAC,SAAS,CAAA;QACjC,QAAQ,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAA;QAClC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAA;KAC9B;IACD,KAAY,eAAe,GACxB,mBAAmB,GACnB;QACD,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAI,SAAS,CAAA;KAClC,CAAA;IACF,KAAY,WAAW,GAAG;QACzB,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAG,iBAAiB,CAAA;KAC5C,CAAA;IAED,KAAY,KAAK,GAAG;QAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,eAAe,CAAA;KAAE,CAAA;IAChE,KAAY,SAAS,GAAG;QAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAA;KAAE,CAAA;IAE7D,KAAY,MAAM,GAAG;QACpB,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;QAChC,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,CAAA;KACzB,CAAA;IAED,KAAY,YAAY,GAAG;QAC1B,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;KACxC,CAAA;IAED,UAAiB,kBAAkB;QAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;QACrB,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;KAClC;IAED,UAAiB,UAAU;QAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;QACrB,QAAQ,CAAC,SAAS,EAAE,SAAS,kBAAkB,EAAE,CAAA;KACjD;CACD"}
|
package/dist/src/schema/acl.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Acl = void 0;
|
|
3
4
|
var Acl;
|
|
4
5
|
(function (Acl) {
|
|
5
6
|
let VariableType;
|
|
6
7
|
(function (VariableType) {
|
|
7
8
|
VariableType["entity"] = "entity";
|
|
8
9
|
VariableType["predefined"] = "predefined";
|
|
10
|
+
VariableType["condition"] = "condition";
|
|
9
11
|
// currently unsupported
|
|
10
12
|
// enum = 'enum',
|
|
11
13
|
// column = 'column',
|
|
@@ -23,6 +25,5 @@ var Acl;
|
|
|
23
25
|
SystemPermissionsLevel["any"] = "any";
|
|
24
26
|
SystemPermissionsLevel["some"] = "some";
|
|
25
27
|
})(SystemPermissionsLevel = Acl.SystemPermissionsLevel || (Acl.SystemPermissionsLevel = {}));
|
|
26
|
-
})(Acl || (Acl = {}));
|
|
27
|
-
exports.default = Acl;
|
|
28
|
+
})(Acl = exports.Acl || (exports.Acl = {}));
|
|
28
29
|
//# sourceMappingURL=acl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acl.js","sourceRoot":"","sources":["../../../src/schema/acl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"acl.js","sourceRoot":"","sources":["../../../src/schema/acl.ts"],"names":[],"mappings":";;;AAGA,IAAiB,GAAG,CAwKnB;AAxKD,WAAiB,GAAG;IACnB,IAAY,YAQX;IARD,WAAY,YAAY;QACvB,iCAAiB,CAAA;QACjB,yCAAyB,CAAA;QACzB,uCAAuB,CAAA;QAEvB,wBAAwB;QACxB,iBAAiB;QACjB,qBAAqB;IACtB,CAAC,EARW,YAAY,GAAZ,gBAAY,KAAZ,gBAAY,QAQvB;IA+CD,IAAY,SAKX;IALD,WAAY,SAAS;QACpB,0BAAa,CAAA;QACb,8BAAiB,CAAA;QACjB,8BAAiB,CAAA;QACjB,8BAAiB,CAAA;IAClB,CAAC,EALW,SAAS,GAAT,aAAS,KAAT,aAAS,QAKpB;IA0CD,IAAY,sBAIX;IAJD,WAAY,sBAAsB;QACjC,uCAAa,CAAA;QACb,qCAAW,CAAA;QACX,uCAAa,CAAA;IACd,CAAC,EAJW,sBAAsB,GAAtB,0BAAsB,KAAtB,0BAAsB,QAIjC;AA6DF,CAAC,EAxKgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAwKnB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Value from './value';
|
|
2
|
-
declare namespace Input {
|
|
1
|
+
import { Value } from './value';
|
|
2
|
+
export declare namespace Input {
|
|
3
3
|
type PrimaryValue<E = never> = Value.PrimaryValue<E>;
|
|
4
4
|
type ColumnValue<E = never> = Value.FieldValue<E>;
|
|
5
5
|
enum UpdateRelationOperation {
|
|
@@ -124,9 +124,9 @@ declare namespace Input {
|
|
|
124
124
|
readonly or?: readonly Condition<T>[];
|
|
125
125
|
readonly not?: Condition<T>;
|
|
126
126
|
readonly eq?: T;
|
|
127
|
+
readonly notEq?: T;
|
|
127
128
|
readonly null?: boolean;
|
|
128
129
|
readonly isNull?: boolean;
|
|
129
|
-
readonly notEq?: T;
|
|
130
130
|
readonly in?: readonly T[];
|
|
131
131
|
readonly notIn?: readonly T[];
|
|
132
132
|
readonly lt?: T;
|
|
@@ -160,5 +160,4 @@ declare namespace Input {
|
|
|
160
160
|
updatable = "updatable"
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
export default Input;
|
|
164
163
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/schema/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/schema/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,yBAAiB,KAAK,CAAC;IACtB,KAAY,YAAY,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAA;IAC3D,KAAY,WAAW,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAA;IAExD,KAAY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CAAC,GAAG,GAAG,CAAC,EAAE,CAAA;QAC9C,QAAQ,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;KAC5B,CAAA;IAED,UAAiB,UAAU,CAAC,CAAC,GAAG,SAAS,EAAE,GAAG,GAAG,KAAK;QACrD,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,GAAI,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,GAAG,CAAC,EAAE,CAAA;KAC9E;IAED,KAAY,KAAK,CAAC,CAAC,GAAG,SAAS,EAAE,GAAG,GAAG,KAAK,IAAI,aAAa,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;IAE1F,KAAY,aAAa,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAAA;IAE9F,KAAY,SAAS;QACpB,QAAQ,aAAa;QACrB,SAAS,cAAc;KACvB;CACD"}
|
package/dist/src/schema/input.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Input = void 0;
|
|
3
4
|
var Input;
|
|
4
5
|
(function (Input) {
|
|
5
6
|
let UpdateRelationOperation;
|
|
@@ -28,6 +29,5 @@ var Input;
|
|
|
28
29
|
FieldMeta["readable"] = "readable";
|
|
29
30
|
FieldMeta["updatable"] = "updatable";
|
|
30
31
|
})(FieldMeta = Input.FieldMeta || (Input.FieldMeta = {}));
|
|
31
|
-
})(Input || (Input = {}));
|
|
32
|
-
exports.default = Input;
|
|
32
|
+
})(Input = exports.Input || (exports.Input = {}));
|
|
33
33
|
//# sourceMappingURL=input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/schema/input.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/schema/input.ts"],"names":[],"mappings":";;;AAEA,IAAiB,KAAK,CAsMrB;AAtMD,WAAiB,KAAK;IAIrB,IAAY,uBAOX;IAPD,WAAY,uBAAuB;QAClC,8CAAmB,CAAA;QACnB,oDAAyB,CAAA;QACzB,4CAAiB,CAAA;QACjB,4CAAiB,CAAA;QACjB,4CAAiB,CAAA;QACjB,4CAAiB,CAAA;IAClB,CAAC,EAPW,uBAAuB,GAAvB,6BAAuB,KAAvB,6BAAuB,QAOlC;IAED,IAAY,uBAGX;IAHD,WAAY,uBAAuB;QAClC,8CAAmB,CAAA;QACnB,4CAAiB,CAAA;IAClB,CAAC,EAHW,uBAAuB,GAAvB,6BAAuB,KAAvB,6BAAuB,QAGlC;IAwHD,IAAY,cAKX;IALD,WAAY,cAAc;QACzB,6BAAW,CAAA;QACX,kDAAgC,CAAA;QAChC,+BAAa,CAAA;QACb,mDAAiC,CAAA;IAClC,CAAC,EALW,cAAc,GAAd,oBAAc,KAAd,oBAAc,QAKzB;IAqDD,IAAY,SAGX;IAHD,WAAY,SAAS;QACpB,kCAAqB,CAAA;QACrB,oCAAuB,CAAA;IACxB,CAAC,EAHW,SAAS,GAAT,eAAS,KAAT,eAAS,QAGpB;AACF,CAAC,EAtMgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAsMrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Input from './input';
|
|
2
|
-
declare namespace Model {
|
|
1
|
+
import { Input } from './input';
|
|
2
|
+
export declare namespace Model {
|
|
3
3
|
type Entity = {
|
|
4
4
|
readonly name: string;
|
|
5
5
|
readonly primary: string;
|
|
@@ -9,6 +9,7 @@ declare namespace Model {
|
|
|
9
9
|
readonly [name: string]: AnyField;
|
|
10
10
|
};
|
|
11
11
|
readonly unique: UniqueConstraints;
|
|
12
|
+
readonly indexes: Indexes;
|
|
12
13
|
readonly view?: View;
|
|
13
14
|
readonly eventLog: EventLogConfig;
|
|
14
15
|
};
|
|
@@ -54,7 +55,7 @@ declare namespace Model {
|
|
|
54
55
|
visitColumn(entity: Entity, column: AnyColumn): T;
|
|
55
56
|
}
|
|
56
57
|
interface RelationVisitor<T> {
|
|
57
|
-
visitRelation(entity: Entity, relation: Relation, targetEntity: Entity, targetRelation:
|
|
58
|
+
visitRelation(entity: Entity, relation: Relation, targetEntity: Entity, targetRelation: AnyRelation | null): T;
|
|
58
59
|
}
|
|
59
60
|
type FieldVisitor<T> = ColumnVisitor<T> & (RelationVisitor<T> | RelationByTypeVisitor<T> | RelationByGenericTypeVisitor<T>);
|
|
60
61
|
interface RelationByTypeVisitor<T> {
|
|
@@ -158,6 +159,12 @@ declare namespace Model {
|
|
|
158
159
|
readonly fields: readonly string[];
|
|
159
160
|
readonly name: string;
|
|
160
161
|
};
|
|
162
|
+
type Indexes = {
|
|
163
|
+
readonly [name: string]: Index;
|
|
164
|
+
};
|
|
165
|
+
type Index = {
|
|
166
|
+
readonly fields: readonly string[];
|
|
167
|
+
readonly name: string;
|
|
168
|
+
};
|
|
161
169
|
}
|
|
162
|
-
export default Model;
|
|
163
170
|
//# sourceMappingURL=model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/schema/model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/schema/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,yBAAiB,KAAK,CAAC;IAEtB,KAAY,MAAM,GAAG;QACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;QACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,C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AAA;IAEhE,KAAY,MAAM,GAAG;QACpB,QAAQ,CAAC,KAAK,EAAE;YAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAAA;SAAE,CAAA;QAC9D,QAAQ,CAAC,QAAQ,EAAE;YAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAA;KACtD,CAAA;IAED,KAAY,iBAAiB,GAAG;QAC/B,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAAA;KACzC,CAAA;IAED,KAAY,gBAAgB,GAAG;QAC9B,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;QAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KACrB,CAAA;IAED,KAAY,OAAO,GAAG;QACrB,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,KAAK,CAAA;KAC9B,CAAA;IAED,KAAY,KAAK,GAAG;QACnB,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;QAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KACrB,CAAA;CACD"}
|
package/dist/src/schema/model.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Model = void 0;
|
|
3
4
|
const input_1 = require("./input");
|
|
4
5
|
var Model;
|
|
5
6
|
(function (Model) {
|
|
@@ -28,7 +29,6 @@ var Model;
|
|
|
28
29
|
OnDelete["restrict"] = "restrict";
|
|
29
30
|
OnDelete["setNull"] = "set null";
|
|
30
31
|
})(OnDelete = Model.OnDelete || (Model.OnDelete = {}));
|
|
31
|
-
Model.OrderDirection = input_1.
|
|
32
|
-
})(Model || (Model = {}));
|
|
33
|
-
exports.default = Model;
|
|
32
|
+
Model.OrderDirection = input_1.Input.OrderDirection;
|
|
33
|
+
})(Model = exports.Model || (exports.Model = {}));
|
|
34
34
|
//# sourceMappingURL=model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/schema/model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/schema/model.ts"],"names":[],"mappings":";;;AAAA,mCAA+B;AAE/B,IAAiB,KAAK,CA8RrB;AA9RD,WAAiB,KAAK;IA+BrB,IAAY,UAUX;IAVD,WAAY,UAAU;QACrB,2BAAa,CAAA;QACb,+BAAiB,CAAA;QACjB,6BAAe,CAAA;QACf,+BAAiB,CAAA;QACjB,2BAAa,CAAA;QACb,2BAAa,CAAA;QACb,mCAAqB,CAAA;QACrB,2BAAa,CAAA;QACb,2BAAa,CAAA;IACd,CAAC,EAVW,UAAU,GAAV,gBAAU,KAAV,gBAAU,QAUrB;IA2FD,IAAY,YAKX;IALD,WAAY,YAAY;QACvB,uCAAuB,CAAA;QACvB,yCAAyB,CAAA;QACzB,yCAAyB,CAAA;QACzB,2CAA2B,CAAA;IAC5B,CAAC,EALW,YAAY,GAAZ,kBAAY,KAAZ,kBAAY,QAKvB;IA2CD,IAAY,QAIX;IAJD,WAAY,QAAQ;QACnB,+BAAmB,CAAA;QACnB,iCAAqB,CAAA;QACrB,gCAAoB,CAAA;IACrB,CAAC,EAJW,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAInB;IA0Ba,oBAAc,GAAG,aAAK,CAAC,cAAc,CAAA;AA4EpD,CAAC,EA9RgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA8RrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Value from './value';
|
|
2
|
-
declare namespace Result {
|
|
1
|
+
import { Value } from './value';
|
|
2
|
+
export declare namespace Result {
|
|
3
3
|
type MutationFieldResult = CreateResult | UpdateResult | DeleteResult | UpsertResult;
|
|
4
4
|
interface CreateResult {
|
|
5
5
|
ok: boolean;
|
|
@@ -68,5 +68,4 @@ declare namespace Result {
|
|
|
68
68
|
text: string;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
export default Result;
|
|
72
71
|
//# sourceMappingURL=result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../../src/schema/result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../../src/schema/result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,yBAAiB,MAAM,CAAC;IACvB,KAAY,mBAAmB,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY,GAAG,YAAY,CAAA;IAE3F,UAAiB,YAAY;QAC5B,EAAE,EAAE,OAAO,CAAA;QACX,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,cAAc,EAAE,CAAA;QACxB,UAAU,EAAE,gBAAgB,CAAA;QAC5B,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAA;KACzB;IAED,UAAiB,YAAY;QAC5B,EAAE,EAAE,OAAO,CAAA;QACX,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,cAAc,EAAE,CAAA;QACxB,UAAU,EAAE,gBAAgB,CAAA;QAC5B,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAA;KACzB;IAED,UAAiB,YAAY;QAC5B,EAAE,EAAE,OAAO,CAAA;QACX,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,cAAc,EAAE,CAAA;QACxB,UAAU,EAAE,gBAAgB,CAAA;QAC5B,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAA;KACzB;IAED,UAAiB,YAAY;QAC5B,EAAE,EAAE,OAAO,CAAA;QACX,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,cAAc,EAAE,CAAA;QACxB,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAA;KACzB;IAED,UAAiB,iBAAiB;QACjC,EAAE,EAAE,OAAO,CAAA;QACX,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,cAAc,EAAE,CAAA;QACxB,UAAU,EAAE,gBAAgB,CAAA;KAC5B;IAED,UAAiB,gBAAgB;QAChC,KAAK,EAAE,OAAO,CAAA;QACd,MAAM,EAAE,eAAe,EAAE,CAAA;KACzB;IAED,UAAiB,eAAe;QAC/B,IAAI,EAAE,YAAY,EAAE,CAAA;QACpB,OAAO,EAAE,iBAAiB,CAAA;KAC1B;IAED,KAAY,kBAAkB;QAC7B,0BAA0B,+BAA+B;QACzD,yBAAyB,8BAA8B;QACvD,6BAA6B,kCAAkC;QAC/D,gBAAgB,qBAAqB;QACrC,mBAAmB,wBAAwB;QAC3C,gBAAgB,qBAAqB;QACrC,QAAQ,aAAa;KACrB;IAED,UAAiB,cAAc;QAC9B,kBAAkB;QAClB,IAAI,EAAE,YAAY,EAAE,CAAA;QACpB,KAAK,EAAE,YAAY,EAAE,EAAE,CAAA;QACvB,IAAI,EAAE,kBAAkB,CAAA;QACxB,OAAO,CAAC,EAAE,MAAM,CAAA;KAChB;IAED,KAAY,YAAY,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAEhF,UAAiB,iBAAiB;QACjC,IAAI,EAAE,MAAM,CAAA;KACZ;CACD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Result = void 0;
|
|
3
4
|
var Result;
|
|
4
5
|
(function (Result) {
|
|
5
6
|
let ExecutionErrorType;
|
|
@@ -12,6 +13,5 @@ var Result;
|
|
|
12
13
|
ExecutionErrorType["InvalidDataInput"] = "InvalidDataInput";
|
|
13
14
|
ExecutionErrorType["SqlError"] = "SqlError";
|
|
14
15
|
})(ExecutionErrorType = Result.ExecutionErrorType || (Result.ExecutionErrorType = {}));
|
|
15
|
-
})(Result || (Result = {}));
|
|
16
|
-
exports.default = Result;
|
|
16
|
+
})(Result = exports.Result || (exports.Result = {}));
|
|
17
17
|
//# sourceMappingURL=result.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result.js","sourceRoot":"","sources":["../../../src/schema/result.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"result.js","sourceRoot":"","sources":["../../../src/schema/result.ts"],"names":[],"mappings":";;;AAEA,IAAiB,MAAM,CA0EtB;AA1ED,WAAiB,MAAM;IAmDtB,IAAY,kBAQX;IARD,WAAY,kBAAkB;QAC7B,+EAAyD,CAAA;QACzD,6EAAuD,CAAA;QACvD,qFAA+D,CAAA;QAC/D,2DAAqC,CAAA;QACrC,iEAA2C,CAAA;QAC3C,2DAAqC,CAAA;QACrC,2CAAqB,CAAA;IACtB,CAAC,EARW,kBAAkB,GAAlB,yBAAkB,KAAlB,yBAAkB,QAQ7B;AAeF,CAAC,EA1EgB,MAAM,GAAN,cAAM,KAAN,cAAM,QA0EtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSONValue } from './json';
|
|
2
|
-
declare namespace Validation {
|
|
2
|
+
export declare namespace Validation {
|
|
3
3
|
type ContextPath = readonly string[];
|
|
4
4
|
enum ArgumentType {
|
|
5
5
|
validator = "validator",
|
|
@@ -56,5 +56,4 @@ declare namespace Validation {
|
|
|
56
56
|
readonly [entity: string]: EntityRules;
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
export default Validation;
|
|
60
59
|
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/schema/validation.ts"],"names":[],"mappings":"AAAA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AC7B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;KACzB,CAAA;IAED,KAAY,WAAW,GAAG;QACzB,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,cAAc,EAAE,CAAA;KACnD,CAAA;IAED,KAAY,MAAM,GAAG;QACpB,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAG,WAAW,CAAA;KACtC,CAAA;CACD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Validation = void 0;
|
|
3
4
|
var Validation;
|
|
4
5
|
(function (Validation) {
|
|
5
6
|
let ArgumentType;
|
|
@@ -8,6 +9,5 @@ var Validation;
|
|
|
8
9
|
ArgumentType["path"] = "path";
|
|
9
10
|
ArgumentType["literal"] = "literal";
|
|
10
11
|
})(ArgumentType = Validation.ArgumentType || (Validation.ArgumentType = {}));
|
|
11
|
-
})(Validation || (Validation = {}));
|
|
12
|
-
exports.default = Validation;
|
|
12
|
+
})(Validation = exports.Validation || (exports.Validation = {}));
|
|
13
13
|
//# sourceMappingURL=validation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../src/schema/validation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../src/schema/validation.ts"],"names":[],"mappings":";;;AAEA,IAAiB,UAAU,CAiE1B;AAjED,WAAiB,UAAU;IAG1B,IAAY,YAIX;IAJD,WAAY,YAAY;QACvB,uCAAuB,CAAA;QACvB,6BAAa,CAAA;QACb,mCAAmB,CAAA;IACpB,CAAC,EAJW,YAAY,GAAZ,uBAAY,KAAZ,uBAAY,QAIvB;AA0DF,CAAC,EAjEgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAiE1B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare namespace Value {
|
|
1
|
+
export declare namespace Value {
|
|
2
2
|
type Object<E = never> = {
|
|
3
|
-
readonly [
|
|
3
|
+
readonly [K in string]?: FieldValue<E>;
|
|
4
4
|
};
|
|
5
5
|
type List<E = never> = readonly FieldValue<E>[];
|
|
6
6
|
type PrimaryValue<E = never> = string | number | E;
|
|
@@ -9,5 +9,4 @@ declare namespace Value {
|
|
|
9
9
|
type GenericValueLike<T> = T | PromiseLike<T> | (() => T | PromiseLike<T>);
|
|
10
10
|
type ColumnValueLike<E = never> = GenericValueLike<FieldValue<E>>;
|
|
11
11
|
}
|
|
12
|
-
export default Value;
|
|
13
12
|
//# sourceMappingURL=value.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../../src/schema/value.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../../src/schema/value.ts"],"names":[],"mappings":"AAAA,yBAAiB,KAAK,CAAC;IACtB,KAAY,MAAM,CAAC,CAAC,GAAG,KAAK,IAAI;QAAE,QAAQ,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC;KAAE,CAAA;IAE1E,KAAY,IAAI,CAAC,CAAC,GAAG,KAAK,IAAI,SAAS,UAAU,CAAC,CAAC,CAAC,EAAE,CAAA;IAEtD,KAAY,YAAY,CAAC,CAAC,GAAG,KAAK,IAAI,MAAM,GAAG,MAAM,GAAG,CAAC,CAAA;IAEzD,KAAY,WAAW,CAAC,CAAC,GAAG,KAAK,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,OAAO,CAAA;IACrE,KAAY,UAAU,CAAC,CAAC,GAAG,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;IAE9E,KAAY,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;IAEjF,KAAY,eAAe,CAAC,CAAC,GAAG,KAAK,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAA;CACxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/ProjectRole.ts","../../src/schema/value.ts","../../src/schema/input.ts","../../src/schema/model.ts","../../src/schema/json.ts","../../src/schema/acl.ts","../../src/schema/validation.ts","../../src/schema/result.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/accepts/index.d.ts","../../../../node_modules/@types/bcrypt/index.d.ts","../../../../node_modules/@types/connect/index.d.ts","../../../../node_modules/@types/body-parser/index.d.ts","../../../../node_modules/@types/keyv/index.d.ts","../../../../node_modules/@types/http-cache-semantics/index.d.ts","../../../../node_modules/@types/responselike/index.d.ts","../../../../node_modules/@types/cacheable-request/index.d.ts","../../../../node_modules/@types/caseless/index.d.ts","../../../../node_modules/@types/chai/index.d.ts","../../../../node_modules/@types/chai-subset/index.d.ts","../../../../node_modules/@types/content-disposition/index.d.ts","../../../../node_modules/@types/cookiejar/index.d.ts","../../../../node_modules/@types/keygrip/index.d.ts","../../../../node_modules/@types/range-parser/index.d.ts","../../../../node_modules/@types/qs/index.d.ts","../../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../../node_modules/@types/mime/index.d.ts","../../../../node_modules/@types/serve-static/index.d.ts","../../../../node_modules/@types/express/index.d.ts","../../../../node_modules/@types/cookies/index.d.ts","../../../../node_modules/@types/fs-extra/index.d.ts","../../../../node_modules/@types/http-assert/index.d.ts","../../../../node_modules/@types/http-errors/index.d.ts","../../../../node_modules/@types/http-proxy-agent/index.d.ts","../../../../node_modules/@types/js-yaml/index.d.ts","../../../../node_modules/@types/json-schema/index.d.ts","../../../../node_modules/@types/json-stable-stringify/index.d.ts","../../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../../node_modules/@types/koa-compose/index.d.ts","../../../../node_modules/@types/koa/index.d.ts","../../../../node_modules/@types/koa-bodyparser/index.d.ts","../../../../node_modules/@types/koa-compress/index.d.ts","../../../../node_modules/@types/koa__cors/index.d.ts","../../../../node_modules/@types/lru-cache/index.d.ts","../../../../node_modules/@types/mime-types/index.d.ts","../../../../node_modules/@types/mustache/index.d.ts","../../../../node_modules/@types/node-fetch/node_modules/form-data/index.d.ts","../../../../node_modules/@types/node-fetch/externals.d.ts","../../../../node_modules/@types/node-fetch/index.d.ts","../../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../../node_modules/@types/nodemailer/lib/xoauth2.d.ts","../../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../../node_modules/@types/nodemailer/lib/shared.d.ts","../../../../node_modules/@types/nodemailer/lib/json-transport.d.ts","../../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/ses-transport.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-transport.d.ts","../../../../node_modules/@types/nodemailer/lib/stream-transport.d.ts","../../../../node_modules/@types/nodemailer/index.d.ts","../../../../node_modules/@types/npm-package-arg/index.d.ts","../../../../node_modules/@types/parse-json/index.d.ts","../../../../node_modules/pg-types/index.d.ts","../../../../node_modules/pg-protocol/dist/messages.d.ts","../../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../../node_modules/pg-protocol/dist/parser.d.ts","../../../../node_modules/pg-protocol/dist/index.d.ts","../../../../node_modules/@types/pg/index.d.ts","../../../../node_modules/@types/prompts/index.d.ts","../../../../node_modules/@types/request/node_modules/form-data/index.d.ts","../../../../node_modules/@types/tough-cookie/index.d.ts","../../../../node_modules/@types/request/index.d.ts","../../../../node_modules/@sinonjs/fake-timers/types/fake-timers-src.d.ts","../../../../node_modules/@types/sinon/index.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/@types/superagent/index.d.ts","../../../../node_modules/@types/supertest/index.d.ts","../../../../node_modules/@types/uuid/index.d.ts","../../../../node_modules/@types/websocket/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2f93dda35dafec68ec217c9ce67f0f4fbbbb030c055ac312641565ad60dd7e26","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"6ea9ab679ea030cf46c16a711a316078e9e02619ebaf07a7fcd16964aba88f2d","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"b0d74cce9e676c2b6c48208ef6c1fabad459205f23e4dde2338c7829dff709ba","a4096660de85c0bceaac5ae625a765be1c410210de6a777e8fb1aff5f0799dd2","8e8a44598e40a5658927c5928f3b2143b365128f31237023d874eb25b0485915","51f6b27fe7c80209b6adfa4a2af77d9f643a3ca191ffd30d78385b8cd0a93fca","8400bff5f2de1f00f071ac265cf7fab8d6f3aeead7550e8973982c8822667b97","799a15110dd3bd07bd23b0c06299cd5f42729b3a56cd8e8c06b404d7d8da6b44","4adb14ab25aee6b40dc16c31c5b0113538564fc9db704bda99db6bd338fd0c88","456f42bb6d3e2fced9298d531b6b1314750afa87449f1dcb63fc34bd6119a4e8","aada796debaf97504c46b80719b473fc528ac3808c345ba62443357729e9b55c","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"2a801b0322994c3dd7f0ef30265d19b3dd3bae6d793596879166ed6219c3da68","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","bcc8caf03ee65fe8610d258752f255fbdddbb2e4de7b6c5628956a5a0d859ec8","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"cfe724f7c694aab65a9bdd1acb05997848c504548c9d4c71645c187a091cfa2a","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7","1835259a20b9fa6b1882931375b69ae5978195f2b139b4e0db51ec8319261649","28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"0b3eba6dca8c6e534d16ef7b7d76cb546cd3cbab616c8f71daa0a151b5412b9e","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","57ddc4e066366bbe04f497f9afce1c88e088dbd09be0618e072754450de3acbb","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","82169f198ffdfc787fba368ccfad2b2d8ef3712f3c696df94ac13f6884bbbe2d","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","5343f3c160282dfbaab9af350119a0c3b59b7076ef0117bb5995a66e240dab28",{"version":"c8747693e5872ad5ef3aa016731a06915e1c34dae987829d9aa5bd40c7a2c54b","affectsGlobalScope":true},{"version":"f4c0db3a49cea9babd5d224ba14243a6a6119bf65a65198994033aaea3a60a71","affectsGlobalScope":true},"e4dfe0e169e1cb3c8dd0713972e94e2141595c840ed7387623ac8b29fc6c35b8","8d48b8f8a377ade8dd1f000625bc276eea067f2529cc9cafdf082d17142107d6","ce013414484233b24f42c0fcfca48a60bb66ab4e13c82953662305e8f1ee4925","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"d2f7baf43dfa349d4010cbd9d64d84cdf3ec26c65fa5f44c8f74f052bedd0b49","affectsGlobalScope":true},"84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","0b85cb069d0e427ba946e5eb2d86ef65ffd19867042810516d16919f6c1a5aec","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","eb96a2321f717bccc3e49e104e299152984b927ea4546b559ae631c06565819c","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51","6168414aa12d33d0fcfac4f9870aa81ce27e136db6faf182001a5f3792e1d720","83a7cfba7c10d3ac5f06776ca07bd131b893e7464da092b2a9eedb6cbb447993","686e548ae30250d62532c8cacb43fccc922b693408371bd3503563c4a0f28eed","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","626520302b2c8880e9eaa3a6a12022cc8b577a32e4d903aef85e3dd275063da4","e5dd317ef2c7a2882b152337b03d592fafa8351b40351849a16a908b198bd3b5","5006668996956580886022c05108e32c742823e1b5652aff7914917233731518","0c52f5366c9146ad79b546e70162c659972a2798522806e8283f3137feab3965","307e39bc898ada7ea9fe8bb3ec9fcfd841f8990e17251fe150e4c822f75e6b3c","77224b06a9d39e8710eca2050acadd9f9e062b068d74aa98e38a6854c272d35e","c2076e1fa255efd41a6f0b6b3b83d4340d88122073e98f9b223dcea8437ee46f","6d727c1f6a7122c04e4f7c164c5e6f460c21ada618856894cdaa6ac25e95f38c","c757372a092924f5c16eaf11a1475b80b95bb4dae49fe3242d2ad908f97d5abe","56dd85019d2374449708458f4acf4712d4c6f7b19ae597e910bab6ae75bc9e05","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71","062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","892f8cf5db77196b9f4da151423570a9ad92f01692740d6137c0a13a006d9121","6e41751646fe275206d052a2e5ba87d27dd0df4dcbca134fc3fd2dc4d3d410d2","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","40122dcc63746bc8827d17f5f981668844e6c12537ca3b3e5e1a35883a50d666","966418bf54ad347058abfd433deb2f74480e859adb80b9ddbe90bb3ada1a8eda","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","5945e7a91249d0dcbce4609279cb8fa95e45a4ac0edf6b81742724ed38e5018f","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","ec630acd5a4ac97faadbfff935eb00df5318a6302dd25938685ad8c25c70465c","b3edafa3cb2b51781dffced9ec03613b8fe4981c44dea915f119996d201c1d03","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","9b5a5e0d06f8646aa2978afb1b5bb5e608649751e9cfc7290e86be42605ba42f","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","b68b1d8b7f6972ec8e2f4f0501173f78e30eb16f13635e24848f99894be1c977","5f7614d60b32dc66e5d665eafd10d7619eedca3a20f0e876e9ec73141735e364","e91ad231af87f864b3f07cd0e39b1cf6c133988156f087c1c3ccb0a5491c9115","660fa40695c7ca19a59fd09d31d495d952eee946e445a2c455ec63f255ec3050","bf0b1297461549a0e32cd57dffb992c63d7c7134fe0f9e15d359abcc88dbd28c","6b40029289530423f407a22755c85b81740f9acfd88d2b53564f8c1657c26660","4b3dc3f0f8b9ead19888d9faeeb7be53881a634c84e05a334ae690794e281d5c","8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","31c502014e5ba046d5cb060136929b73fd53f0f989aa37b2b0424644cb0d93ef","e57360b3f53ec41ed30cfb0eaed6e689be92bf311d7c25175a4e127f46158079","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","4266ccd2cf1d6a281efd9c7ddf9efd7daecf76575364148bd233e18919cac3ed"],"options":{"composite":true,"declaration":true,"declarationMap":true,"experimentalDecorators":true,"module":1,"noEmitOnError":true,"outDir":"./","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[102],[77,102,109],[102,109],[77,102,109,112],[74,77,101,102,109,114,115,116],[102,119],[77,102,109,112,123,129],[74,77,102,109,124,125],[102,113,125,126,128],[75,102,109],[77,101,102,109],[74,102,109],[102,140],[102,107,109,140],[74,77,78,82,88,101,102,109,110,121,123,130,132,133,139],[77,101,102,109,147,148],[77,91,102,109],[59,102],[62,102],[63,68,102],[64,74,75,82,91,101,102],[64,65,74,82,102],[66,102],[67,68,75,83,102],[68,91,98,102],[69,71,74,82,102],[70,102],[71,72,102],[73,74,102],[74,102],[74,75,76,91,101,102],[74,75,76,91,102],[77,82,91,101,102],[74,75,77,78,82,91,98,101,102],[77,79,91,98,101,102],[59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108],[74,80,102],[81,101,102],[71,74,82,91,102],[83,102],[84,102],[62,85,102],[86,100,102,106],[87,102],[88,102],[74,89,102],[89,90,102,104],[74,91,92,93,102],[91,93,102],[91,92,102],[94,102],[95,102],[74,96,97,102],[96,97,102],[68,82,91,98,102],[99,102],[82,100,102],[63,77,88,101,102],[68,102],[91,102,103],[102,104],[102,105],[63,68,74,76,85,91,101,102,104,106],[91,102,107],[102,109,151,153,157,158,159,160,161,162],[91,102,109],[74,102,109,151,153,154,156,163],[74,82,91,101,102,109,150,151,152,154,155,156,163],[91,102,109,153,154],[91,102,109,153,155],[102,109,151,153,154,156,163],[91,102,109,155],[74,82,91,98,102,109,152,154,156],[74,102,109,151,153,154,155,156,163],[74,91,102,109,151,152,153,154,155,156,163],[74,91,102,109,151,153,154,156,163],[77,91,102,109,156],[74,91,98,102,109,166,167,170,171],[75,77,79,82,91,101,102,109,118,173,174],[77,102,109,127],[102,176],[63,75,77,91,102,109,122],[102,179],[74,77,79,82,101,102,109],[102,109,167,168,169],[91,102,109,167],[50,51,52,53,54,55,56,57,102],[52,54,102],[51,102],[52,102],[54,102]],"referencedMap":[[176,1],[110,2],[111,3],[113,4],[117,5],[118,1],[120,6],[119,1],[112,2],[121,1],[122,1],[130,7],[126,8],[129,9],[131,10],[132,1],[115,1],[133,1],[134,11],[135,1],[136,1],[137,1],[138,3],[123,1],[114,12],[141,13],[139,13],[142,14],[140,15],[143,13],[144,1],[145,1],[127,1],[146,1],[148,1],[149,16],[147,17],[59,18],[60,18],[62,19],[63,20],[64,21],[65,22],[66,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,28],[73,29],[74,30],[75,31],[76,32],[61,1],[108,1],[77,33],[78,34],[79,35],[109,36],[80,37],[81,38],[82,39],[83,40],[84,41],[85,42],[86,43],[87,44],[88,45],[89,46],[90,47],[91,48],[93,49],[92,50],[94,51],[95,52],[96,53],[97,54],[98,55],[99,56],[100,57],[101,58],[102,59],[103,60],[104,61],[105,62],[106,63],[107,64],[163,65],[150,66],[157,67],[153,68],[151,69],[154,70],[158,71],[159,67],[156,72],[155,73],[160,74],[161,75],[162,76],[152,77],[164,1],[165,1],[171,78],[172,66],[125,1],[124,1],[175,79],[173,17],[116,17],[128,80],[177,81],[179,82],[180,83],[174,1],[181,1],[182,84],[178,1],[170,85],[167,3],[169,86],[168,3],[166,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[45,1],[9,1],[46,1],[47,1],[48,1],[1,1],[10,1],[49,1],[50,1],[58,87],[55,88],[52,89],[54,1],[53,90],[57,89],[56,91],[51,1]],"exportedModulesMap":[[176,1],[110,2],[111,3],[113,4],[117,5],[118,1],[120,6],[119,1],[112,2],[121,1],[122,1],[130,7],[126,8],[129,9],[131,10],[132,1],[115,1],[133,1],[134,11],[135,1],[136,1],[137,1],[138,3],[123,1],[114,12],[141,13],[139,13],[142,14],[140,15],[143,13],[144,1],[145,1],[127,1],[146,1],[148,1],[149,16],[147,17],[59,18],[60,18],[62,19],[63,20],[64,21],[65,22],[66,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,28],[73,29],[74,30],[75,31],[76,32],[61,1],[108,1],[77,33],[78,34],[79,35],[109,36],[80,37],[81,38],[82,39],[83,40],[84,41],[85,42],[86,43],[87,44],[88,45],[89,46],[90,47],[91,48],[93,49],[92,50],[94,51],[95,52],[96,53],[97,54],[98,55],[99,56],[100,57],[101,58],[102,59],[103,60],[104,61],[105,62],[106,63],[107,64],[163,65],[150,66],[157,67],[153,68],[151,69],[154,70],[158,71],[159,67],[156,72],[155,73],[160,74],[161,75],[162,76],[152,77],[164,1],[165,1],[171,78],[172,66],[125,1],[124,1],[175,79],[173,17],[116,17],[128,80],[177,81],[179,82],[180,83],[174,1],[181,1],[182,84],[178,1],[170,85],[167,3],[169,86],[168,3],[166,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[45,1],[9,1],[46,1],[47,1],[48,1],[1,1],[10,1],[49,1],[50,1],[58,87],[55,88],[52,89],[54,1],[53,90],[57,89],[56,91],[51,1]],"semanticDiagnosticsPerFile":[176,110,111,113,117,118,120,119,112,121,122,130,126,129,131,132,115,133,134,135,136,137,138,123,114,141,139,142,140,143,144,145,127,146,148,149,147,59,60,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,61,108,77,78,79,109,80,81,82,83,84,85,86,87,88,89,90,91,93,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,163,150,157,153,151,154,158,159,156,155,160,161,162,152,164,165,171,172,125,124,175,173,116,128,177,179,180,174,181,182,178,170,167,169,168,166,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,44,41,42,43,45,9,46,47,48,1,10,49,50,58,55,52,54,53,57,56,51]},"version":"4.6.3"}
|
|
1
|
+
{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/ProjectRole.ts","../../src/schema/value.ts","../../src/schema/input.ts","../../src/schema/model.ts","../../src/schema/json.ts","../../src/schema/acl.ts","../../src/schema/validation.ts","../../src/schema/result.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/accepts/index.d.ts","../../../../node_modules/@types/bcrypt/index.d.ts","../../../../node_modules/@types/connect/index.d.ts","../../../../node_modules/@types/body-parser/index.d.ts","../../../../node_modules/@types/keyv/index.d.ts","../../../../node_modules/@types/http-cache-semantics/index.d.ts","../../../../node_modules/@types/responselike/index.d.ts","../../../../node_modules/@types/cacheable-request/index.d.ts","../../../../node_modules/@types/caseless/index.d.ts","../../../../node_modules/@types/chai/index.d.ts","../../../../node_modules/@types/chai-subset/index.d.ts","../../../../node_modules/@types/content-disposition/index.d.ts","../../../../node_modules/@types/cookiejar/index.d.ts","../../../../node_modules/@types/keygrip/index.d.ts","../../../../node_modules/@types/range-parser/index.d.ts","../../../../node_modules/@types/qs/index.d.ts","../../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../../node_modules/@types/mime/Mime.d.ts","../../../../node_modules/@types/mime/index.d.ts","../../../../node_modules/@types/serve-static/index.d.ts","../../../../node_modules/@types/express/index.d.ts","../../../../node_modules/@types/cookies/index.d.ts","../../../../node_modules/@types/fs-extra/index.d.ts","../../../../node_modules/@types/http-assert/index.d.ts","../../../../node_modules/@types/http-errors/index.d.ts","../../../../node_modules/@types/js-yaml/index.d.ts","../../../../node_modules/@types/json-buffer/index.d.ts","../../../../node_modules/@types/json-schema/index.d.ts","../../../../node_modules/@types/json-stable-stringify/index.d.ts","../../../../node_modules/@types/jsonwebtoken/index.d.ts","../../../../node_modules/@types/koa-compose/index.d.ts","../../../../node_modules/@types/koa/index.d.ts","../../../../node_modules/@types/koa-bodyparser/index.d.ts","../../../../node_modules/@types/koa-compress/index.d.ts","../../../../node_modules/@types/koa__cors/index.d.ts","../../../../node_modules/@types/mime-types/index.d.ts","../../../../node_modules/@types/mustache/index.d.ts","../../../../node_modules/form-data/index.d.ts","../../../../node_modules/@types/node-fetch/externals.d.ts","../../../../node_modules/@types/node-fetch/index.d.ts","../../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../../../node_modules/@types/nodemailer/index.d.ts","../../../../node_modules/@types/npm-package-arg/index.d.ts","../../../../node_modules/@types/parse-json/index.d.ts","../../../../node_modules/pg-types/index.d.ts","../../../../node_modules/pg-protocol/dist/messages.d.ts","../../../../node_modules/pg-protocol/dist/serializer.d.ts","../../../../node_modules/pg-protocol/dist/parser.d.ts","../../../../node_modules/pg-protocol/dist/index.d.ts","../../../../node_modules/@types/pg/index.d.ts","../../../../node_modules/@types/prompts/index.d.ts","../../../../node_modules/@types/request/node_modules/form-data/index.d.ts","../../../../node_modules/@types/tough-cookie/index.d.ts","../../../../node_modules/@types/request/index.d.ts","../../../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../../../node_modules/@types/sinon/index.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/@types/superagent/index.d.ts","../../../../node_modules/@types/supertest/index.d.ts","../../../../node_modules/@types/uuid/index.d.ts","../../../../node_modules/@types/ws/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"b0d74cce9e676c2b6c48208ef6c1fabad459205f23e4dde2338c7829dff709ba","signature":"466df547af9cf3861658b08baf3ecbd41c0eaad2101378fadfa54ab24db103e6"},{"version":"e5a125501b2a7c2d0304c7ec5f1f294a8c84e6b3e9887a0cc859f2ad00bb5dda","signature":"3ae62be455efcb1874e7fd1f30f2bb83144757d2f349ceb0c6523bb9f7f7a860"},{"version":"d523e389aec2ec3b6d5e566ae75f030deed755e6333a5a1672316cc29d1a2960","signature":"530f3b435969207c634722de106b9fab2849a2046d7ec595d8a4ca83f9232548"},{"version":"8313631adc68579cfede5fdf666a4fd51560bdeabac19f27ad43b70826709315","signature":"0e1a776e3f1b6a4653d41aa7ac79a8c3e1abf007a36e1c9f34d8bfabbe0ce1c2"},{"version":"8400bff5f2de1f00f071ac265cf7fab8d6f3aeead7550e8973982c8822667b97","signature":"223846b228b84abdc1eaae54b656324eb1b222c57ac608e52817192b3a79067e"},{"version":"c3cb269c16046434b8a9d73d15f37517727bff1bab2333b47d969fff9046eb57","signature":"800fa75d4f422f0cfcafe9c01fc67dd8a967fb747ab4f86a074113ab580b375d"},{"version":"c88218c1acee8645370add51cceb22b3b8e9af4e069fade9f606ddf8a13f977e","signature":"dff2fee737ebe5174f549c9f28e114c0cabac4b5fe4e364654465ba528979ba4"},{"version":"73f344593733ca1af0ba8ffc6295b418bf5b4ad1a373a1480a884b7b1e283c9c","signature":"f42116e2e8ad600dc90bdf8ceade9dcf593c35812d8aaba9c03a3f1dbb87330e"},{"version":"0dabffcd58eecee45d890561cadbd2bda576ba01447ea8c25d295dcc22df9c06","signature":"69b5f34a1257fe7927dd0fe6055de05fecbf36c1d415a42027ebbde49f5a11aa"},"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","c4cfc9a6e2ebb8bc8c0e2392dfc4056993ced3b35069ebf132ac18ca7a562881","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","68915895d4a136df5cf5f90aaa41d8e1e47ec047e7781a150b5d0cf273dbb7a9","acfbb5aaef964e1d441f961a1846197f03241dba3c63b1e4d1903684888ef465","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"76527127c8b749bee5977408861ce3ee56ec19ddcea8704c628f98ca610283e6","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b",{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","0830071706fa0e477fb5e95f0955cc1062b5948b146b7d4e03a126f12ad6085f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b","6738101ae8e56cd3879ab3f99630ada7d78097fc9fd334df7e766216778ca219","57ddc4e066366bbe04f497f9afce1c88e088dbd09be0618e072754450de3acbb","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","5343f3c160282dfbaab9af350119a0c3b59b7076ef0117bb5995a66e240dab28",{"version":"127bf414ca8ced28c9738b91a935121009d03bbc136668db980bd1ba18976b2b","affectsGlobalScope":true},{"version":"f4c0db3a49cea9babd5d224ba14243a6a6119bf65a65198994033aaea3a60a71","affectsGlobalScope":true},"204dbe6c72467fb14bbe8f06510b11fb541b6ce29580c6e10ebd3bdb2eb0c1f9","8d48b8f8a377ade8dd1f000625bc276eea067f2529cc9cafdf082d17142107d6","ce013414484233b24f42c0fcfca48a60bb66ab4e13c82953662305e8f1ee4925","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"ae3fe461989bbd951344efc1f1fe932360ce7392e6126bdb225a82a1bbaf15ee","affectsGlobalScope":true},"5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7","951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e","f47887b61c6cf2f48746980390d6cb5b8013518951d912cfb37fe748071942be","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","eb96a2321f717bccc3e49e104e299152984b927ea4546b559ae631c06565819c","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","e98185f4249720ace1921d59c1ff4612fa5c633a183fc9bf28e2e7b8e3c7fd51","6168414aa12d33d0fcfac4f9870aa81ce27e136db6faf182001a5f3792e1d720","686e548ae30250d62532c8cacb43fccc922b693408371bd3503563c4a0f28eed","75bdc1b420f0ffc6cc6fd0b6694d89f5072bf755b4e6c7e65a2fda797ca0bb8a","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","13cc3979e1f548aacaa23911f2d6e69c1a2999266c4a1952806de1e9593bdaaa","bb4ed283cfb3db7ec1d4bb79c37f5e96d39b340f1f4de995c4b0b836c8d5fa05","5006668996956580886022c05108e32c742823e1b5652aff7914917233731518","3a9b877f47119ac64aab98c61cae91a304ddeb6e8285ccd824a6aa665ffaeb95","aff59cc6a1f2049bc6ac37cdd5a7d449584f28e7ee5ba240bd903aefdaef6418","77224b06a9d39e8710eca2050acadd9f9e062b068d74aa98e38a6854c272d35e","dcb9aa62f2662b999047096125adfa905cca0c988d7f5130e38ab41afeb96a3f","c757372a092924f5c16eaf11a1475b80b95bb4dae49fe3242d2ad908f97d5abe","017cfb3f6986b6b449fda402cce0f7da77820cb7000d5faf5a8b62587684031a","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77","3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","92ad68795c32309fb43576cacb38bd2677deeed38f5730dcd4a8c5e65463ae15","6e41751646fe275206d052a2e5ba87d27dd0df4dcbca134fc3fd2dc4d3d410d2","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","f3d84d6f83cf131e4db335dc8100898adbeb01dd4cf4e2fe695ab220eac98be4","6521aaade4e1d23cbc4b665083b004aeaca23f3347ba2422f88d1828968a0056","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","e9709ed827c40789c669736fc78e2ab603605e8e81325d1e6d7a5eb451810dd0","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","6fc76efbb61d3336833ef44ff3f37552667f26c2a73b368f3b4b259f19f2c234","479496e5bb48f2f5e981ef646665bc09fd9ab080e86e9ea882ca4369411604af","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","9b5a5e0d06f8646aa2978afb1b5bb5e608649751e9cfc7290e86be42605ba42f","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","f60e3e3060207ac982da13363181fd7ee4beecc19a7c569f0d6bb034331066c2","17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","87ed0f84f0691d5c724b23159db96342e6b04ac69201b02c65936f4281ce1fbe","13868c5792808236b17dfe2803eafce911ea4d09d3b2fda95391891a494f988f","0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","fa5c2d3fcd8e227e180815df0a0903ed4b116400452af8a75ac5b68e5e1de9da","5f7614d60b32dc66e5d665eafd10d7619eedca3a20f0e876e9ec73141735e364","e91ad231af87f864b3f07cd0e39b1cf6c133988156f087c1c3ccb0a5491c9115","cc256fd958b33576ed32c7338c64adb0d08fc0c2c6525010202fab83f32745da","bf0b1297461549a0e32cd57dffb992c63d7c7134fe0f9e15d359abcc88dbd28c","f83b320cceccfc48457a818d18fc9a006ab18d0bdd727aa2c2e73dc1b4a45e98","354abbae08f72ea982b1a767a8908f1b3efe8bbe53955c64f9c0c249c8832d5d","8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","31c502014e5ba046d5cb060136929b73fd53f0f989aa37b2b0424644cb0d93ef","76232dbb982272b182a76ad8745a9b02724dc9896e2328ce360e2c56c64c9778","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","b4358a89fcd9c579f84a6c68e2ce44ca91b07e4db3f8f403c2b7a72c1a1e04b6"],"options":{"composite":true,"declaration":true,"declarationMap":true,"experimentalDecorators":true,"module":1,"noEmitOnError":true,"outDir":"./","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[82,109,116],[109,116],[82,109,116,119],[79,82,108,109,116,121,122,123],[109],[109,126],[82,109,116,119,130,137],[79,82,109,116,131,132],[109,120,132,133,136],[80,109,116],[79,109,116],[109,148],[109,114,116,148],[79,82,83,87,93,108,109,116,117,128,130,138,140,141,147],[109,135],[109,134],[82,108,109,116,154,155],[64,109],[67,109],[68,73,109],[69,79,80,87,97,108,109],[69,70,79,87,109],[71,109],[72,73,80,88,109],[73,97,105,109],[74,76,79,87,109],[75,109],[76,77,109],[78,79,109],[79,109],[79,80,81,97,108,109],[79,80,81,97,100,109],[109,113],[82,87,97,108,109],[79,80,82,83,87,97,105,108,109],[82,84,97,105,108,109],[64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],[79,85,109],[86,108,109],[76,79,87,97,109],[88,109],[89,109],[67,90,109],[91,107,109,113],[92,109],[93,109],[79,94,95,109],[94,96,109,111],[79,97,98,99,100,109],[97,99,109],[97,98,109],[100,109],[101,109],[79,103,104,109],[103,104,109],[73,87,97,105,109],[106,109],[87,107,109],[68,82,93,108,109],[73,109],[97,109,110],[109,111],[109,112],[68,73,79,81,90,97,108,109,111,113],[97,109,114],[109,116,158,160,164,165,166,167,168,169],[97,109,116],[79,109,116,158,160,161,163,170],[79,87,97,108,109,116,157,158,159,161,162,163,170],[97,109,116,160,161],[97,109,116,160,162],[109,116,158,160,161,163,170],[97,109,116,162],[79,87,97,105,109,116,159,161,163],[79,109,116,158,160,161,162,163,170],[79,97,109,116,158,159,160,161,162,163,170],[79,97,109,116,158,160,161,163,170],[82,97,109,116,163],[79,97,105,109,116,173,174,177,178],[80,82,84,87,97,108,109,116,125,180,181],[82,97,109,116],[82,109,116,135],[109,183],[68,80,82,97,109,116,129],[109,186],[79,82,84,97,105,108,109,114,116],[109,116,174,175,176],[97,109,116,174],[55,56,57,58,59,60,61,62,109],[57,59,109],[56,109],[57,109],[59,109],[55,56,57,58,59,60,61,62],[57,59],[56],[57],[59]],"referencedMap":[[117,1],[118,2],[120,3],[124,4],[125,5],[127,6],[126,5],[119,1],[128,5],[129,5],[138,7],[133,8],[137,9],[139,10],[140,5],[122,5],[141,5],[142,5],[143,5],[144,5],[145,5],[146,2],[130,5],[121,11],[149,12],[147,12],[150,13],[148,14],[151,12],[152,5],[134,15],[135,16],[153,5],[155,5],[156,17],[64,18],[65,18],[67,19],[68,20],[69,21],[70,22],[71,23],[72,24],[73,25],[74,26],[75,27],[76,28],[77,28],[78,29],[79,30],[80,31],[81,32],[66,33],[115,5],[82,34],[83,35],[84,36],[116,37],[85,38],[86,39],[87,40],[88,41],[89,42],[90,43],[91,44],[92,45],[93,46],[94,47],[95,47],[96,48],[97,49],[99,50],[98,51],[100,52],[101,53],[102,5],[103,54],[104,55],[105,56],[106,57],[107,58],[108,59],[109,60],[110,61],[111,62],[112,63],[113,64],[114,65],[170,66],[157,67],[164,68],[160,69],[158,70],[161,71],[165,72],[166,68],[163,73],[162,74],[167,75],[168,76],[169,77],[159,78],[171,5],[172,5],[178,79],[179,67],[132,5],[131,5],[182,80],[180,81],[123,81],[136,82],[184,83],[183,5],[186,84],[187,85],[181,5],[188,5],[189,86],[185,5],[154,81],[177,87],[174,2],[176,88],[175,2],[173,5],[11,5],[13,5],[12,5],[2,5],[14,5],[15,5],[16,5],[17,5],[18,5],[19,5],[20,5],[21,5],[3,5],[4,5],[25,5],[22,5],[23,5],[24,5],[26,5],[27,5],[28,5],[5,5],[29,5],[30,5],[31,5],[32,5],[6,5],[33,5],[34,5],[35,5],[36,5],[7,5],[37,5],[42,5],[43,5],[38,5],[39,5],[40,5],[41,5],[8,5],[47,5],[44,5],[45,5],[46,5],[48,5],[9,5],[49,5],[50,5],[51,5],[52,5],[53,5],[1,5],[10,5],[54,5],[55,5],[63,89],[60,90],[57,91],[59,5],[58,92],[62,91],[61,93],[56,5]],"exportedModulesMap":[[117,1],[118,2],[120,3],[124,4],[125,5],[127,6],[126,5],[119,1],[128,5],[129,5],[138,7],[133,8],[137,9],[139,10],[140,5],[122,5],[141,5],[142,5],[143,5],[144,5],[145,5],[146,2],[130,5],[121,11],[149,12],[147,12],[150,13],[148,14],[151,12],[152,5],[134,15],[135,16],[153,5],[155,5],[156,17],[64,18],[65,18],[67,19],[68,20],[69,21],[70,22],[71,23],[72,24],[73,25],[74,26],[75,27],[76,28],[77,28],[78,29],[79,30],[80,31],[81,32],[66,33],[115,5],[82,34],[83,35],[84,36],[116,37],[85,38],[86,39],[87,40],[88,41],[89,42],[90,43],[91,44],[92,45],[93,46],[94,47],[95,47],[96,48],[97,49],[99,50],[98,51],[100,52],[101,53],[102,5],[103,54],[104,55],[105,56],[106,57],[107,58],[108,59],[109,60],[110,61],[111,62],[112,63],[113,64],[114,65],[170,66],[157,67],[164,68],[160,69],[158,70],[161,71],[165,72],[166,68],[163,73],[162,74],[167,75],[168,76],[169,77],[159,78],[171,5],[172,5],[178,79],[179,67],[132,5],[131,5],[182,80],[180,81],[123,81],[136,82],[184,83],[183,5],[186,84],[187,85],[181,5],[188,5],[189,86],[185,5],[154,81],[177,87],[174,2],[176,88],[175,2],[173,5],[11,5],[13,5],[12,5],[2,5],[14,5],[15,5],[16,5],[17,5],[18,5],[19,5],[20,5],[21,5],[3,5],[4,5],[25,5],[22,5],[23,5],[24,5],[26,5],[27,5],[28,5],[5,5],[29,5],[30,5],[31,5],[32,5],[6,5],[33,5],[34,5],[35,5],[36,5],[7,5],[37,5],[42,5],[43,5],[38,5],[39,5],[40,5],[41,5],[8,5],[47,5],[44,5],[45,5],[46,5],[48,5],[9,5],[49,5],[50,5],[51,5],[52,5],[53,5],[1,5],[10,5],[54,5],[63,94],[60,95],[57,96],[58,97],[62,96],[61,98]],"semanticDiagnosticsPerFile":[117,118,120,124,125,127,126,119,128,129,138,133,137,139,140,122,141,142,143,144,145,146,130,121,149,147,150,148,151,152,134,135,153,155,156,64,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,66,115,82,83,84,116,85,86,87,88,89,90,91,92,93,94,95,96,97,99,98,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,170,157,164,160,158,161,165,166,163,162,167,168,169,159,171,172,178,179,132,131,182,180,123,136,184,183,186,187,181,188,189,185,154,177,174,176,175,173,11,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,33,34,35,36,7,37,42,43,38,39,40,41,8,47,44,45,46,48,9,49,50,51,52,53,1,10,54,55,63,60,57,59,58,62,61,56],"latestChangedDtsFile":"./index.d.ts"},"version":"4.8.2"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Input from './schema/input'
|
|
2
|
-
import Model from './schema/model'
|
|
3
|
-
import Acl from './schema/acl'
|
|
4
|
-
import Validation from './schema/validation'
|
|
5
|
-
import Value from './schema/value'
|
|
6
|
-
import Result from './schema/result'
|
|
1
|
+
import { Input } from './schema/input'
|
|
2
|
+
import { Model } from './schema/model'
|
|
3
|
+
import { Acl } from './schema/acl'
|
|
4
|
+
import { Validation } from './schema/validation'
|
|
5
|
+
import { Value } from './schema/value'
|
|
6
|
+
import { Result } from './schema/result'
|
|
7
7
|
|
|
8
8
|
export * from './ProjectRole'
|
|
9
9
|
export * from './schema/json'
|
package/src/schema/acl.ts
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import Input from './input'
|
|
1
|
+
import { Input } from './input'
|
|
2
2
|
import { JSONValue } from './json'
|
|
3
3
|
|
|
4
|
-
namespace Acl {
|
|
4
|
+
export namespace Acl {
|
|
5
5
|
export enum VariableType {
|
|
6
6
|
entity = 'entity',
|
|
7
7
|
predefined = 'predefined',
|
|
8
|
+
condition = 'condition',
|
|
8
9
|
|
|
9
10
|
// currently unsupported
|
|
10
11
|
// enum = 'enum',
|
|
11
12
|
// column = 'column',
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
export type Variable =
|
|
15
|
+
export type Variable =
|
|
16
|
+
| EntityVariable
|
|
17
|
+
| PredefinedVariable
|
|
18
|
+
| ConditionVariable
|
|
19
|
+
// | EnumVariable | ColumnValueVariable
|
|
20
|
+
|
|
15
21
|
|
|
16
|
-
// export interface EnumVariable {
|
|
17
|
-
// type: VariableType.enum
|
|
18
|
-
// enumName: string
|
|
19
|
-
// }
|
|
20
22
|
|
|
21
23
|
export type EntityVariable = {
|
|
22
24
|
readonly type: VariableType.entity
|
|
@@ -30,18 +32,21 @@ namespace Acl {
|
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
|
|
35
|
+
export type ConditionVariable = {
|
|
36
|
+
readonly type: VariableType.condition
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// export interface EnumVariable {
|
|
40
|
+
// type: VariableType.enum
|
|
41
|
+
// enumName: string
|
|
42
|
+
// }
|
|
43
|
+
|
|
33
44
|
// export interface ColumnValueVariable {
|
|
34
45
|
// type: VariableType.column
|
|
35
46
|
// entityName: string
|
|
36
47
|
// fieldName: string
|
|
37
48
|
// }
|
|
38
49
|
|
|
39
|
-
export type VariableValue = string | number | readonly (string | number)[]
|
|
40
|
-
|
|
41
|
-
export type VariablesMap = {
|
|
42
|
-
readonly [name: string]: VariableValue
|
|
43
|
-
}
|
|
44
|
-
|
|
45
50
|
export type PredicateVariable = string //{ name: string }
|
|
46
51
|
export type PredicateDefinition<E = never> = Input.Where<PredicateVariable | Input.Condition | E>
|
|
47
52
|
|
|
@@ -75,22 +80,28 @@ namespace Acl {
|
|
|
75
80
|
export type AnyStage = '*'
|
|
76
81
|
export type StagesDefinition = AnyStage | readonly string[]
|
|
77
82
|
|
|
78
|
-
export type
|
|
83
|
+
export type MembershipVariableMatchRule = true | string
|
|
84
|
+
|
|
85
|
+
export type MembershipVariablesMatchRule =
|
|
86
|
+
| true
|
|
87
|
+
| {
|
|
88
|
+
readonly [targetVariable: string]: MembershipVariableMatchRule
|
|
89
|
+
}
|
|
79
90
|
|
|
80
|
-
export type
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
| {
|
|
85
|
-
readonly [targetVariable: string]: TenantManagedVariableSource
|
|
86
|
-
}
|
|
91
|
+
export type MembershipRoleMatchRule =
|
|
92
|
+
| true
|
|
93
|
+
| {
|
|
94
|
+
readonly variables?: MembershipVariablesMatchRule
|
|
87
95
|
}
|
|
96
|
+
|
|
97
|
+
export type MembershipMatchRule = {
|
|
98
|
+
readonly [role: string]: MembershipRoleMatchRule
|
|
88
99
|
}
|
|
89
100
|
|
|
90
101
|
export type TenantPermissions = {
|
|
91
102
|
readonly invite?: boolean
|
|
92
103
|
readonly unmanagedInvite?: boolean
|
|
93
|
-
readonly manage?:
|
|
104
|
+
readonly manage?: MembershipMatchRule
|
|
94
105
|
}
|
|
95
106
|
|
|
96
107
|
export enum SystemPermissionsLevel {
|
|
@@ -108,6 +119,14 @@ namespace Acl {
|
|
|
108
119
|
readonly history?: boolean | LimitedSystemPermissionsLevel
|
|
109
120
|
readonly migrate?: boolean
|
|
110
121
|
readonly assumeIdentity?: boolean
|
|
122
|
+
readonly export?: boolean
|
|
123
|
+
readonly import?: boolean
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type ContentPermissions = {
|
|
127
|
+
readonly assumeMembership?: MembershipMatchRule
|
|
128
|
+
readonly export?: boolean
|
|
129
|
+
readonly import?: boolean
|
|
111
130
|
}
|
|
112
131
|
|
|
113
132
|
export interface BaseRolePermissions {
|
|
@@ -115,6 +134,7 @@ namespace Acl {
|
|
|
115
134
|
readonly implicit?: boolean
|
|
116
135
|
readonly tenant?: TenantPermissions
|
|
117
136
|
readonly system?: SystemPermissions
|
|
137
|
+
readonly content?: ContentPermissions
|
|
118
138
|
readonly variables: Acl.Variables
|
|
119
139
|
readonly stages?: StagesDefinition
|
|
120
140
|
readonly entities: Permissions
|
|
@@ -135,6 +155,18 @@ namespace Acl {
|
|
|
135
155
|
readonly customPrimary?: boolean
|
|
136
156
|
readonly roles: Acl.Roles
|
|
137
157
|
}
|
|
138
|
-
}
|
|
139
158
|
|
|
140
|
-
export
|
|
159
|
+
export type VariablesMap = {
|
|
160
|
+
readonly [name: string]: Input.Condition
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export interface MembershipVariable {
|
|
164
|
+
readonly name: string
|
|
165
|
+
readonly values: readonly string[]
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface Membership {
|
|
169
|
+
readonly role: string
|
|
170
|
+
readonly variables: readonly MembershipVariable[]
|
|
171
|
+
}
|
|
172
|
+
}
|
package/src/schema/input.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Value from './value'
|
|
1
|
+
import { Value } from './value'
|
|
2
2
|
|
|
3
|
-
namespace Input {
|
|
3
|
+
export namespace Input {
|
|
4
4
|
export type PrimaryValue<E = never> = Value.PrimaryValue<E>
|
|
5
5
|
export type ColumnValue<E = never> = Value.FieldValue<E>
|
|
6
6
|
|
|
@@ -157,9 +157,9 @@ namespace Input {
|
|
|
157
157
|
readonly or?: readonly Condition<T>[]
|
|
158
158
|
readonly not?: Condition<T>
|
|
159
159
|
readonly eq?: T
|
|
160
|
+
readonly notEq?: T
|
|
160
161
|
readonly null?: boolean // deprecated
|
|
161
162
|
readonly isNull?: boolean
|
|
162
|
-
readonly notEq?: T
|
|
163
163
|
readonly in?: readonly T[]
|
|
164
164
|
readonly notIn?: readonly T[]
|
|
165
165
|
readonly lt?: T
|
|
@@ -199,5 +199,3 @@ namespace Input {
|
|
|
199
199
|
updatable = 'updatable',
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
export default Input
|
package/src/schema/model.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Input from './input'
|
|
1
|
+
import { Input } from './input'
|
|
2
2
|
|
|
3
|
-
namespace Model {
|
|
3
|
+
export namespace Model {
|
|
4
4
|
|
|
5
5
|
export type Entity = {
|
|
6
6
|
readonly name: string
|
|
@@ -9,6 +9,7 @@ namespace Model {
|
|
|
9
9
|
readonly tableName: string
|
|
10
10
|
readonly fields: { readonly [name: string]: AnyField }
|
|
11
11
|
readonly unique: UniqueConstraints
|
|
12
|
+
readonly indexes: Indexes
|
|
12
13
|
readonly view?: View
|
|
13
14
|
readonly eventLog: EventLogConfig
|
|
14
15
|
}
|
|
@@ -65,7 +66,7 @@ namespace Model {
|
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
export interface RelationVisitor<T> {
|
|
68
|
-
visitRelation(entity: Entity, relation: Relation, targetEntity: Entity, targetRelation:
|
|
69
|
+
visitRelation(entity: Entity, relation: Relation, targetEntity: Entity, targetRelation: AnyRelation | null): T
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
export type FieldVisitor<T> =
|
|
@@ -276,6 +277,13 @@ namespace Model {
|
|
|
276
277
|
readonly fields: readonly string[]
|
|
277
278
|
readonly name: string
|
|
278
279
|
}
|
|
279
|
-
}
|
|
280
280
|
|
|
281
|
-
export
|
|
281
|
+
export type Indexes = {
|
|
282
|
+
readonly [name: string]: Index
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export type Index = {
|
|
286
|
+
readonly fields: readonly string[]
|
|
287
|
+
readonly name: string
|
|
288
|
+
}
|
|
289
|
+
}
|
package/src/schema/result.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Value from './value'
|
|
1
|
+
import { Value } from './value'
|
|
2
2
|
|
|
3
|
-
namespace Result {
|
|
3
|
+
export namespace Result {
|
|
4
4
|
export type MutationFieldResult = CreateResult | UpdateResult | DeleteResult | UpsertResult
|
|
5
5
|
|
|
6
6
|
export interface CreateResult {
|
|
@@ -75,5 +75,3 @@ namespace Result {
|
|
|
75
75
|
text: string
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
export default Result
|
package/src/schema/validation.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONValue } from './json'
|
|
2
2
|
|
|
3
|
-
namespace Validation {
|
|
3
|
+
export namespace Validation {
|
|
4
4
|
export type ContextPath = readonly string[]
|
|
5
5
|
|
|
6
6
|
export enum ArgumentType {
|
|
@@ -66,5 +66,3 @@ namespace Validation {
|
|
|
66
66
|
readonly [entity: string]: EntityRules
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
export default Validation
|
package/src/schema/value.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
namespace Value {
|
|
2
|
-
export type Object<E = never> = {
|
|
3
|
-
readonly [key: string]: FieldValue<E>
|
|
4
|
-
}
|
|
1
|
+
export namespace Value {
|
|
2
|
+
export type Object<E = never> = { readonly [K in string]?: FieldValue<E> }
|
|
5
3
|
|
|
6
4
|
export type List<E = never> = readonly FieldValue<E>[]
|
|
7
5
|
|
|
@@ -14,5 +12,3 @@ namespace Value {
|
|
|
14
12
|
|
|
15
13
|
export type ColumnValueLike<E = never> = GenericValueLike<FieldValue<E>>
|
|
16
14
|
}
|
|
17
|
-
|
|
18
|
-
export default Value
|