@nyig/models 0.4.14 → 0.4.15

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/index.d.mts CHANGED
@@ -4371,32 +4371,40 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
4371
4371
  updatedAt: z.ZodOptional<z.ZodString>;
4372
4372
  } & {
4373
4373
  teacher: z.ZodObject<{
4374
+ _id: z.ZodString;
4374
4375
  name: z.ZodString;
4375
4376
  rank: z.ZodOptional<z.ZodString>;
4376
4377
  }, "strip", z.ZodTypeAny, {
4378
+ _id: string;
4377
4379
  name: string;
4378
4380
  rank?: string | undefined;
4379
4381
  }, {
4382
+ _id: string;
4380
4383
  name: string;
4381
4384
  rank?: string | undefined;
4382
4385
  }>;
4383
4386
  editedBy: z.ZodObject<{
4387
+ _id: z.ZodString;
4384
4388
  name: z.ZodString;
4385
4389
  rank: z.ZodOptional<z.ZodString>;
4386
4390
  }, "strip", z.ZodTypeAny, {
4391
+ _id: string;
4387
4392
  name: string;
4388
4393
  rank?: string | undefined;
4389
4394
  }, {
4395
+ _id: string;
4390
4396
  name: string;
4391
4397
  rank?: string | undefined;
4392
4398
  }>;
4393
4399
  }, z.UnknownKeysParam, z.ZodTypeAny, {
4394
4400
  _id: string;
4395
4401
  editedBy: {
4402
+ _id: string;
4396
4403
  name: string;
4397
4404
  rank?: string | undefined;
4398
4405
  };
4399
4406
  teacher: {
4407
+ _id: string;
4400
4408
  name: string;
4401
4409
  rank?: string | undefined;
4402
4410
  };
@@ -4413,10 +4421,12 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
4413
4421
  }, {
4414
4422
  _id: string;
4415
4423
  editedBy: {
4424
+ _id: string;
4416
4425
  name: string;
4417
4426
  rank?: string | undefined;
4418
4427
  };
4419
4428
  teacher: {
4429
+ _id: string;
4420
4430
  name: string;
4421
4431
  rank?: string | undefined;
4422
4432
  };
package/index.d.ts CHANGED
@@ -4371,32 +4371,40 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
4371
4371
  updatedAt: z.ZodOptional<z.ZodString>;
4372
4372
  } & {
4373
4373
  teacher: z.ZodObject<{
4374
+ _id: z.ZodString;
4374
4375
  name: z.ZodString;
4375
4376
  rank: z.ZodOptional<z.ZodString>;
4376
4377
  }, "strip", z.ZodTypeAny, {
4378
+ _id: string;
4377
4379
  name: string;
4378
4380
  rank?: string | undefined;
4379
4381
  }, {
4382
+ _id: string;
4380
4383
  name: string;
4381
4384
  rank?: string | undefined;
4382
4385
  }>;
4383
4386
  editedBy: z.ZodObject<{
4387
+ _id: z.ZodString;
4384
4388
  name: z.ZodString;
4385
4389
  rank: z.ZodOptional<z.ZodString>;
4386
4390
  }, "strip", z.ZodTypeAny, {
4391
+ _id: string;
4387
4392
  name: string;
4388
4393
  rank?: string | undefined;
4389
4394
  }, {
4395
+ _id: string;
4390
4396
  name: string;
4391
4397
  rank?: string | undefined;
4392
4398
  }>;
4393
4399
  }, z.UnknownKeysParam, z.ZodTypeAny, {
4394
4400
  _id: string;
4395
4401
  editedBy: {
4402
+ _id: string;
4396
4403
  name: string;
4397
4404
  rank?: string | undefined;
4398
4405
  };
4399
4406
  teacher: {
4407
+ _id: string;
4400
4408
  name: string;
4401
4409
  rank?: string | undefined;
4402
4410
  };
@@ -4413,10 +4421,12 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
4413
4421
  }, {
4414
4422
  _id: string;
4415
4423
  editedBy: {
4424
+ _id: string;
4416
4425
  name: string;
4417
4426
  rank?: string | undefined;
4418
4427
  };
4419
4428
  teacher: {
4429
+ _id: string;
4420
4430
  name: string;
4421
4431
  rank?: string | undefined;
4422
4432
  };
package/index.js CHANGED
@@ -704,8 +704,8 @@ var zBTeacherPayment = import_zod23.z.object({
704
704
  });
705
705
  var zTeacherPayment = addAutoProps(zBTeacherPayment);
706
706
  var zTeacherPaymentResponse = zTeacherPayment.extend({
707
- teacher: import_zod23.z.object({ name: import_zod23.z.string(), rank: import_zod23.z.string().optional() }),
708
- editedBy: import_zod23.z.object({ name: import_zod23.z.string(), rank: import_zod23.z.string().optional() })
707
+ teacher: import_zod23.z.object({ _id: import_zod23.z.string(), name: import_zod23.z.string(), rank: import_zod23.z.string().optional() }),
708
+ editedBy: import_zod23.z.object({ _id: import_zod23.z.string(), name: import_zod23.z.string(), rank: import_zod23.z.string().optional() })
709
709
  });
710
710
 
711
711
  // src/interface/public/aurora.ts
package/index.mjs CHANGED
@@ -597,8 +597,8 @@ var zBTeacherPayment = z23.object({
597
597
  });
598
598
  var zTeacherPayment = addAutoProps(zBTeacherPayment);
599
599
  var zTeacherPaymentResponse = zTeacherPayment.extend({
600
- teacher: z23.object({ name: z23.string(), rank: z23.string().optional() }),
601
- editedBy: z23.object({ name: z23.string(), rank: z23.string().optional() })
600
+ teacher: z23.object({ _id: z23.string(), name: z23.string(), rank: z23.string().optional() }),
601
+ editedBy: z23.object({ _id: z23.string(), name: z23.string(), rank: z23.string().optional() })
602
602
  });
603
603
 
604
604
  // src/interface/public/aurora.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.4.14",
3
+ "version": "0.4.15",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",