@xube/kit-aws-schema 0.0.93 → 0.0.95

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.
@@ -0,0 +1,12 @@
1
+ import { z } from "zod";
2
+ export declare const XubeAWSEnvironment: z.ZodObject<{
3
+ region: z.ZodString;
4
+ account: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ region: string;
7
+ account: string;
8
+ }, {
9
+ region: string;
10
+ account: string;
11
+ }>;
12
+ export type XubeEnvironment = z.infer<typeof XubeAWSEnvironment>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.XubeAWSEnvironment = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.XubeAWSEnvironment = zod_1.z.object({
6
+ region: zod_1.z.string(),
7
+ account: zod_1.z.string(),
8
+ });
package/dist/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from "./schema/table/fields";
3
3
  export * from "./schema/table/item";
4
4
  export * from "./schema/table/keys";
5
5
  export * from "./schema/auth/authentication";
6
+ export * from "./environment";
package/dist/index.js CHANGED
@@ -19,3 +19,4 @@ __exportStar(require("./schema/table/fields"), exports);
19
19
  __exportStar(require("./schema/table/item"), exports);
20
20
  __exportStar(require("./schema/table/keys"), exports);
21
21
  __exportStar(require("./schema/auth/authentication"), exports);
22
+ __exportStar(require("./environment"), exports);
@@ -8,17 +8,17 @@ export declare const TableItemSchema: z.ZodObject<z.objectUtil.extendShape<{
8
8
  PK: z.ZodString;
9
9
  SK: z.ZodString;
10
10
  }>, "strip", z.ZodTypeAny, {
11
+ type: string;
11
12
  id: string;
12
13
  PK: string;
13
14
  SK: string;
14
- type: string;
15
15
  s: number;
16
16
  us?: number | undefined;
17
17
  }, {
18
+ type: string;
18
19
  id: string;
19
20
  PK: string;
20
21
  SK: string;
21
- type: string;
22
22
  s: number;
23
23
  us?: number | undefined;
24
24
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-schema",
3
- "version": "0.0.93",
3
+ "version": "0.0.95",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -18,10 +18,10 @@
18
18
  "homepage": "https://github.com/XubeLtd/dev-kit#readme",
19
19
  "devDependencies": {
20
20
  "@types/aws-lambda": "^8.10.119",
21
- "@xube/kit-build": "^0.0.93"
21
+ "@xube/kit-build": "^0.0.95"
22
22
  },
23
23
  "dependencies": {
24
- "@xube/kit-schema": "^0.0.93",
24
+ "@xube/kit-schema": "^0.0.95",
25
25
  "zod": "^3.23.8"
26
26
  }
27
27
  }
@@ -0,0 +1,8 @@
1
+ import { z } from "zod";
2
+
3
+ export const XubeAWSEnvironment = z.object({
4
+ region: z.string(),
5
+ account: z.string(),
6
+ });
7
+
8
+ export type XubeEnvironment = z.infer<typeof XubeAWSEnvironment>;
package/src/index.ts CHANGED
@@ -2,4 +2,6 @@ export * from "./schema/table/constants";
2
2
  export * from "./schema/table/fields";
3
3
  export * from "./schema/table/item";
4
4
  export * from "./schema/table/keys";
5
- export * from "./schema/auth/authentication";
5
+ export * from "./schema/auth/authentication";
6
+
7
+ export * from "./environment";
File without changes
package/dist/generator.js DELETED
@@ -1 +0,0 @@
1
- "use strict";
package/src/generator.ts DELETED
File without changes