aws-service-stack 0.18.432 → 0.18.433
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/model/base.model.d.ts +1 -1
- package/dist/model/base.model.d.ts.map +1 -1
- package/dist/model/base.model.js.map +1 -1
- package/dist/model/date-string.model.d.ts +6 -9
- package/dist/model/date-string.model.d.ts.map +1 -1
- package/dist/model/date-string.model.js.map +1 -1
- package/package.json +13 -1
|
@@ -2,7 +2,7 @@ import { RequestType } from "./validation.model";
|
|
|
2
2
|
import { Action } from "./http.model";
|
|
3
3
|
import { DateStr, DateTimeStr, YearMonthStr, YearStr } from "./date-string.model";
|
|
4
4
|
import { Dayjs } from "dayjs";
|
|
5
|
-
export type {
|
|
5
|
+
export type { DateStr, DateTimeStr, TimeStr, LocalTimeStr, YearMonthStr, YearStr } from "./date-string.model";
|
|
6
6
|
export type DateInput = string | Date | Dayjs;
|
|
7
7
|
export interface BaseEntity {
|
|
8
8
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.model.d.ts","sourceRoot":"","sources":["../../src/model/base.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAE9B,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"base.model.d.ts","sourceRoot":"","sources":["../../src/model/base.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM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,WAAW,IAAI,CAAC,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,aAAa,CAAC;CACrB;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,qBAAa,QAAS,SAAQ,GAAG,CAAC,MAAM,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;CAAG;AAExG,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.model.js","sourceRoot":"","sources":["../../src/model/base.model.ts"],"names":[],"mappings":";;;AA+DA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;AACrB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAOD,MAAa,QAAS,SAAQ,GAAuE;CAAG;AAAxG,4BAAwG","sourcesContent":["import { RequestType } from \"./validation.model\";\nimport { Action } from \"./http.model\";\nimport { DateStr, DateTimeStr, YearMonthStr, YearStr } from \"./date-string.model\";\nimport { Dayjs } from \"dayjs\";\n\nexport type {
|
|
1
|
+
{"version":3,"file":"base.model.js","sourceRoot":"","sources":["../../src/model/base.model.ts"],"names":[],"mappings":";;;AA+DA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;AACrB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAOD,MAAa,QAAS,SAAQ,GAAuE;CAAG;AAAxG,4BAAwG","sourcesContent":["import { RequestType } from \"./validation.model\";\nimport { Action } from \"./http.model\";\nimport { DateStr, DateTimeStr, YearMonthStr, YearStr } from \"./date-string.model\";\nimport { Dayjs } from \"dayjs\";\n\nexport type { DateStr, DateTimeStr, TimeStr, LocalTimeStr, YearMonthStr, YearStr } from \"./date-string.model\";\n\nexport type DateInput = string | Date | Dayjs;\n\nexport interface BaseEntity {\n id?: string;\n createdAt?: DateTimeStr;\n updatedAt?: DateTimeStr;\n\n createdBy?: any;\n updatedBy?: any;\n\n ownerId?: string;\n ownerParentId?: string;\n\n permission?: Map<string, Permission[]>;\n\n history?: ChangeHistory[];\n\n year?: YearStr;\n yearMonth?: YearMonthStr;\n yearMonthDay?: DateStr;\n}\n\nexport interface ChangedField {\n fieldName: string;\n oldValue: string;\n newValue: string;\n}\n\nexport interface ChangeHistory {\n action: string;\n user: string;\n date: DateTimeStr;\n changes?: ChangedField[];\n}\n\nexport interface Permission {\n role: RequestType;\n actions: Action[];\n}\n\nexport interface Attachment {\n thumbnail: string;\n original: string;\n}\n\nexport interface List<T> {\n items: Array<T>;\n total?: number;\n lastKey?: string;\n}\n\nexport interface TraceChange {\n fields: string[];\n mode: InclusionMode;\n}\n\nexport enum InclusionMode {\n INCLUDE = \"include\",\n EXCLUDE = \"exclude\",\n}\n\nexport interface RolePermission {\n role: string;\n permissions: string[];\n}\n\nexport class ScopeMap extends Map<string, { filterField: string; level?: number; claimKey?: string }> {}\n\nexport interface PermissionMap {\n scopeMap: ScopeMap;\n roleTable: string;\n userPoolId?: string;\n rolePath?: string;\n}\n"]}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
export type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
7
|
-
export type LocalTimeStr = Brand<string, "LocalTimeStr">;
|
|
8
|
-
export type YearMonthStr = Brand<string, "YearMonthStr">;
|
|
9
|
-
export type YearStr = Brand<string, "YearStr">;
|
|
1
|
+
export type DateStr = string;
|
|
2
|
+
export type DateTimeStr = string;
|
|
3
|
+
export type TimeStr = string;
|
|
4
|
+
export type LocalTimeStr = string;
|
|
5
|
+
export type YearMonthStr = string;
|
|
6
|
+
export type YearStr = string;
|
|
10
7
|
//# sourceMappingURL=date-string.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-string.model.d.ts","sourceRoot":"","sources":["../../src/model/date-string.model.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"date-string.model.d.ts","sourceRoot":"","sources":["../../src/model/date-string.model.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAC7B,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AACjC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAC7B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-string.model.js","sourceRoot":"","sources":["../../src/model/date-string.model.ts"],"names":[],"mappings":"","sourcesContent":["export type
|
|
1
|
+
{"version":3,"file":"date-string.model.js","sourceRoot":"","sources":["../../src/model/date-string.model.ts"],"names":[],"mappings":"","sourcesContent":["export type DateStr = string; // YYYY-MM-DD\nexport type DateTimeStr = string; // YYYY-MM-DDTHH:mm:ss.SSSZ\nexport type TimeStr = string; // HH:mm:ss.SSSZ\nexport type LocalTimeStr = string; // HH:mm:ss.SSS\nexport type YearMonthStr = string; // YYYY-MM\nexport type YearStr = string; // YYYY\n\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aws-service-stack",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.433",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "chinggis.systems",
|
|
@@ -13,6 +13,18 @@
|
|
|
13
13
|
"registry": "https://registry.npmjs.org/",
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
|
+
"overrides": {
|
|
17
|
+
"babel-plugin-istanbul": {
|
|
18
|
+
"test-exclude": "7.0.1"
|
|
19
|
+
},
|
|
20
|
+
"glob": "13.0.6"
|
|
21
|
+
},
|
|
22
|
+
"pnpm": {
|
|
23
|
+
"overrides": {
|
|
24
|
+
"test-exclude": "7.0.1",
|
|
25
|
+
"glob": "13.0.6"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
16
28
|
"engines": {
|
|
17
29
|
"node": ">=20"
|
|
18
30
|
},
|