@stndrds/schema 1.0.0-alpha.352 → 1.0.0-alpha.353
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/dist/{all-BmVuO_vv.d.mts → all-0XBkyLI_.d.mts} +39 -50
- package/dist/{all-Bv-5hu8j.d.ts → all-PHJaq-9U.d.ts} +39 -50
- package/dist/{attributes-Cft68n4u.d.mts → attributes-0MFN3D1T.d.mts} +1 -1
- package/dist/{attributes-gEcJp-WP.d.ts → attributes-D3wn8qoZ.d.ts} +1 -1
- package/dist/{checkbox-C-kdNm3A.d.mts → checkbox-DO1Komkk.d.mts} +2 -2
- package/dist/{checkbox-C7ctkYoQ.d.ts → checkbox-DbL9Kc0_.d.ts} +2 -2
- package/dist/{config-CiAtjzem.mjs → config-BkMUw1Ho.mjs} +4 -4
- package/dist/{config-CYuFravl.js → config-CQj1KDVm.js} +1 -1
- package/dist/{date-mQ8gxU85.d.mts → date-BYjdx-FS.d.mts} +2 -2
- package/dist/{date-CY4L11B_.d.ts → date-D1M2lsRo.d.ts} +2 -2
- package/dist/{exceptions-704MxF-j.d.mts → exceptions-BG2LUDOt.d.mts} +2 -0
- package/dist/{exceptions-704MxF-j.d.ts → exceptions-BG2LUDOt.d.ts} +2 -0
- package/dist/exceptions.d.mts +1 -1
- package/dist/exceptions.d.ts +1 -1
- package/dist/exceptions.js +1 -1
- package/dist/exceptions.mjs +1 -1
- package/dist/{index-BV_w2VTh.d.mts → index-BQ7N0iEr.d.ts} +14 -2
- package/dist/{index-UYQmTrEG.d.ts → index-BRGf8Pj9.d.mts} +14 -2
- package/dist/{index-Bbc3qfJ3.d.ts → index-BxM_oMmi.d.ts} +1 -1
- package/dist/{index-DQ4cGca2.d.mts → index-C9eOBRL6.d.mts} +3 -3
- package/dist/{index-Cga9i2js.d.mts → index-D9Zkc3Zp.d.mts} +1 -1
- package/dist/{index-DmS-DtU4.d.ts → index-DcLDUWZd.d.ts} +3 -3
- package/dist/index.d.mts +173 -70
- package/dist/index.d.ts +173 -70
- package/dist/index.js +9 -9
- package/dist/index.mjs +9 -9
- package/dist/{number-CAAAb8Wz.d.ts → number-B6nCPYSp.d.ts} +2 -2
- package/dist/{number-eNEdOtC3.d.mts → number-Bz2mxDQV.d.mts} +2 -2
- package/dist/{text-BKyAPMGX.d.mts → text-BWe-JTsH.d.mts} +2 -2
- package/dist/{text-CP1eHBEv.d.ts → text-CbUS9lxj.d.ts} +2 -2
- package/dist/{utils-CnhbUWev.d.mts → utils-ByfbrMxt.d.mts} +1 -1
- package/dist/{utils-C6VEXia7.d.ts → utils-DiHsvBLK.d.ts} +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/validation/all.d.mts +5 -5
- package/dist/validation/all.d.ts +5 -5
- package/dist/validation/all.js +1 -1
- package/dist/validation/all.mjs +1 -1
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +2 -2
- package/dist/validation/config/index.d.ts +2 -2
- package/dist/validation/config/index.js +1 -1
- package/dist/validation/config/index.mjs +1 -1
- package/dist/validation/core/index.d.mts +1 -1
- package/dist/validation/core/index.d.ts +1 -1
- package/dist/validation/object/index.d.mts +1 -1
- package/dist/validation/object/index.d.ts +1 -1
- package/dist/validation/primitives/checkbox.d.mts +1 -1
- package/dist/validation/primitives/checkbox.d.ts +1 -1
- package/dist/validation/primitives/date.d.mts +1 -1
- package/dist/validation/primitives/date.d.ts +1 -1
- package/dist/validation/primitives/number.d.mts +1 -1
- package/dist/validation/primitives/number.d.ts +1 -1
- package/dist/validation/primitives/text.d.mts +1 -1
- package/dist/validation/primitives/text.d.ts +1 -1
- package/dist/view-config.schema-Cn3vLXu0.js +2 -0
- package/dist/view-config.schema-CvT5GfbA.mjs +2 -0
- package/package.json +2 -2
- package/dist/view-config.schema-CCrM5b-O.mjs +0 -2
- package/dist/view-config.schema-CgU86fLj.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { i as AttributeType, n as Attribute } from "./attributes-
|
|
2
|
+
import { i as AttributeType, n as Attribute } from "./attributes-D3wn8qoZ.js";
|
|
3
3
|
import { z as z$1 } from "zod";
|
|
4
4
|
import { IconName } from "@stndrds/constants";
|
|
5
5
|
//#region src/types/mutations.d.ts
|
|
@@ -64,6 +64,18 @@ interface RelationOptionsResponse {
|
|
|
64
64
|
* prompt imports this instead of keeping its own copy.
|
|
65
65
|
*/
|
|
66
66
|
declare const WIRE_OMITTED_CONFIG_KEYS: readonly ["placeholder", "description", "defaultValue", "icon", "order", "hidden", "archived", "deprecated", "metadata"];
|
|
67
|
+
/**
|
|
68
|
+
* The omitted base keys one attribute type's wire offers back, each with the
|
|
69
|
+
* wire schema it is validated by. Karl's ruling on #4537 (2026-09-27, «
|
|
70
|
+
* Relations seulement »): a relation field takes its own icon, a catalogue
|
|
71
|
+
* name the agent finds with `search_icons`, exactly as an object icon; every
|
|
72
|
+
* other type keeps `icon` omitted. Single source for the wire
|
|
73
|
+
* (`ADD_ATTRIBUTE_WIRE`) and the prompt (`attribute-reference.ts`), so the
|
|
74
|
+
* key the model is told about is the key the wire accepts.
|
|
75
|
+
*/
|
|
76
|
+
declare const WIRE_OFFERED_BASE_CONFIG: Partial<Record<AttributeType, Partial<Record<(typeof WIRE_OMITTED_CONFIG_KEYS)[number], z$1.ZodType>>>>;
|
|
77
|
+
/** The base keys hidden from `attributeType`'s wire config and its prompt line. */
|
|
78
|
+
declare function wireOmittedConfigKeysFor(attributeType: AttributeType): readonly (typeof WIRE_OMITTED_CONFIG_KEYS)[number][];
|
|
67
79
|
/**
|
|
68
80
|
* Builds the `superRefine` that refuses a key belonging to a DIFFERENT type
|
|
69
81
|
* than the one sent.
|
|
@@ -264,4 +276,4 @@ declare function parseAttributeConfigForCreate(type: AttributeType, input: unkno
|
|
|
264
276
|
*/
|
|
265
277
|
declare function parseAttributeConfigForUpdate(stored: Attribute, patch: Partial<AddAttributeInput>): Record<string, unknown>;
|
|
266
278
|
//#endregion
|
|
267
|
-
export {
|
|
279
|
+
export { RelationOption as C, CreateCustomObjectInput as S, UpdateObjectInput as T, statusGroupSchema as _, getAttributeConfigSchema as a, withoutUnknownOptionKeys as b, parseAttributeConfig as c, propertyAttributeSchema as d, propertyAttributeWireSchema as f, selectOptionWriteSchema as g, refuseForeignKeys as h, attributeConfigSchemas as i, parseAttributeConfigForCreate as l, propertySchemaWireSchema as m, WIRE_OFFERED_BASE_CONFIG as n, getAttributeConfigWriteSchema as o, propertySchemaSchema as p, WIRE_OMITTED_CONFIG_KEYS as r, multiselectOptionWriteSchema as s, SIMPLE_PROPERTY_TYPES as t, parseAttributeConfigForUpdate as u, statusOptionWriteSchema as v, RelationOptionsResponse as w, AddAttributeInput as x, wireOmittedConfigKeysFor as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { i as AttributeType, n as Attribute } from "./attributes-
|
|
2
|
+
import { i as AttributeType, n as Attribute } from "./attributes-0MFN3D1T.mjs";
|
|
3
3
|
import { z as z$1 } from "zod";
|
|
4
4
|
import { IconName } from "@stndrds/constants";
|
|
5
5
|
//#region src/types/mutations.d.ts
|
|
@@ -64,6 +64,18 @@ interface RelationOptionsResponse {
|
|
|
64
64
|
* prompt imports this instead of keeping its own copy.
|
|
65
65
|
*/
|
|
66
66
|
declare const WIRE_OMITTED_CONFIG_KEYS: readonly ["placeholder", "description", "defaultValue", "icon", "order", "hidden", "archived", "deprecated", "metadata"];
|
|
67
|
+
/**
|
|
68
|
+
* The omitted base keys one attribute type's wire offers back, each with the
|
|
69
|
+
* wire schema it is validated by. Karl's ruling on #4537 (2026-09-27, «
|
|
70
|
+
* Relations seulement »): a relation field takes its own icon, a catalogue
|
|
71
|
+
* name the agent finds with `search_icons`, exactly as an object icon; every
|
|
72
|
+
* other type keeps `icon` omitted. Single source for the wire
|
|
73
|
+
* (`ADD_ATTRIBUTE_WIRE`) and the prompt (`attribute-reference.ts`), so the
|
|
74
|
+
* key the model is told about is the key the wire accepts.
|
|
75
|
+
*/
|
|
76
|
+
declare const WIRE_OFFERED_BASE_CONFIG: Partial<Record<AttributeType, Partial<Record<(typeof WIRE_OMITTED_CONFIG_KEYS)[number], z$1.ZodType>>>>;
|
|
77
|
+
/** The base keys hidden from `attributeType`'s wire config and its prompt line. */
|
|
78
|
+
declare function wireOmittedConfigKeysFor(attributeType: AttributeType): readonly (typeof WIRE_OMITTED_CONFIG_KEYS)[number][];
|
|
67
79
|
/**
|
|
68
80
|
* Builds the `superRefine` that refuses a key belonging to a DIFFERENT type
|
|
69
81
|
* than the one sent.
|
|
@@ -264,4 +276,4 @@ declare function parseAttributeConfigForCreate(type: AttributeType, input: unkno
|
|
|
264
276
|
*/
|
|
265
277
|
declare function parseAttributeConfigForUpdate(stored: Attribute, patch: Partial<AddAttributeInput>): Record<string, unknown>;
|
|
266
278
|
//#endregion
|
|
267
|
-
export {
|
|
279
|
+
export { RelationOption as C, CreateCustomObjectInput as S, UpdateObjectInput as T, statusGroupSchema as _, getAttributeConfigSchema as a, withoutUnknownOptionKeys as b, parseAttributeConfig as c, propertyAttributeSchema as d, propertyAttributeWireSchema as f, selectOptionWriteSchema as g, refuseForeignKeys as h, attributeConfigSchemas as i, parseAttributeConfigForCreate as l, propertySchemaWireSchema as m, WIRE_OFFERED_BASE_CONFIG as n, getAttributeConfigWriteSchema as o, propertySchemaSchema as p, WIRE_OMITTED_CONFIG_KEYS as r, multiselectOptionWriteSchema as s, SIMPLE_PROPERTY_TYPES as t, parseAttributeConfigForUpdate as u, statusOptionWriteSchema as v, RelationOptionsResponse as w, AddAttributeInput as x, wireOmittedConfigKeysFor as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { n as Attribute } from "./attributes-
|
|
3
|
-
import { r as Uuid } from "./utils-
|
|
4
|
-
import { i as ValidationResult, r as ValidationMessages } from "./index-
|
|
2
|
+
import { n as Attribute } from "./attributes-0MFN3D1T.mjs";
|
|
3
|
+
import { r as Uuid } from "./utils-ByfbrMxt.mjs";
|
|
4
|
+
import { i as ValidationResult, r as ValidationMessages } from "./index-D9Zkc3Zp.mjs";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
import { IconName } from "@stndrds/constants";
|
|
7
7
|
//#region src/types/document-layout.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { n as Attribute } from "./attributes-
|
|
3
|
-
import { r as Uuid } from "./utils-
|
|
4
|
-
import { i as ValidationResult, r as ValidationMessages } from "./index-
|
|
2
|
+
import { n as Attribute } from "./attributes-D3wn8qoZ.js";
|
|
3
|
+
import { r as Uuid } from "./utils-DiHsvBLK.js";
|
|
4
|
+
import { i as ValidationResult, r as ValidationMessages } from "./index-BxM_oMmi.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
import { IconName } from "@stndrds/constants";
|
|
7
7
|
//#region src/types/document-layout.d.ts
|