evo360-types 1.3.77 → 1.3.78

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,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export declare const zMedProcedureActionSchema: z.ZodEnum<["CREATE_PROCEDURE", "DELETE_PROCEDURE", "UPDATE_PROCEDURE"]>;
3
3
  export declare const zProcedureStatusSchema: z.ZodEnum<["active", "inactive", "draft"]>;
4
- export declare const ProcedureTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
4
+ export declare const zProcedureTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
5
5
  id: z.ZodString;
6
6
  ref: z.ZodAny;
7
7
  tenant: z.ZodString;
@@ -92,7 +92,7 @@ export declare const ProcedureTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
92
92
  category?: string | null | undefined;
93
93
  }>, "many">>>;
94
94
  }>, z.ZodTypeAny, "passthrough">>;
95
- export declare const ProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
95
+ export declare const zProcedureSchema: z.ZodObject<z.objectUtil.extendShape<{
96
96
  id: z.ZodString;
97
97
  ref: z.ZodAny;
98
98
  tenant: z.ZodString;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProcedureSchema = exports.ProcedureTypeSchema = exports.zProcedureStatusSchema = exports.zMedProcedureActionSchema = void 0;
3
+ exports.zProcedureSchema = exports.zProcedureTypeSchema = exports.zProcedureStatusSchema = exports.zMedProcedureActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../../shared/zod-schemas");
6
6
  // Define Zod schemas for IProcedureType and IProcedure
@@ -12,14 +12,14 @@ exports.zMedProcedureActionSchema = zod_1.z.enum([
12
12
  ]);
13
13
  exports.zProcedureStatusSchema = zod_1.z.enum(["active", "inactive", "draft"]);
14
14
  // Main schemas
15
- exports.ProcedureTypeSchema = zod_schemas_1.zFireDocSchema
15
+ exports.zProcedureTypeSchema = zod_schemas_1.zFireDocSchema
16
16
  .extend({
17
17
  code: zod_1.z.string().min(1).max(20),
18
18
  name: zod_1.z.string().min(1).max(255),
19
19
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
20
20
  })
21
21
  .passthrough();
22
- exports.ProcedureSchema = zod_schemas_1.zFireDocSchema
22
+ exports.zProcedureSchema = zod_schemas_1.zFireDocSchema
23
23
  .extend({
24
24
  code: zod_1.z.string().min(1).max(20),
25
25
  name: zod_1.z.string().min(1).max(255),
@@ -13,7 +13,7 @@ export const zMedProcedureActionSchema = z.enum([
13
13
  export const zProcedureStatusSchema = z.enum(["active", "inactive", "draft"]);
14
14
 
15
15
  // Main schemas
16
- export const ProcedureTypeSchema = zFireDocSchema
16
+ export const zProcedureTypeSchema = zFireDocSchema
17
17
  .extend({
18
18
  code: z.string().min(1).max(20),
19
19
  name: z.string().min(1).max(255),
@@ -21,7 +21,7 @@ export const ProcedureTypeSchema = zFireDocSchema
21
21
  })
22
22
  .passthrough();
23
23
 
24
- export const ProcedureSchema = zFireDocSchema
24
+ export const zProcedureSchema = zFireDocSchema
25
25
  .extend({
26
26
  code: z.string().min(1).max(20),
27
27
  name: z.string().min(1).max(255),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.77",
3
+ "version": "1.3.78",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",