aq-fe-framework 0.1.1044 → 0.1.1046

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.
@@ -1,17 +1,17 @@
1
1
  import { z } from 'zod/v4';
2
2
 
3
- declare const BaseEntitySchema: z.ZodObject<{
3
+ declare const SchemaBaseEntity: z.ZodObject<{
4
4
  id: z.ZodOptional<z.ZodNumber>;
5
5
  tempId: z.ZodOptional<z.ZodString>;
6
6
  code: z.ZodOptional<z.ZodString>;
7
7
  name: z.ZodOptional<z.ZodString>;
8
8
  concurrencyStamp: z.ZodOptional<z.ZodString>;
9
9
  isEnabled: z.ZodOptional<z.ZodBoolean>;
10
- modifiedWhen: z.ZodOptional<z.ZodString>;
10
+ modifiedWhen: z.ZodOptional<z.ZodDate>;
11
11
  modifiedFullName: z.ZodOptional<z.ZodString>;
12
12
  createdBy: z.ZodOptional<z.ZodNumber>;
13
13
  createWhen: z.ZodOptional<z.ZodString>;
14
14
  }, z.core.$strip>;
15
- type BaseEntityType = z.infer<typeof BaseEntitySchema>;
15
+ type TypeBaseEntity = z.infer<typeof SchemaBaseEntity>;
16
16
 
17
- export { BaseEntitySchema, type BaseEntityType };
17
+ export { SchemaBaseEntity, type TypeBaseEntity };
@@ -1,19 +1,19 @@
1
1
  import "../chunk-JD6AELXS.mjs";
2
2
 
3
- // src/zod-schemas/BaseEntitySchema.ts
3
+ // src/zod-schemas/BaseEntity.ts
4
4
  import { z } from "zod/v4";
5
- var BaseEntitySchema = z.object({
5
+ var SchemaBaseEntity = z.object({
6
6
  id: z.number(),
7
7
  tempId: z.string(),
8
8
  code: z.string().min(1, { error: "Vui l\xF2ng nh\u1EADp m\xE3" }),
9
9
  name: z.string().min(1, { error: "Vui l\xF2ng nh\u1EADp t\xEAn" }),
10
10
  concurrencyStamp: z.string(),
11
11
  isEnabled: z.boolean(),
12
- modifiedWhen: z.string(),
12
+ modifiedWhen: z.date(),
13
13
  modifiedFullName: z.string(),
14
14
  createdBy: z.number(),
15
15
  createWhen: z.string()
16
16
  }).partial();
17
17
  export {
18
- BaseEntitySchema
18
+ SchemaBaseEntity
19
19
  };
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/zod-schemas/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.1044",
61
+ "version": "0.1.1046",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"