@mxpicture/gcp-functions-common 0.2.69 → 0.2.71
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/annotation/anno.head.d.ts +7 -0
- package/dist/annotation/anno.head.d.ts.map +1 -0
- package/dist/annotation/anno.head.js +34 -0
- package/dist/annotation/anno.head.js.map +1 -0
- package/dist/annotation/anno.property.d.ts +4 -0
- package/dist/annotation/anno.property.d.ts.map +1 -0
- package/dist/annotation/anno.property.js +14 -0
- package/dist/annotation/anno.property.js.map +1 -0
- package/dist/annotation/index.d.ts +3 -0
- package/dist/annotation/index.d.ts.map +1 -0
- package/dist/annotation/index.js +4 -0
- package/dist/annotation/index.js.map +1 -0
- package/dist/decorator/DecoArray.d.ts +22 -0
- package/dist/decorator/DecoArray.d.ts.map +1 -0
- package/dist/decorator/DecoArray.js +41 -0
- package/dist/decorator/DecoArray.js.map +1 -0
- package/dist/decorator/DecoBoolean.d.ts +11 -0
- package/dist/decorator/DecoBoolean.d.ts.map +1 -0
- package/dist/decorator/DecoBoolean.js +13 -0
- package/dist/decorator/DecoBoolean.js.map +1 -0
- package/dist/decorator/DecoDate.d.ts +12 -0
- package/dist/decorator/DecoDate.d.ts.map +1 -0
- package/dist/decorator/DecoDate.js +13 -0
- package/dist/decorator/DecoDate.js.map +1 -0
- package/dist/decorator/DecoNumber.d.ts +23 -0
- package/dist/decorator/DecoNumber.d.ts.map +1 -0
- package/dist/decorator/DecoNumber.js +37 -0
- package/dist/decorator/DecoNumber.js.map +1 -0
- package/dist/decorator/DecoObject.d.ts +11 -0
- package/dist/decorator/DecoObject.d.ts.map +1 -0
- package/dist/decorator/DecoObject.js +9 -0
- package/dist/decorator/DecoObject.js.map +1 -0
- package/dist/decorator/DecoProperty.d.ts +27 -0
- package/dist/decorator/DecoProperty.d.ts.map +1 -0
- package/dist/decorator/DecoProperty.js +68 -0
- package/dist/decorator/DecoProperty.js.map +1 -0
- package/dist/decorator/DecoString.d.ts +21 -0
- package/dist/decorator/DecoString.d.ts.map +1 -0
- package/dist/decorator/DecoString.js +33 -0
- package/dist/decorator/DecoString.js.map +1 -0
- package/dist/decorator/Decorator.d.ts +33 -0
- package/dist/decorator/Decorator.d.ts.map +1 -0
- package/dist/decorator/Decorator.js +73 -0
- package/dist/decorator/Decorator.js.map +1 -0
- package/dist/decorator/deco.cast.d.ts +9 -0
- package/dist/decorator/deco.cast.d.ts.map +1 -0
- package/dist/decorator/deco.cast.js +13 -0
- package/dist/decorator/deco.cast.js.map +1 -0
- package/dist/decorator/deco.enum.d.ts +50 -0
- package/dist/decorator/deco.enum.d.ts.map +1 -0
- package/dist/decorator/deco.enum.js +73 -0
- package/dist/decorator/deco.enum.js.map +1 -0
- package/dist/decorator/deco.names.d.ts +20 -0
- package/dist/decorator/deco.names.d.ts.map +1 -0
- package/dist/decorator/deco.names.js +20 -0
- package/dist/decorator/deco.names.js.map +1 -0
- package/dist/decorator/deco.paths.d.ts +7 -0
- package/dist/decorator/deco.paths.d.ts.map +1 -0
- package/dist/decorator/deco.paths.js +14 -0
- package/dist/decorator/deco.paths.js.map +1 -0
- package/dist/decorator/deco.properties.d.ts +9 -0
- package/dist/decorator/deco.properties.d.ts.map +1 -0
- package/dist/decorator/deco.properties.js +43 -0
- package/dist/decorator/deco.properties.js.map +1 -0
- package/dist/decorator/deco.routes.d.ts +4 -0
- package/dist/decorator/deco.routes.d.ts.map +1 -0
- package/dist/decorator/deco.routes.js +22 -0
- package/dist/decorator/deco.routes.js.map +1 -0
- package/dist/decorator/index.d.ts +15 -0
- package/dist/decorator/index.d.ts.map +1 -0
- package/dist/decorator/index.js +16 -0
- package/dist/decorator/index.js.map +1 -0
- package/dist/helper/helper.annotation.d.ts +3 -8
- package/dist/helper/helper.annotation.d.ts.map +1 -1
- package/dist/helper/helper.annotation.js +3 -40
- package/dist/helper/helper.annotation.js.map +1 -1
- package/dist/helper/helper.document.d.ts +1 -2
- package/dist/helper/helper.document.d.ts.map +1 -1
- package/dist/helper/helper.document.js +0 -1
- package/dist/helper/helper.document.js.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/types.annotation.d.ts +14 -17
- package/dist/types/types.annotation.d.ts.map +1 -1
- package/dist/types/types.annotation.js +1 -46
- package/dist/types/types.annotation.js.map +1 -1
- package/dist/types/types.deco.common.d.ts +21 -0
- package/dist/types/types.deco.common.d.ts.map +1 -0
- package/dist/types/types.deco.common.js +2 -0
- package/dist/types/types.deco.common.js.map +1 -0
- package/dist/types/types.deco.property.d.ts +62 -0
- package/dist/types/types.deco.property.d.ts.map +1 -0
- package/dist/types/types.deco.property.js +2 -0
- package/dist/types/types.deco.property.js.map +1 -0
- package/dist/types/types.document.d.ts +0 -1
- package/dist/types/types.document.d.ts.map +1 -1
- package/package.json +5 -4
- package/dist/meta/index.d.ts +0 -4
- package/dist/meta/index.d.ts.map +0 -1
- package/dist/meta/index.js +0 -5
- package/dist/meta/index.js.map +0 -1
- package/dist/meta/meta.enum.d.ts +0 -104
- package/dist/meta/meta.enum.d.ts.map +0 -1
- package/dist/meta/meta.enum.js +0 -132
- package/dist/meta/meta.enum.js.map +0 -1
- package/dist/meta/meta.main.d.ts +0 -44
- package/dist/meta/meta.main.d.ts.map +0 -1
- package/dist/meta/meta.main.js +0 -60
- package/dist/meta/meta.main.js.map +0 -1
- package/dist/meta/meta.properties.d.ts +0 -80
- package/dist/meta/meta.properties.d.ts.map +0 -1
- package/dist/meta/meta.properties.js +0 -91
- package/dist/meta/meta.properties.js.map +0 -1
- package/dist/types/types.meta.d.ts +0 -143
- package/dist/types/types.meta.d.ts.map +0 -1
- package/dist/types/types.meta.js +0 -43
- package/dist/types/types.meta.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Decorator.js","sourceRoot":"","sources":["../../src/decorator/Decorator.ts"],"names":[],"mappings":"AAA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C,CAAC,CAAC,EAAE,CAAC;SACzD,CAAC;IACJ,CAAC;IAEM,kBAAkB;QACvB,MAAM,aAAa,GAAsD,EAAE,CAAC;QAC5E,KAAK,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE,CAAC;YACrE,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;YAC9B,oFAAoF;YACpF,IACE,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,MAAM;gBACzC,MAAM,IAAK,IAAqC,CAAC,MAAM,CAAC,EACxD,CAAC;gBACA,GAAG,CAAC,IAAuB,CAAC,IAAI,GAC/B,IACD,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC;YACjB,CAAC;YACD,aAAa,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;QAC3B,CAAC;QACD,OAAO,oBAAoB,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,aAAa,CAAC,CAAC;IAChE,CAAC;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DecoArrayOptions, DecoBooleanOptions, DecoDateOptions, DecoNumberOptions, DecoObjectOptions, DecoPropertyBase, DecoStringOptions } from "../types/types.deco.property.js";
|
|
2
|
+
export declare const castDecoKey: (prop: DecoPropertyBase) => DecoStringOptions | null;
|
|
3
|
+
export declare const castDecoNumber: (prop: DecoPropertyBase) => DecoNumberOptions | null;
|
|
4
|
+
export declare const castDecoString: (prop: DecoPropertyBase) => DecoStringOptions | null;
|
|
5
|
+
export declare const castDecoBoolean: (prop: DecoPropertyBase) => DecoBooleanOptions | null;
|
|
6
|
+
export declare const castDecoDate: (prop: DecoPropertyBase) => DecoDateOptions | null;
|
|
7
|
+
export declare const castDecoArray: (prop: DecoPropertyBase) => DecoArrayOptions | null;
|
|
8
|
+
export declare const castDecoObject: (prop: DecoPropertyBase) => DecoObjectOptions | null;
|
|
9
|
+
//# sourceMappingURL=deco.cast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.cast.d.ts","sourceRoot":"","sources":["../../src/decorator/deco.cast.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,iCAAiC,CAAC;AAIzC,eAAO,MAAM,WAAW,GACtB,MAAM,gBAAgB,KACrB,iBAAiB,GAAG,IAGtB,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,MAAM,gBAAgB,KACrB,iBAAiB,GAAG,IACqD,CAAC;AAE7E,eAAO,MAAM,cAAc,GACzB,MAAM,gBAAgB,KACrB,iBAAiB,GAAG,IACqD,CAAC;AAE7E,eAAO,MAAM,eAAe,GAC1B,MAAM,gBAAgB,KACrB,kBAAkB,GAAG,IACsD,CAAC;AAE/E,eAAO,MAAM,YAAY,GAAI,MAAM,gBAAgB,KAAG,eAAe,GAAG,IACA,CAAC;AAEzE,eAAO,MAAM,aAAa,GACxB,MAAM,gBAAgB,KACrB,gBAAgB,GAAG,IACoD,CAAC;AAE3E,eAAO,MAAM,cAAc,GACzB,MAAM,gBAAgB,KACrB,iBAAiB,GAAG,IACqD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DecoPropertyType } from "./deco.enum.js";
|
|
2
|
+
// ----- Properties ----------------------------------------------------------------
|
|
3
|
+
export const castDecoKey = (prop) => {
|
|
4
|
+
const casted = castDecoString(prop);
|
|
5
|
+
return casted?.isKey === true ? casted : null;
|
|
6
|
+
};
|
|
7
|
+
export const castDecoNumber = (prop) => prop.type === DecoPropertyType.number ? prop : null;
|
|
8
|
+
export const castDecoString = (prop) => prop.type === DecoPropertyType.string ? prop : null;
|
|
9
|
+
export const castDecoBoolean = (prop) => prop.type === DecoPropertyType.boolean ? prop : null;
|
|
10
|
+
export const castDecoDate = (prop) => prop.type === DecoPropertyType.date ? prop : null;
|
|
11
|
+
export const castDecoArray = (prop) => prop.type === DecoPropertyType.array ? prop : null;
|
|
12
|
+
export const castDecoObject = (prop) => prop.type === DecoPropertyType.object ? prop : null;
|
|
13
|
+
//# sourceMappingURL=deco.cast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.cast.js","sourceRoot":"","sources":["../../src/decorator/deco.cast.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,oFAAoF;AACpF,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,IAAsB,EACI,EAAE;IAC5B,MAAM,MAAM,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IACpC,OAAO,MAAM,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;AAChD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,IAAsB,EACI,EAAE,CAC5B,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAE,IAA0B,CAAC,CAAC,CAAC,IAAI,CAAC;AAE7E,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,IAAsB,EACI,EAAE,CAC5B,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAE,IAA0B,CAAC,CAAC,CAAC,IAAI,CAAC;AAE7E,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,IAAsB,EACK,EAAE,CAC7B,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAE,IAA2B,CAAC,CAAC,CAAC,IAAI,CAAC;AAE/E,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAsB,EAA0B,EAAE,CAC7E,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAE,IAAwB,CAAC,CAAC,CAAC,IAAI,CAAC;AAEzE,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,IAAsB,EACG,EAAE,CAC3B,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAE,IAAyB,CAAC,CAAC,CAAC,IAAI,CAAC;AAE3E,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,IAAsB,EACI,EAAE,CAC5B,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAE,IAA0B,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare enum DecoFileType {
|
|
2
|
+
doc = "doc",
|
|
3
|
+
template = "template",
|
|
4
|
+
routes = "routes",
|
|
5
|
+
backend = "backend",
|
|
6
|
+
frontend = "frontend",
|
|
7
|
+
zod = "zod",
|
|
8
|
+
annotations = "annotations"
|
|
9
|
+
}
|
|
10
|
+
export declare const guardDecoFileType: (type: unknown) => DecoFileType | null;
|
|
11
|
+
export declare enum DecoFileExtension {
|
|
12
|
+
ts = "ts",
|
|
13
|
+
json = "json"
|
|
14
|
+
}
|
|
15
|
+
export declare const guardDecoFileExtension: (type: unknown) => DecoFileExtension | null;
|
|
16
|
+
export declare enum DecoTargetType {
|
|
17
|
+
common = "common",
|
|
18
|
+
frontend = "frontend",
|
|
19
|
+
backend = "backend"
|
|
20
|
+
}
|
|
21
|
+
export declare const guardDecoTargetType: (type: unknown) => DecoTargetType | null;
|
|
22
|
+
export declare enum DecoPropertyType {
|
|
23
|
+
string = "string",
|
|
24
|
+
number = "number",
|
|
25
|
+
boolean = "boolean",
|
|
26
|
+
date = "date",
|
|
27
|
+
array = "array",
|
|
28
|
+
object = "object"
|
|
29
|
+
}
|
|
30
|
+
export declare enum DecoHeadType {
|
|
31
|
+
default = "default",
|
|
32
|
+
leading = "leading"
|
|
33
|
+
}
|
|
34
|
+
export declare enum DecoDateFormat {
|
|
35
|
+
timestamp = "timestamp",
|
|
36
|
+
time = "time",
|
|
37
|
+
date = "date"
|
|
38
|
+
}
|
|
39
|
+
export declare enum CrudRouteName {
|
|
40
|
+
create = "create",
|
|
41
|
+
update = "update",
|
|
42
|
+
delete = "delete",
|
|
43
|
+
get = "get",
|
|
44
|
+
query = "query",
|
|
45
|
+
count = "count",
|
|
46
|
+
exists = "exists"
|
|
47
|
+
}
|
|
48
|
+
export declare const isCrudRoute: (routeName: string) => boolean;
|
|
49
|
+
export declare const hasCrudRoute: (routeNames: string[]) => boolean;
|
|
50
|
+
//# sourceMappingURL=deco.enum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.enum.d.ts","sourceRoot":"","sources":["../../src/decorator/deco.enum.ts"],"names":[],"mappings":"AACA,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,WAAW,gBAAgB;CAC5B;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,OAAO,KAAG,YAAY,GAAG,IAIvD,CAAC;AAGX,oBAAY,iBAAiB;IAC3B,EAAE,OAAO;IACT,IAAI,SAAS;CACd;AAED,eAAO,MAAM,sBAAsB,GACjC,MAAM,OAAO,KACZ,iBAAiB,GAAG,IAIb,CAAC;AAGX,oBAAY,cAAc;IACxB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,mBAAmB,GAAI,MAAM,OAAO,KAAG,cAAc,GAAG,IAI3D,CAAC;AAGX,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAGD,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAGD,oBAAY,cAAc;IACxB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAGD,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,WAAW,GAAI,WAAW,MAAM,KAAG,OACa,CAAC;AAE9D,eAAO,MAAM,YAAY,GAAI,YAAY,MAAM,EAAE,KAAG,OACM,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// ----- DecoFileType --------------------------------------
|
|
2
|
+
export var DecoFileType;
|
|
3
|
+
(function (DecoFileType) {
|
|
4
|
+
DecoFileType["doc"] = "doc";
|
|
5
|
+
DecoFileType["template"] = "template";
|
|
6
|
+
DecoFileType["routes"] = "routes";
|
|
7
|
+
DecoFileType["backend"] = "backend";
|
|
8
|
+
DecoFileType["frontend"] = "frontend";
|
|
9
|
+
DecoFileType["zod"] = "zod";
|
|
10
|
+
DecoFileType["annotations"] = "annotations";
|
|
11
|
+
})(DecoFileType || (DecoFileType = {}));
|
|
12
|
+
export const guardDecoFileType = (type) => typeof type === "string" &&
|
|
13
|
+
Object.values(DecoFileType).includes(type)
|
|
14
|
+
? type
|
|
15
|
+
: null;
|
|
16
|
+
// ----- DecoFileExtension --------------------------------------
|
|
17
|
+
export var DecoFileExtension;
|
|
18
|
+
(function (DecoFileExtension) {
|
|
19
|
+
DecoFileExtension["ts"] = "ts";
|
|
20
|
+
DecoFileExtension["json"] = "json";
|
|
21
|
+
})(DecoFileExtension || (DecoFileExtension = {}));
|
|
22
|
+
export const guardDecoFileExtension = (type) => typeof type === "string" &&
|
|
23
|
+
Object.values(DecoFileExtension).includes(type)
|
|
24
|
+
? type
|
|
25
|
+
: null;
|
|
26
|
+
// ----- DecoTargetType --------------------------------------
|
|
27
|
+
export var DecoTargetType;
|
|
28
|
+
(function (DecoTargetType) {
|
|
29
|
+
DecoTargetType["common"] = "common";
|
|
30
|
+
DecoTargetType["frontend"] = "frontend";
|
|
31
|
+
DecoTargetType["backend"] = "backend";
|
|
32
|
+
})(DecoTargetType || (DecoTargetType = {}));
|
|
33
|
+
export const guardDecoTargetType = (type) => typeof type === "string" &&
|
|
34
|
+
Object.values(DecoTargetType).includes(type)
|
|
35
|
+
? type
|
|
36
|
+
: null;
|
|
37
|
+
// ----- DecoPropertyType --------------------------------------
|
|
38
|
+
export var DecoPropertyType;
|
|
39
|
+
(function (DecoPropertyType) {
|
|
40
|
+
DecoPropertyType["string"] = "string";
|
|
41
|
+
DecoPropertyType["number"] = "number";
|
|
42
|
+
DecoPropertyType["boolean"] = "boolean";
|
|
43
|
+
DecoPropertyType["date"] = "date";
|
|
44
|
+
DecoPropertyType["array"] = "array";
|
|
45
|
+
DecoPropertyType["object"] = "object";
|
|
46
|
+
})(DecoPropertyType || (DecoPropertyType = {}));
|
|
47
|
+
// ----- DecoHeadType --------------------------------------
|
|
48
|
+
export var DecoHeadType;
|
|
49
|
+
(function (DecoHeadType) {
|
|
50
|
+
DecoHeadType["default"] = "default";
|
|
51
|
+
DecoHeadType["leading"] = "leading";
|
|
52
|
+
})(DecoHeadType || (DecoHeadType = {}));
|
|
53
|
+
// ----- DecoDateFormat --------------------------------------
|
|
54
|
+
export var DecoDateFormat;
|
|
55
|
+
(function (DecoDateFormat) {
|
|
56
|
+
DecoDateFormat["timestamp"] = "timestamp";
|
|
57
|
+
DecoDateFormat["time"] = "time";
|
|
58
|
+
DecoDateFormat["date"] = "date";
|
|
59
|
+
})(DecoDateFormat || (DecoDateFormat = {}));
|
|
60
|
+
// ----- CrudRouteName --------------------------------------
|
|
61
|
+
export var CrudRouteName;
|
|
62
|
+
(function (CrudRouteName) {
|
|
63
|
+
CrudRouteName["create"] = "create";
|
|
64
|
+
CrudRouteName["update"] = "update";
|
|
65
|
+
CrudRouteName["delete"] = "delete";
|
|
66
|
+
CrudRouteName["get"] = "get";
|
|
67
|
+
CrudRouteName["query"] = "query";
|
|
68
|
+
CrudRouteName["count"] = "count";
|
|
69
|
+
CrudRouteName["exists"] = "exists";
|
|
70
|
+
})(CrudRouteName || (CrudRouteName = {}));
|
|
71
|
+
export const isCrudRoute = (routeName) => !!Object.values(CrudRouteName).find((r) => r === routeName);
|
|
72
|
+
export const hasCrudRoute = (routeNames) => !!routeNames.find((routeName) => isCrudRoute(routeName));
|
|
73
|
+
//# sourceMappingURL=deco.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.enum.js","sourceRoot":"","sources":["../../src/decorator/deco.enum.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,2BAAW,CAAA;IACX,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;IACX,2CAA2B,CAAA;AAC7B,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,IAAa,EAAuB,EAAE,CACtE,OAAO,IAAI,KAAK,QAAQ;IACxB,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,IAAoB,CAAC;IACxD,CAAC,CAAE,IAAqB;IACxB,CAAC,CAAC,IAAI,CAAC;AAEX,iEAAiE;AACjE,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,8BAAS,CAAA;IACT,kCAAa,CAAA;AACf,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,IAAa,EACa,EAAE,CAC5B,OAAO,IAAI,KAAK,QAAQ;IACxB,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,IAAyB,CAAC;IAClE,CAAC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AAM,CAAC,MAAM,WAAW,GAAG,CAAC,SAAiB,EAAW,EAAE,CACxD,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC;AAE9D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,UAAoB,EAAW,EAAE,CAC5D,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DecoTargetType } from "./deco.enum.js";
|
|
2
|
+
export interface DecoNames {
|
|
3
|
+
targetType: DecoTargetType;
|
|
4
|
+
basename: string;
|
|
5
|
+
basenameLower: string;
|
|
6
|
+
basenameUpper: string;
|
|
7
|
+
doc: string;
|
|
8
|
+
routes: string;
|
|
9
|
+
routesName: string;
|
|
10
|
+
api: string;
|
|
11
|
+
func: string;
|
|
12
|
+
store: string;
|
|
13
|
+
shape: string;
|
|
14
|
+
schema: string;
|
|
15
|
+
annotations: string;
|
|
16
|
+
initialFunc: string;
|
|
17
|
+
functionName: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const decoNamesProperties: (keyof DecoNames)[];
|
|
20
|
+
//# sourceMappingURL=deco.names.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.names.d.ts","sourceRoot":"","sources":["../../src/decorator/deco.names.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,cAAc,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAqBD,eAAO,MAAM,mBAAmB,EAEhB,CAAC,MAAM,SAAS,CAAC,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const decoNames = {
|
|
2
|
+
targetType: undefined,
|
|
3
|
+
basename: undefined,
|
|
4
|
+
basenameLower: undefined,
|
|
5
|
+
basenameUpper: undefined,
|
|
6
|
+
// template: undefined!,
|
|
7
|
+
doc: undefined,
|
|
8
|
+
routes: undefined,
|
|
9
|
+
routesName: undefined,
|
|
10
|
+
api: undefined,
|
|
11
|
+
func: undefined,
|
|
12
|
+
store: undefined,
|
|
13
|
+
shape: undefined,
|
|
14
|
+
schema: undefined,
|
|
15
|
+
annotations: undefined,
|
|
16
|
+
initialFunc: undefined,
|
|
17
|
+
functionName: undefined,
|
|
18
|
+
};
|
|
19
|
+
export const decoNamesProperties = Object.keys(decoNames);
|
|
20
|
+
//# sourceMappingURL=deco.names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.names.js","sourceRoot":"","sources":["../../src/decorator/deco.names.ts"],"names":[],"mappings":"AAqBA,MAAM,SAAS,GAAwB;IACrC,UAAU,EAAE,SAAU;IACtB,QAAQ,EAAE,SAAU;IACpB,aAAa,EAAE,SAAU;IACzB,aAAa,EAAE,SAAU;IACzB,wBAAwB;IACxB,GAAG,EAAE,SAAU;IACf,MAAM,EAAE,SAAU;IAClB,UAAU,EAAE,SAAU;IACtB,GAAG,EAAE,SAAU;IACf,IAAI,EAAE,SAAU;IAChB,KAAK,EAAE,SAAU;IACjB,KAAK,EAAE,SAAU;IACjB,MAAM,EAAE,SAAU;IAClB,WAAW,EAAE,SAAU;IACvB,WAAW,EAAE,SAAU;IACvB,YAAY,EAAE,SAAU;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CAC5C,SAAS,CACwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.paths.d.ts","sourceRoot":"","sources":["../../src/decorator/deco.paths.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,EACZ,SAAS,MAAM,EACf,UAAU,MAAM,KACf,MAQF,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,UAAU,MAAM,KACf;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAOnD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const toDecoPath = (name, dirPath, filename) => {
|
|
2
|
+
if ((!filename.endsWith(".ts") && !filename.endsWith(".js")) ||
|
|
3
|
+
filename.endsWith(".d.ts"))
|
|
4
|
+
throw new Error(`Expected file extensions: .ts and .js. Got: ${filename}`);
|
|
5
|
+
return `${dirPath}/${filename}=${name}`;
|
|
6
|
+
};
|
|
7
|
+
export const fromDecoPath = (decoPath) => {
|
|
8
|
+
const found = decoPath.match(/^(.+)\/([a-zA-Z0-9-_+]+\.[tj]s)=([a-zA-Z0-9-_+]+)$/);
|
|
9
|
+
if (!found)
|
|
10
|
+
throw new Error(`decoPath not supported: ${decoPath}`);
|
|
11
|
+
const [dirPath, filename, name] = found;
|
|
12
|
+
return { dirPath, filename, name };
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=deco.paths.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.paths.js","sourceRoot":"","sources":["../../src/decorator/deco.paths.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,IAAY,EACZ,OAAe,EACf,QAAgB,EACR,EAAE;IACV,IACE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACxD,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC;QAE1B,MAAM,IAAI,KAAK,CAAC,+CAA+C,QAAQ,EAAE,CAAC,CAAC;IAE7E,OAAO,GAAG,OAAO,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;AAC1C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,QAAgB,EACqC,EAAE;IACvD,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAC1B,oDAAoD,CACrD,CAAC;IACF,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,2BAA2B,QAAQ,EAAE,CAAC,CAAC;IACnE,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,KAAK,CAAC;IACxC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACrC,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DecoPropertyBase, DecoPropertyRaw } from "../types/types.deco.property.js";
|
|
2
|
+
import { DecoArray } from "./DecoArray.js";
|
|
3
|
+
import { DecoBoolean } from "./DecoBoolean.js";
|
|
4
|
+
import { DecoDate } from "./DecoDate.js";
|
|
5
|
+
import { DecoNumber } from "./DecoNumber.js";
|
|
6
|
+
import { DecoString } from "./DecoString.js";
|
|
7
|
+
export declare const createInstance: <T extends DecoPropertyBase>(extr: DecoPropertyRaw<T>) => DecoArray | DecoBoolean | DecoDate | DecoNumber | DecoString | null;
|
|
8
|
+
export declare const createInstances: (extracts: DecoPropertyRaw<any>[]) => (DecoArray | DecoBoolean | DecoDate | DecoNumber | DecoString)[];
|
|
9
|
+
//# sourceMappingURL=deco.properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.properties.d.ts","sourceRoot":"","sources":["../../src/decorator/deco.properties.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,eAAe,EAChB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAgB,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,gBAAgB,EACvD,MAAM,eAAe,CAAC,CAAC,CAAC,wEAwCzB,CAAC;AAGF,eAAO,MAAM,eAAe,GAAI,UAAU,eAAe,CAAC,GAAG,CAAC,EAAE,qEACW,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { DecoPropertyType } from "./deco.enum.js";
|
|
2
|
+
import { DecoArray } from "./DecoArray.js";
|
|
3
|
+
import { DecoBoolean } from "./DecoBoolean.js";
|
|
4
|
+
import { DecoDate } from "./DecoDate.js";
|
|
5
|
+
import { DecoNumber } from "./DecoNumber.js";
|
|
6
|
+
import { DecoString } from "./DecoString.js";
|
|
7
|
+
export const createInstance = (extr) => {
|
|
8
|
+
if (extr.data.type === DecoPropertyType.string)
|
|
9
|
+
return new DecoString().setAll({
|
|
10
|
+
common: extr.common,
|
|
11
|
+
data: extr.data,
|
|
12
|
+
});
|
|
13
|
+
if (extr.data.type === DecoPropertyType.number)
|
|
14
|
+
return new DecoNumber().setAll({
|
|
15
|
+
common: extr.common,
|
|
16
|
+
data: extr.data,
|
|
17
|
+
});
|
|
18
|
+
if (extr.data.type === DecoPropertyType.boolean)
|
|
19
|
+
return new DecoBoolean().setAll({
|
|
20
|
+
common: extr.common,
|
|
21
|
+
data: extr.data,
|
|
22
|
+
});
|
|
23
|
+
if (extr.data.type === DecoPropertyType.date)
|
|
24
|
+
return new DecoDate().setAll({
|
|
25
|
+
common: extr.common,
|
|
26
|
+
data: extr.data,
|
|
27
|
+
});
|
|
28
|
+
if (extr.data.type === DecoPropertyType.array)
|
|
29
|
+
return new DecoArray().setAll({
|
|
30
|
+
common: extr.common,
|
|
31
|
+
data: extr.data,
|
|
32
|
+
});
|
|
33
|
+
// todo
|
|
34
|
+
// if (extr.data.type === DecoPropertyType.object)
|
|
35
|
+
// return new DecoObject().setAll({
|
|
36
|
+
// common: extr.common,
|
|
37
|
+
// data: extr.data,
|
|
38
|
+
// });
|
|
39
|
+
return null;
|
|
40
|
+
};
|
|
41
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
42
|
+
export const createInstances = (extracts) => extracts.map(createInstance).filter((s) => s !== null && s !== undefined);
|
|
43
|
+
//# sourceMappingURL=deco.properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.properties.js","sourceRoot":"","sources":["../../src/decorator/deco.properties.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAgB,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,IAAwB,EACxB,EAAE;IACF,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,MAAM;QAC5C,OAAO,IAAI,UAAU,EAAE,CAAC,MAAM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AAC,KAAK,IAAI,IAAI,CAAC,KAAK,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.routes.d.ts","sourceRoot":"","sources":["../../src/decorator/deco.routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,eAAO,MAAM,UAAU,GACrB,SAAS,MAAM,KACd,MAAM,CAAC,aAAa,EAAE,eAAe,CAoBtC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const crudRoutes = (docName) => ({
|
|
2
|
+
create: {
|
|
3
|
+
requestType: `WithoutKey<${docName}>`,
|
|
4
|
+
responseType: `WithKey<${docName}>`,
|
|
5
|
+
},
|
|
6
|
+
update: {
|
|
7
|
+
requestType: `WithKey<Partial<${docName}>>`,
|
|
8
|
+
responseType: `WithKey<${docName}>`,
|
|
9
|
+
},
|
|
10
|
+
delete: { requestType: "DocumentKey", responseType: "{ deleted: true }" },
|
|
11
|
+
get: { requestType: "DocumentKey", responseType: `WithKey<${docName}>` },
|
|
12
|
+
query: {
|
|
13
|
+
requestType: "ApiFilter | undefined | null | never",
|
|
14
|
+
responseType: `WithKey<${docName}>[]`,
|
|
15
|
+
},
|
|
16
|
+
count: {
|
|
17
|
+
requestType: "ApiFilter | undefined | null | never",
|
|
18
|
+
responseType: "{ count: number }",
|
|
19
|
+
},
|
|
20
|
+
exists: { requestType: "DocumentKey", responseType: "{ exists: boolean }" },
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=deco.routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deco.routes.js","sourceRoot":"","sources":["../../src/decorator/deco.routes.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,OAAe,EACyB,EAAE,CAAC,CAAC;IAC5C,MAAM,EAAE;QACN,WAAW,EAAE,cAAc,OAAO,GAAG;QACrC,YAAY,EAAE,WAAW,OAAO,GAAG;KACpC;IACD,MAAM,EAAE;QACN,WAAW,EAAE,mBAAmB,OAAO,IAAI;QAC3C,YAAY,EAAE,WAAW,OAAO,GAAG;KACpC;IACD,MAAM,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,mBAAmB,EAAE;IACzE,GAAG,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,OAAO,GAAG,EAAE;IACxE,KAAK,EAAE;QACL,WAAW,EAAE,sCAAsC;QACnD,YAAY,EAAE,WAAW,OAAO,KAAK;KACtC;IACD,KAAK,EAAE;QACL,WAAW,EAAE,sCAAsC;QACnD,YAAY,EAAE,mBAAmB;KAClC;IACD,MAAM,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAE;CAC5E,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from "./DecoArray.js";
|
|
2
|
+
export * from "./DecoBoolean.js";
|
|
3
|
+
export * from "./DecoDate.js";
|
|
4
|
+
export * from "./DecoNumber.js";
|
|
5
|
+
export * from "./DecoObject.js";
|
|
6
|
+
export * from "./DecoProperty.js";
|
|
7
|
+
export * from "./DecoString.js";
|
|
8
|
+
export * from "./Decorator.js";
|
|
9
|
+
export * from "./deco.cast.js";
|
|
10
|
+
export * from "./deco.enum.js";
|
|
11
|
+
export * from "./deco.names.js";
|
|
12
|
+
export * from "./deco.paths.js";
|
|
13
|
+
export * from "./deco.properties.js";
|
|
14
|
+
export * from "./deco.routes.js";
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/decorator/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// This file is auto-generated by build-cli. Do not edit manually.
|
|
2
|
+
export * from "./DecoArray.js";
|
|
3
|
+
export * from "./DecoBoolean.js";
|
|
4
|
+
export * from "./DecoDate.js";
|
|
5
|
+
export * from "./DecoNumber.js";
|
|
6
|
+
export * from "./DecoObject.js";
|
|
7
|
+
export * from "./DecoProperty.js";
|
|
8
|
+
export * from "./DecoString.js";
|
|
9
|
+
export * from "./Decorator.js";
|
|
10
|
+
export * from "./deco.cast.js";
|
|
11
|
+
export * from "./deco.enum.js";
|
|
12
|
+
export * from "./deco.names.js";
|
|
13
|
+
export * from "./deco.paths.js";
|
|
14
|
+
export * from "./deco.properties.js";
|
|
15
|
+
export * from "./deco.routes.js";
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/decorator/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AnnotationsProperty } from "../types/types.annotation.js";
|
|
2
|
+
import { DecoPropertyBase } from "../types/types.deco.property.js";
|
|
3
3
|
import { DocumentData } from "../types/types.document.js";
|
|
4
|
-
|
|
5
|
-
export declare const annoProperty: (propertyKey: string, headerOrProps: AnnotationsHeader | AnnotationsProperty[]) => AnnotationsProperty | null;
|
|
6
|
-
export declare const annoPropertyTitle: (prop: AnnotationsProperty, type?: MetaFacetItemType | "*") => string;
|
|
7
|
-
export declare const annoPropertyBase: <T>(annoKey: keyof AnnotationsProperty, prop: AnnotationsProperty, type: (MetaFacetItemType | "*") | undefined, fallback: T) => T;
|
|
8
|
-
export declare const annoPropertyError: (propertyKey: string, headerOrProps: AnnotationsHeader | AnnotationsProperty[], errorFields: ValidationResultFields, type?: MetaFacetItemType | "*") => AnnotationsError | undefined;
|
|
9
|
-
export declare const annoDocInitial: <T extends DocumentData>(properties: AnnotationsProperty[]) => Partial<T>;
|
|
4
|
+
export declare const annoDocInitial: <T extends DocumentData>(properties: AnnotationsProperty<DecoPropertyBase>[]) => Partial<T>;
|
|
10
5
|
//# sourceMappingURL=helper.annotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.annotation.d.ts","sourceRoot":"","sources":["../../src/helper/helper.annotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"helper.annotation.d.ts","sourceRoot":"","sources":["../../src/helper/helper.annotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,YAAY,EACnD,YAAY,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,KAClD,OAAO,CAAC,CAAC,CAUX,CAAC"}
|
|
@@ -1,48 +1,11 @@
|
|
|
1
|
-
import { MetaFacetItemType } from "../meta/meta.enum.js";
|
|
2
|
-
export const annoProperty = (propertyKey, headerOrProps) => {
|
|
3
|
-
const properties = Array.isArray(headerOrProps)
|
|
4
|
-
? headerOrProps
|
|
5
|
-
: headerOrProps.properties;
|
|
6
|
-
return properties.find((prop) => prop.propertyKey == propertyKey) ?? null;
|
|
7
|
-
};
|
|
8
|
-
export const annoPropertyTitle = (prop, type = "*") => annoPropertyBase("title", prop, type, prop.propertyKey);
|
|
9
|
-
export const annoPropertyBase = (annoKey, prop, type = "*", fallback) => {
|
|
10
|
-
const res = prop[annoKey];
|
|
11
|
-
if (res === null || res === undefined)
|
|
12
|
-
return fallback;
|
|
13
|
-
if (typeof res === "object") {
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15
|
-
const resAny = res;
|
|
16
|
-
const typesToBeChecked = type === "*" ? Object.values(MetaFacetItemType) : [type];
|
|
17
|
-
const foundType = typesToBeChecked.find((t) => resAny[t] !== null && resAny[t] !== undefined);
|
|
18
|
-
return foundType ? resAny[foundType] : fallback;
|
|
19
|
-
}
|
|
20
|
-
if (typeof res === typeof fallback)
|
|
21
|
-
return res;
|
|
22
|
-
return fallback;
|
|
23
|
-
};
|
|
24
|
-
export const annoPropertyError = (propertyKey, headerOrProps, errorFields, type = "*") => {
|
|
25
|
-
const errors = errorFields[propertyKey];
|
|
26
|
-
if (!errors)
|
|
27
|
-
return undefined;
|
|
28
|
-
const prop = annoProperty(propertyKey, headerOrProps);
|
|
29
|
-
return {
|
|
30
|
-
propertyKey,
|
|
31
|
-
title: prop ? annoPropertyTitle(prop, type) : propertyKey,
|
|
32
|
-
error: errors.join("\n"),
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
1
|
export const annoDocInitial = (properties) => {
|
|
36
2
|
const result = {};
|
|
37
3
|
for (const prop of properties) {
|
|
38
4
|
const key = prop.propertyKey;
|
|
39
|
-
const
|
|
40
|
-
if (
|
|
41
|
-
continue;
|
|
42
|
-
const def = refObject ?? null;
|
|
43
|
-
if (def?.default !== null && def?.default !== undefined)
|
|
5
|
+
const def = prop.data["default"];
|
|
6
|
+
if (def !== null && def !== undefined)
|
|
44
7
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
45
|
-
result[key] = def
|
|
8
|
+
result[key] = def;
|
|
46
9
|
}
|
|
47
10
|
return result;
|
|
48
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.annotation.js","sourceRoot":"","sources":["../../src/helper/helper.annotation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helper.annotation.js","sourceRoot":"","sources":["../../src/helper/helper.annotation.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,UAAmD,EACvC,EAAE;IACd,MAAM,MAAM,GAAe,EAAE,CAAC;IAC9B,KAAK,MAAM,IAAI,IAAI,UAAU,EAAE,CAAC;QAC9B,MAAM,GAAG,GAAG,IAAI,CAAC,WAAsB,CAAC;QACxC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACjC,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS;YACnC,8DAA8D;YAC7D,MAAc,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;IAC/B,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const callableUnwrap: <T extends DocumentData>(c: CallbackAble<T>) => Promise<T>;
|
|
1
|
+
import { DocumentKeyAdmin } from "../types/types.document.js";
|
|
3
2
|
export declare const documentKeyAdmin: Required<DocumentKeyAdmin>;
|
|
4
3
|
export declare const DOCUMENT_KEY_ADMIN_KEYS: string[];
|
|
5
4
|
//# sourceMappingURL=helper.document.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.document.d.ts","sourceRoot":"","sources":["../../src/helper/helper.document.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"helper.document.d.ts","sourceRoot":"","sources":["../../src/helper/helper.document.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAIvD,CAAC;AAEF,eAAO,MAAM,uBAAuB,UAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.document.js","sourceRoot":"","sources":["../../src/helper/helper.document.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helper.document.js","sourceRoot":"","sources":["../../src/helper/helper.document.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,EAAE,EAAE,SAAU;IACd,UAAU,EAAE,SAAU;IACtB,UAAU,EAAE,SAAU;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from "./types.annotation.js";
|
|
2
|
+
export * from "./types.deco.common.js";
|
|
3
|
+
export * from "./types.deco.property.js";
|
|
2
4
|
export * from "./types.document.js";
|
|
3
5
|
export * from "./types.filter.js";
|
|
4
6
|
export * from "./types.function.js";
|
|
5
|
-
export * from "./types.meta.js";
|
|
6
7
|
export * from "./types.routes.js";
|
|
7
8
|
export * from "./types.validation.js";
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// This file is auto-generated by build-cli. Do not edit manually.
|
|
2
2
|
export * from "./types.annotation.js";
|
|
3
|
+
export * from "./types.deco.common.js";
|
|
4
|
+
export * from "./types.deco.property.js";
|
|
3
5
|
export * from "./types.document.js";
|
|
4
6
|
export * from "./types.filter.js";
|
|
5
7
|
export * from "./types.function.js";
|
|
6
|
-
export * from "./types.meta.js";
|
|
7
8
|
export * from "./types.routes.js";
|
|
8
9
|
export * from "./types.validation.js";
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,cAAc,uBAAuB,CAAC;AACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export interface AnnotationsRoute extends
|
|
1
|
+
import { DecoImport, DecoRouteParams } from "./types.deco.common.js";
|
|
2
|
+
import { DecoPropertyBase, DecoPropertyCommon } from "./types.deco.property.js";
|
|
3
|
+
export interface AnnotationsRoute extends DecoRouteParams {
|
|
4
4
|
name: string;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
export interface AnnotationsProperty<T extends DecoPropertyBase> {
|
|
7
|
+
propertyKey: string;
|
|
8
|
+
propertyType: string;
|
|
9
|
+
common: DecoPropertyCommon;
|
|
10
|
+
data: T;
|
|
11
|
+
sub?: AnnotationsHeader;
|
|
11
12
|
}
|
|
12
|
-
export declare const stripAnnotationsProperty: (prop: AnnotationsProperty) => AnnotationsProperty;
|
|
13
13
|
export interface AnnotationsHeader {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
name: string;
|
|
15
|
+
namespace?: string;
|
|
16
|
+
properties: AnnotationsProperty<DecoPropertyBase>[];
|
|
17
|
+
routes?: AnnotationsRoute[];
|
|
18
|
+
additionalImports?: DecoImport[];
|
|
17
19
|
}
|
|
18
|
-
export declare const stripAnnotationsHeader: (header: AnnotationsHeader, deepStrip?: boolean) => AnnotationsHeader;
|
|
19
20
|
export interface AnnotationsError {
|
|
20
21
|
propertyKey: string;
|
|
21
22
|
title: string;
|
|
22
23
|
error: string;
|
|
23
24
|
}
|
|
24
|
-
export declare const stripAnnotationsError: (error: AnnotationsError) => AnnotationsError;
|
|
25
|
-
export interface AnnotationsDefaultValue {
|
|
26
|
-
default?: string | number | boolean | null;
|
|
27
|
-
}
|
|
28
25
|
//# sourceMappingURL=types.annotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.annotation.d.ts","sourceRoot":"","sources":["../../src/types/types.annotation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.annotation.d.ts","sourceRoot":"","sources":["../../src/types/types.annotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAGhF,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,gBAAgB;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC;IACR,GAAG,CAAC,EAAE,iBAAiB,CAAC;CACzB;AAGD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,CAAC;IACpD,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,iBAAiB,CAAC,EAAE,UAAU,EAAE,CAAC;CAClC;AAGD,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf"}
|