@ldsg/form 0.3.25 → 0.3.27

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-present Sebastian McKenzie and other contributors
3
+ Copyright (c) 2014-present Wanxger and other contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
@@ -1,16 +1,13 @@
1
- import { SpecificResourceSettings } from '@ldsg/types';
2
- export interface FormSpecificResourceSettings extends SpecificResourceSettings {
3
- /**
4
- * Form Name
5
- */
6
- name: string;
7
- /**
8
- * Input Object Resource Id
9
- */
10
- inputObjectResourceId: string;
11
- /**
12
- * Output Object Resource Id
13
- */
14
- outputObjectResourceId: string;
15
- }
1
+ import { z } from 'zod';
2
+ export declare const FormSpecificResourceSettingsSchema: z.ZodObject<{
3
+ name: z.ZodString;
4
+ inputObjectResourceId: z.ZodString;
5
+ outputObjectResourceId: z.ZodString;
6
+ }, z.core.$catchall<z.ZodAny>>;
7
+ export declare const SpecificResourceSettingsSchema: z.ZodObject<{
8
+ name: z.ZodString;
9
+ inputObjectResourceId: z.ZodString;
10
+ outputObjectResourceId: z.ZodString;
11
+ }, z.core.$catchall<z.ZodAny>>;
12
+ export type FormSpecificResourceSettings = z.infer<typeof FormSpecificResourceSettingsSchema>;
16
13
  //# sourceMappingURL=specific-resource-settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"specific-resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/specific-resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,4BAA6B,SAAQ,wBAAwB;IAC5E;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
1
+ {"version":3,"file":"specific-resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/specific-resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kCAAkC;;;;8BAiB3B,CAAC;AAErB,eAAO,MAAM,8BAA8B;;;;8BAAqC,CAAC;AACjF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
@@ -1,2 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpecificResourceSettingsSchema = exports.FormSpecificResourceSettingsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.FormSpecificResourceSettingsSchema = zod_1.z
6
+ .object({
7
+ /**
8
+ * Form Name
9
+ */
10
+ name: zod_1.z.string(),
11
+ /**
12
+ * Input Object Resource Id
13
+ */
14
+ inputObjectResourceId: zod_1.z.string(),
15
+ /**
16
+ * Output Object Resource Id
17
+ */
18
+ outputObjectResourceId: zod_1.z.string()
19
+ })
20
+ .catchall(zod_1.z.any());
21
+ exports.SpecificResourceSettingsSchema = exports.FormSpecificResourceSettingsSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/form",
3
- "version": "0.3.25",
3
+ "version": "0.3.27",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -11,9 +11,10 @@
11
11
  "dist/"
12
12
  ],
13
13
  "dependencies": {
14
- "@ldsg/handler": "0.3.25",
15
- "@ldsg/resource": "0.3.25",
16
- "@ldsg/resource-definition": "0.3.25"
14
+ "zod": "^4.1.11",
15
+ "@ldsg/handler": "0.3.27",
16
+ "@ldsg/resource": "0.3.27",
17
+ "@ldsg/resource-definition": "0.3.27"
17
18
  },
18
19
  "devDependencies": {
19
20
  "@types/jest": "^29.5.2",
@@ -23,12 +24,12 @@
23
24
  "ts-jest": "^29.1.5",
24
25
  "ts-node": "^10.9.2",
25
26
  "typescript": "^5.8.3",
26
- "@ldsg/field-type": "0.3.25",
27
- "@ldsg/forms": "0.3.25",
28
- "@ldsg/object": "0.3.25",
29
- "@ldsg/object-field": "0.3.25",
30
- "@ldsg/types": "0.3.25",
31
- "@ldsg/workflow": "0.3.25"
27
+ "@ldsg/field-type": "0.3.27",
28
+ "@ldsg/forms": "0.3.27",
29
+ "@ldsg/object": "0.3.27",
30
+ "@ldsg/types": "0.3.27",
31
+ "@ldsg/object-field": "0.3.27",
32
+ "@ldsg/workflow": "0.3.27"
32
33
  },
33
34
  "publishConfig": {
34
35
  "access": "public"