@xube/kit-aws-schema 0.0.88 → 0.0.89

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.
@@ -10,10 +10,7 @@ export declare const AuthenticationRequestSchema: z.ZodObject<{
10
10
  password: string;
11
11
  }>;
12
12
  export type AuthenticationRequest = z.infer<typeof AuthenticationRequestSchema>;
13
- export declare const isAuthenticationRequest: (object: unknown) => object is {
14
- email: string;
15
- password: string;
16
- };
13
+ export declare const isAuthenticationRequest: (object: unknown) => object is AuthenticationRequest;
17
14
  export declare const AuthenticationResponseSchema: z.ZodObject<{
18
15
  token: z.ZodString;
19
16
  accessToken: z.ZodString;
@@ -34,10 +31,4 @@ export declare const AuthenticationResponseSchema: z.ZodObject<{
34
31
  deviceKey?: string | undefined;
35
32
  }>;
36
33
  export type AuthenticationResponse = z.infer<typeof AuthenticationResponseSchema>;
37
- export declare const isAuthenticationResponse: (object: unknown) => object is {
38
- token: string;
39
- accessToken: string;
40
- refreshToken: string;
41
- expiry: number;
42
- deviceKey?: string | undefined;
43
- };
34
+ export declare const isAuthenticationResponse: (object: unknown) => object is AuthenticationResponse;
@@ -22,19 +22,5 @@ export declare const TableItemSchema: z.ZodObject<{
22
22
  us?: number | undefined;
23
23
  }>;
24
24
  export type TableItem = z.infer<typeof TableItemSchema>;
25
- export declare const isTableItem: (obj: unknown) => obj is {
26
- id: string;
27
- PK: string;
28
- SK: string;
29
- type: string;
30
- s: number;
31
- us?: number | undefined;
32
- };
33
- export declare const areTableItems: (obj: unknown) => obj is {
34
- id: string;
35
- PK: string;
36
- SK: string;
37
- type: string;
38
- s: number;
39
- us?: number | undefined;
40
- }[];
25
+ export declare const isTableItem: (obj: unknown) => obj is TableItem;
26
+ export declare const areTableItems: (obj: unknown) => obj is TableItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-schema",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
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.88"
21
+ "@xube/kit-build": "^0.0.89"
22
22
  },
23
23
  "dependencies": {
24
- "@xube/kit-schema": "^0.0.88",
24
+ "@xube/kit-schema": "^0.0.89",
25
25
  "zod": "^3.22.4"
26
26
  }
27
27
  }