payload 3.0.0-beta.129 → 3.0.0-beta.130

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.
Files changed (159) hide show
  1. package/dist/admin/elements/Nav.d.ts +10 -0
  2. package/dist/admin/elements/Nav.d.ts.map +1 -0
  3. package/dist/admin/elements/Nav.js +3 -0
  4. package/dist/admin/elements/Nav.js.map +1 -0
  5. package/dist/admin/fields/Array.d.ts +2 -3
  6. package/dist/admin/fields/Array.d.ts.map +1 -1
  7. package/dist/admin/fields/Array.js.map +1 -1
  8. package/dist/admin/fields/Blocks.d.ts +2 -3
  9. package/dist/admin/fields/Blocks.d.ts.map +1 -1
  10. package/dist/admin/fields/Blocks.js.map +1 -1
  11. package/dist/admin/fields/Checkbox.d.ts +1 -1
  12. package/dist/admin/fields/Checkbox.d.ts.map +1 -1
  13. package/dist/admin/fields/Checkbox.js.map +1 -1
  14. package/dist/admin/fields/Code.d.ts +1 -1
  15. package/dist/admin/fields/Code.d.ts.map +1 -1
  16. package/dist/admin/fields/Code.js.map +1 -1
  17. package/dist/admin/fields/Collapsible.d.ts +2 -4
  18. package/dist/admin/fields/Collapsible.d.ts.map +1 -1
  19. package/dist/admin/fields/Collapsible.js.map +1 -1
  20. package/dist/admin/fields/Date.d.ts +1 -1
  21. package/dist/admin/fields/Date.d.ts.map +1 -1
  22. package/dist/admin/fields/Date.js.map +1 -1
  23. package/dist/admin/fields/Email.d.ts +1 -1
  24. package/dist/admin/fields/Email.d.ts.map +1 -1
  25. package/dist/admin/fields/Email.js.map +1 -1
  26. package/dist/admin/fields/Group.d.ts +2 -4
  27. package/dist/admin/fields/Group.d.ts.map +1 -1
  28. package/dist/admin/fields/Group.js.map +1 -1
  29. package/dist/admin/fields/Hidden.d.ts +1 -0
  30. package/dist/admin/fields/Hidden.d.ts.map +1 -1
  31. package/dist/admin/fields/Hidden.js.map +1 -1
  32. package/dist/admin/fields/JSON.d.ts +1 -1
  33. package/dist/admin/fields/JSON.d.ts.map +1 -1
  34. package/dist/admin/fields/JSON.js.map +1 -1
  35. package/dist/admin/fields/Join.d.ts +5 -4
  36. package/dist/admin/fields/Join.d.ts.map +1 -1
  37. package/dist/admin/fields/Join.js.map +1 -1
  38. package/dist/admin/fields/Number.d.ts +1 -1
  39. package/dist/admin/fields/Number.d.ts.map +1 -1
  40. package/dist/admin/fields/Number.js.map +1 -1
  41. package/dist/admin/fields/Point.d.ts +1 -1
  42. package/dist/admin/fields/Point.d.ts.map +1 -1
  43. package/dist/admin/fields/Point.js.map +1 -1
  44. package/dist/admin/fields/Radio.d.ts +1 -1
  45. package/dist/admin/fields/Radio.d.ts.map +1 -1
  46. package/dist/admin/fields/Radio.js.map +1 -1
  47. package/dist/admin/fields/Relationship.d.ts +1 -1
  48. package/dist/admin/fields/Relationship.d.ts.map +1 -1
  49. package/dist/admin/fields/Relationship.js.map +1 -1
  50. package/dist/admin/fields/RichText.d.ts +1 -1
  51. package/dist/admin/fields/RichText.d.ts.map +1 -1
  52. package/dist/admin/fields/RichText.js.map +1 -1
  53. package/dist/admin/fields/Row.d.ts +3 -3
  54. package/dist/admin/fields/Row.d.ts.map +1 -1
  55. package/dist/admin/fields/Row.js.map +1 -1
  56. package/dist/admin/fields/Select.d.ts +1 -1
  57. package/dist/admin/fields/Select.d.ts.map +1 -1
  58. package/dist/admin/fields/Select.js.map +1 -1
  59. package/dist/admin/fields/Tabs.d.ts +2 -2
  60. package/dist/admin/fields/Tabs.d.ts.map +1 -1
  61. package/dist/admin/fields/Tabs.js.map +1 -1
  62. package/dist/admin/fields/Text.d.ts +1 -1
  63. package/dist/admin/fields/Text.d.ts.map +1 -1
  64. package/dist/admin/fields/Text.js.map +1 -1
  65. package/dist/admin/fields/Textarea.d.ts +1 -1
  66. package/dist/admin/fields/Textarea.d.ts.map +1 -1
  67. package/dist/admin/fields/Textarea.js.map +1 -1
  68. package/dist/admin/fields/UI.d.ts +7 -2
  69. package/dist/admin/fields/UI.d.ts.map +1 -1
  70. package/dist/admin/fields/UI.js.map +1 -1
  71. package/dist/admin/fields/Upload.d.ts +1 -1
  72. package/dist/admin/fields/Upload.d.ts.map +1 -1
  73. package/dist/admin/fields/Upload.js.map +1 -1
  74. package/dist/admin/forms/Field.d.ts +27 -8
  75. package/dist/admin/forms/Field.d.ts.map +1 -1
  76. package/dist/admin/forms/Field.js.map +1 -1
  77. package/dist/admin/forms/Form.d.ts +2 -0
  78. package/dist/admin/forms/Form.d.ts.map +1 -1
  79. package/dist/admin/forms/Form.js.map +1 -1
  80. package/dist/admin/types.d.ts +4 -3
  81. package/dist/admin/types.d.ts.map +1 -1
  82. package/dist/admin/types.js.map +1 -1
  83. package/dist/collections/config/client.d.ts +1 -1
  84. package/dist/collections/config/client.d.ts.map +1 -1
  85. package/dist/collections/config/client.js +2 -1
  86. package/dist/collections/config/client.js.map +1 -1
  87. package/dist/collections/config/types.d.ts +10 -2
  88. package/dist/collections/config/types.d.ts.map +1 -1
  89. package/dist/collections/config/types.js.map +1 -1
  90. package/dist/collections/operations/local/create.d.ts +1 -1
  91. package/dist/collections/operations/local/create.d.ts.map +1 -1
  92. package/dist/collections/operations/local/create.js.map +1 -1
  93. package/dist/collections/operations/local/delete.d.ts +1 -1
  94. package/dist/collections/operations/local/delete.d.ts.map +1 -1
  95. package/dist/collections/operations/local/delete.js.map +1 -1
  96. package/dist/collections/operations/local/duplicate.d.ts +1 -1
  97. package/dist/collections/operations/local/duplicate.d.ts.map +1 -1
  98. package/dist/collections/operations/local/duplicate.js.map +1 -1
  99. package/dist/collections/operations/local/find.d.ts +1 -1
  100. package/dist/collections/operations/local/find.d.ts.map +1 -1
  101. package/dist/collections/operations/local/find.js.map +1 -1
  102. package/dist/collections/operations/local/findByID.d.ts +1 -1
  103. package/dist/collections/operations/local/findByID.d.ts.map +1 -1
  104. package/dist/collections/operations/local/findByID.js.map +1 -1
  105. package/dist/collections/operations/local/findVersionByID.d.ts +1 -1
  106. package/dist/collections/operations/local/findVersionByID.d.ts.map +1 -1
  107. package/dist/collections/operations/local/findVersionByID.js.map +1 -1
  108. package/dist/collections/operations/local/findVersions.d.ts +1 -1
  109. package/dist/collections/operations/local/findVersions.d.ts.map +1 -1
  110. package/dist/collections/operations/local/findVersions.js.map +1 -1
  111. package/dist/collections/operations/local/restoreVersion.d.ts +1 -1
  112. package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
  113. package/dist/collections/operations/local/restoreVersion.js.map +1 -1
  114. package/dist/collections/operations/local/update.d.ts +1 -1
  115. package/dist/collections/operations/local/update.d.ts.map +1 -1
  116. package/dist/collections/operations/local/update.js.map +1 -1
  117. package/dist/config/sanitize.d.ts.map +1 -1
  118. package/dist/config/sanitize.js +11 -0
  119. package/dist/config/sanitize.js.map +1 -1
  120. package/dist/config/types.d.ts +28 -2
  121. package/dist/config/types.d.ts.map +1 -1
  122. package/dist/config/types.js.map +1 -1
  123. package/dist/database/migrations/getPredefinedMigration.d.ts.map +1 -1
  124. package/dist/database/migrations/getPredefinedMigration.js +21 -19
  125. package/dist/database/migrations/getPredefinedMigration.js.map +1 -1
  126. package/dist/database/types.d.ts +2 -0
  127. package/dist/database/types.d.ts.map +1 -1
  128. package/dist/database/types.js.map +1 -1
  129. package/dist/errors/types.d.ts +4 -0
  130. package/dist/errors/types.d.ts.map +1 -1
  131. package/dist/errors/types.js.map +1 -1
  132. package/dist/globals/operations/local/findOne.d.ts +1 -1
  133. package/dist/globals/operations/local/findOne.d.ts.map +1 -1
  134. package/dist/globals/operations/local/findOne.js.map +1 -1
  135. package/dist/globals/operations/local/findVersionByID.d.ts +1 -1
  136. package/dist/globals/operations/local/findVersionByID.d.ts.map +1 -1
  137. package/dist/globals/operations/local/findVersionByID.js.map +1 -1
  138. package/dist/globals/operations/local/findVersions.d.ts +1 -1
  139. package/dist/globals/operations/local/findVersions.d.ts.map +1 -1
  140. package/dist/globals/operations/local/findVersions.js.map +1 -1
  141. package/dist/globals/operations/local/restoreVersion.d.ts +1 -1
  142. package/dist/globals/operations/local/restoreVersion.d.ts.map +1 -1
  143. package/dist/globals/operations/local/restoreVersion.js.map +1 -1
  144. package/dist/globals/operations/local/update.d.ts +2 -2
  145. package/dist/globals/operations/local/update.d.ts.map +1 -1
  146. package/dist/globals/operations/local/update.js.map +1 -1
  147. package/dist/index.d.ts +2 -1
  148. package/dist/index.d.ts.map +1 -1
  149. package/dist/index.js +1 -0
  150. package/dist/index.js.map +1 -1
  151. package/dist/utilities/createLocalReq.d.ts +2 -2
  152. package/dist/utilities/createLocalReq.d.ts.map +1 -1
  153. package/dist/utilities/createLocalReq.js +10 -8
  154. package/dist/utilities/createLocalReq.js.map +1 -1
  155. package/dist/utilities/sanitizeFallbackLocale.d.ts +18 -0
  156. package/dist/utilities/sanitizeFallbackLocale.d.ts.map +1 -0
  157. package/dist/utilities/sanitizeFallbackLocale.js +33 -0
  158. package/dist/utilities/sanitizeFallbackLocale.js.map +1 -0
  159. package/package.json +2 -2
@@ -0,0 +1,10 @@
1
+ export type NavPreferences = {
2
+ groups: NavGroupPreferences;
3
+ open: boolean;
4
+ };
5
+ export type NavGroupPreferences = {
6
+ [key: string]: {
7
+ open: boolean;
8
+ };
9
+ };
10
+ //# sourceMappingURL=Nav.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../src/admin/elements/Nav.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,mBAAmB,CAAA;IAC3B,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,IAAI,EAAE,OAAO,CAAA;KACd,CAAA;CACF,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { };
2
+
3
+ //# sourceMappingURL=Nav.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/admin/elements/Nav.ts"],"sourcesContent":["export type NavPreferences = {\n groups: NavGroupPreferences\n open: boolean\n}\n\nexport type NavGroupPreferences = {\n [key: string]: {\n open: boolean\n }\n}\n"],"names":[],"mappings":"AAKA,WAIC"}
@@ -2,13 +2,12 @@ import type { MarkOptional } from 'ts-essentials';
2
2
  import type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js';
3
3
  import type { ArrayFieldValidation } from '../../fields/validations.js';
4
4
  import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
5
- import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
5
+ import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
6
6
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
7
7
  type ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>;
8
8
  type ArrayFieldBaseClientProps = {
9
- readonly path?: string;
10
9
  readonly validate?: ArrayFieldValidation;
11
- } & Pick<ServerFieldBase, 'permissions'>;
10
+ } & FieldPaths & Pick<ServerFieldBase, 'permissions'>;
12
11
  export type ArrayFieldClientProps = ArrayFieldBaseClientProps & ClientFieldBase<ArrayFieldClientWithoutType>;
13
12
  export type ArrayFieldServerProps = ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>;
14
13
  export type ArrayFieldServerComponent = FieldServerComponent<ArrayField, ArrayFieldClientWithoutType>;
@@ -1 +1 @@
1
- {"version":3,"file":"Array.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Array.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAe,MAAM,8BAA8B,CAAA;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,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AA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Array.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { ArrayField, ArrayFieldClient, ClientField } from '../../fields/config/types.js'\nimport type { ArrayFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>\n\ntype ArrayFieldBaseClientProps = {\n readonly path?: string\n readonly validate?: ArrayFieldValidation\n} & Pick<ServerFieldBase, 'permissions'>\n\nexport type ArrayFieldClientProps = ArrayFieldBaseClientProps &\n ClientFieldBase<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerProps = ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerComponent = FieldServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldClientComponent = FieldClientComponent<\n ArrayFieldClientWithoutType,\n ArrayFieldBaseClientProps\n>\n\nexport type ArrayFieldLabelServerComponent = FieldLabelServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldErrorServerComponent = FieldErrorServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>\n"],"names":[],"mappings":"AA4DA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Array.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { ArrayField, ArrayFieldClient, ClientField } from '../../fields/config/types.js'\nimport type { ArrayFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>\n\ntype ArrayFieldBaseClientProps = {\n readonly validate?: ArrayFieldValidation\n} & FieldPaths &\n Pick<ServerFieldBase, 'permissions'>\n\nexport type ArrayFieldClientProps = ArrayFieldBaseClientProps &\n ClientFieldBase<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerProps = ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerComponent = FieldServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldClientComponent = FieldClientComponent<\n ArrayFieldClientWithoutType,\n ArrayFieldBaseClientProps\n>\n\nexport type ArrayFieldLabelServerComponent = FieldLabelServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldErrorServerComponent = FieldErrorServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>\n"],"names":[],"mappings":"AA6DA,WAAmG"}
@@ -2,13 +2,12 @@ import type { MarkOptional } from 'ts-essentials';
2
2
  import type { BlocksField, BlocksFieldClient } from '../../fields/config/types.js';
3
3
  import type { BlocksFieldValidation } from '../../fields/validations.js';
4
4
  import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
5
- import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
5
+ import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
6
6
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
7
7
  type BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>;
8
8
  type BlocksFieldBaseClientProps = {
9
- readonly path?: string;
10
9
  readonly validate?: BlocksFieldValidation;
11
- } & Pick<ServerFieldBase, 'permissions'>;
10
+ } & FieldPaths & Pick<ServerFieldBase, 'permissions'>;
12
11
  export type BlocksFieldClientProps = BlocksFieldBaseClientProps & ClientFieldBase<BlocksFieldClientWithoutType>;
13
12
  export type BlocksFieldServerProps = ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>;
14
13
  export type BlocksFieldServerComponent = FieldServerComponent<BlocksField, BlocksFieldClientWithoutType>;
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.d.ts","sourceRoot":"","sources":["../../../src/adm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0BAA0B,GAAG,oBAAoB,CAC3D,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAC3D,4BAA4B,EAC5B,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,yBAAyB,CACrE,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,+BAA+B,GACzC,yBAAyB,CAAC,4BAA4B,CAAC,CAAA;AAEzD,MAAM,MAAM,qCAAqC,GAAG,+BAA+B,CACjF,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,qCAAqC,GAC/C,+BAA+B,CAAC,4BAA4B,CAAC,CAAA;AAE/D,MAAM,MAAM,+BAA+B,GAAG,yBAAyB,CACrE,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,+BAA+B,GACzC,yBAAyB,CAAC,4BAA4B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Blocks.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { BlocksField, BlocksFieldClient, ClientField } from '../../fields/config/types.js'\nimport type { BlocksFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>\n\ntype BlocksFieldBaseClientProps = {\n readonly path?: string\n readonly validate?: BlocksFieldValidation\n} & Pick<ServerFieldBase, 'permissions'>\n\nexport type BlocksFieldClientProps = BlocksFieldBaseClientProps &\n ClientFieldBase<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerProps = ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerComponent = FieldServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldClientComponent = FieldClientComponent<\n BlocksFieldClientWithoutType,\n BlocksFieldBaseClientProps\n>\n\nexport type BlocksFieldLabelServerComponent = FieldLabelServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldLabelClientComponent =\n FieldLabelClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldErrorServerComponent = FieldErrorServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldErrorClientComponent =\n FieldErrorClientComponent<BlocksFieldClientWithoutType>\n"],"names":[],"mappings":"AA6DA,WACyD"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Blocks.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { BlocksField, BlocksFieldClient } from '../../fields/config/types.js'\nimport type { BlocksFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>\n\ntype BlocksFieldBaseClientProps = {\n readonly validate?: BlocksFieldValidation\n} & FieldPaths &\n Pick<ServerFieldBase, 'permissions'>\n\nexport type BlocksFieldClientProps = BlocksFieldBaseClientProps &\n ClientFieldBase<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerProps = ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerComponent = FieldServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldClientComponent = FieldClientComponent<\n BlocksFieldClientWithoutType,\n BlocksFieldBaseClientProps\n>\n\nexport type BlocksFieldLabelServerComponent = FieldLabelServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldLabelClientComponent =\n FieldLabelClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldErrorServerComponent = FieldErrorServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldErrorClientComponent =\n FieldErrorClientComponent<BlocksFieldClientWithoutType>\n"],"names":[],"mappings":"AA8DA,WACyD"}
@@ -11,7 +11,7 @@ type CheckboxFieldBaseClientProps = {
11
11
  readonly id?: string;
12
12
  readonly onChange?: (value: boolean) => void;
13
13
  readonly partialChecked?: boolean;
14
- readonly path?: string;
14
+ readonly path: string;
15
15
  readonly validate?: CheckboxFieldValidation;
16
16
  };
17
17
  export type CheckboxFieldClientProps = CheckboxFieldBaseClientProps & ClientFieldBase<CheckboxFieldClientWithoutType>;
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAA;AAC1E,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB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,CAAC,QAAQ,CAAC,EAAE,uBAAuB,CAAA;CAC5C,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,4BAA4B,GACjE,eAAe,CAAC,8BAA8B,CAAC,CAAA;AAEjD,MAAM,MAAM,wBAAwB,GAAG,eAAe,CACpD,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAC7D,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAC7D,8BAA8B,EAC9B,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,CACvE,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,iCAAiC,GAC3C,yBAAyB,CAAC,8BAA8B,CAAC,CAAA;AAE3D,MAAM,MAAM,uCAAuC,GAAG,+BAA+B,CACnF,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,uCAAuC,GACjD,+BAA+B,CAAC,8BAA8B,CAAC,CAAA;AAEjE,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,CACvE,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,iCAAiC,GAC3C,yBAAyB,CAAC,8BAA8B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Checkbox.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CheckboxField, CheckboxFieldClient } from '../../fields/config/types.js'\nimport type { CheckboxFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>\n\ntype CheckboxFieldBaseClientProps = {\n readonly checked?: boolean\n readonly disableFormData?: boolean\n readonly id?: string\n readonly onChange?: (value: boolean) => void\n readonly partialChecked?: boolean\n readonly path?: string\n readonly validate?: CheckboxFieldValidation\n}\n\nexport type CheckboxFieldClientProps = CheckboxFieldBaseClientProps &\n ClientFieldBase<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldServerProps = ServerFieldBase<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldServerComponent = FieldServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldClientComponent = FieldClientComponent<\n CheckboxFieldClientWithoutType,\n CheckboxFieldBaseClientProps\n>\n\nexport type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldLabelClientComponent =\n FieldLabelClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldErrorClientComponent =\n FieldErrorClientComponent<CheckboxFieldClientWithoutType>\n"],"names":[],"mappings":"AAqEA,WAC2D"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Checkbox.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CheckboxField, CheckboxFieldClient } from '../../fields/config/types.js'\nimport type { CheckboxFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>\n\ntype CheckboxFieldBaseClientProps = {\n readonly checked?: boolean\n readonly disableFormData?: boolean\n readonly id?: string\n readonly onChange?: (value: boolean) => void\n readonly partialChecked?: boolean\n readonly path: string\n readonly validate?: CheckboxFieldValidation\n}\n\nexport type CheckboxFieldClientProps = CheckboxFieldBaseClientProps &\n ClientFieldBase<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldServerProps = ServerFieldBase<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldServerComponent = FieldServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldClientComponent = FieldClientComponent<\n CheckboxFieldClientWithoutType,\n CheckboxFieldBaseClientProps\n>\n\nexport type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldLabelClientComponent =\n FieldLabelClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldErrorClientComponent =\n FieldErrorClientComponent<CheckboxFieldClientWithoutType>\n"],"names":[],"mappings":"AAqEA,WAC2D"}
@@ -7,7 +7,7 @@ import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent,
7
7
  type CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>;
8
8
  type CodeFieldBaseClientProps = {
9
9
  readonly autoComplete?: string;
10
- readonly path?: string;
10
+ readonly path: string;
11
11
  readonly validate?: CodeFieldValidation;
12
12
  };
13
13
  export type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> & CodeFieldBaseClientProps;
@@ -1 +1 @@
1
- {"version":3,"file":"Code.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,mBAAmB,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,0BAA0B,CAAC,GAC5E,wBAAwB,CAAA;AAE1B,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,SAAS,EAAE,0BAA0B,CAAC,CAAA;AAEzF,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CAAC,SAAS,EAAE,0BAA0B,CAAC,CAAA;AAElG,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CACzD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,CAAC,EAAE,mBAAmB,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,0BAA0B,CAAC,GAC5E,wBAAwB,CAAA;AAE1B,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,SAAS,EAAE,0BAA0B,CAAC,CAAA;AAEzF,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CAAC,SAAS,EAAE,0BAA0B,CAAC,CAAA;AAElG,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CACzD,0BAA0B,EAC1B,wBAAwB,CACzB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;AAEjG,MAAM,MAAM,mCAAmC,GAAG,+BAA+B,CAC/E,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Code.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CodeField, CodeFieldClient } from '../../fields/config/types.js'\nimport type { CodeFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>\n\ntype CodeFieldBaseClientProps = {\n readonly autoComplete?: string\n readonly path?: string\n readonly validate?: CodeFieldValidation\n}\n\nexport type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> &\n CodeFieldBaseClientProps\n\nexport type CodeFieldServerProps = ServerFieldBase<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldServerComponent = FieldServerComponent<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldClientComponent = FieldClientComponent<\n CodeFieldClientWithoutType,\n CodeFieldBaseClientProps\n>\n\nexport type CodeFieldLabelServerComponent = FieldLabelServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldErrorServerComponent = FieldErrorServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>\n"],"names":[],"mappings":"AA0DA,WAAiG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Code.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CodeField, CodeFieldClient } from '../../fields/config/types.js'\nimport type { CodeFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>\n\ntype CodeFieldBaseClientProps = {\n readonly autoComplete?: string\n readonly path: string\n readonly validate?: CodeFieldValidation\n}\n\nexport type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> &\n CodeFieldBaseClientProps\n\nexport type CodeFieldServerProps = ServerFieldBase<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldServerComponent = FieldServerComponent<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldClientComponent = FieldClientComponent<\n CodeFieldClientWithoutType,\n CodeFieldBaseClientProps\n>\n\nexport type CodeFieldLabelServerComponent = FieldLabelServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldErrorServerComponent = FieldErrorServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>\n"],"names":[],"mappings":"AA0DA,WAAiG"}
@@ -1,11 +1,9 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
2
  import type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js';
3
3
  import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
4
- import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
4
+ import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
5
5
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
6
- type CollapsibleFieldBaseClientProps = {
7
- readonly path?: string;
8
- } & Pick<ServerFieldBase, 'permissions'>;
6
+ type CollapsibleFieldBaseClientProps = FieldPaths & Pick<ServerFieldBase, 'permissions'>;
9
7
  type CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>;
10
8
  export type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType> & CollapsibleFieldBaseClientProps;
11
9
  export type CollapsibleFieldServerProps = ServerFieldBase<CollapsibleField, CollapsibleFieldClientWithoutType>;
@@ -1 +1 @@
1
- {"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Collapsible.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC5F,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,+BAA+B,GAAG;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CACvB,GAAG,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,CAAA;AAExC,KAAK,iCAAiC,GAAG,YAAY,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAA;AAErF,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,iCAAiC,CAAC,GAC1F,+BAA+B,CAAA;AAEjC,MAAM,MAAM,2BAA2B,GAAG,eAAe,CACvD,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAChE,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAChE,iCAAiC,EACjC,+BAA+B,CAChC,CAAA;AAED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B,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAChE,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAChE,iCAAiC,EACjC,+BAA+B,CAChC,CAAA;AAED,MAAM,MAAM,oCAAoC,GAAG,yBAAyB,CAC1E,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,yBAAyB,CAAC,iCAAiC,CAAC,CAAA;AAE9D,MAAM,MAAM,0CAA0C,GAAG,+BAA+B,CACtF,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,0CAA0C,GACpD,+BAA+B,CAAC,iCAAiC,CAAC,CAAA;AAEpE,MAAM,MAAM,oCAAoC,GAAG,yBAAyB,CAC1E,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,yBAAyB,CAAC,iCAAiC,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Collapsible.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CollapsibleFieldBaseClientProps = {\n readonly path?: string\n} & Pick<ServerFieldBase, 'permissions'>\n\ntype CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>\n\nexport type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType> &\n CollapsibleFieldBaseClientProps\n\nexport type CollapsibleFieldServerProps = ServerFieldBase<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldServerComponent = FieldServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldClientComponent = FieldClientComponent<\n CollapsibleFieldClientWithoutType,\n CollapsibleFieldBaseClientProps\n>\n\nexport type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldLabelClientComponent =\n FieldLabelClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldErrorClientComponent =\n FieldErrorClientComponent<CollapsibleFieldClientWithoutType>\n"],"names":[],"mappings":"AA8DA,WAC8D"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Collapsible.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CollapsibleFieldBaseClientProps = FieldPaths & Pick<ServerFieldBase, 'permissions'>\n\ntype CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>\n\nexport type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType> &\n CollapsibleFieldBaseClientProps\n\nexport type CollapsibleFieldServerProps = ServerFieldBase<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldServerComponent = FieldServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldClientComponent = FieldClientComponent<\n CollapsibleFieldClientWithoutType,\n CollapsibleFieldBaseClientProps\n>\n\nexport type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldLabelClientComponent =\n FieldLabelClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldErrorClientComponent =\n FieldErrorClientComponent<CollapsibleFieldClientWithoutType>\n"],"names":[],"mappings":"AA6DA,WAC8D"}
@@ -6,7 +6,7 @@ import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, Serve
6
6
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
7
7
  type DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>;
8
8
  type DateFieldBaseClientProps = {
9
- readonly path?: string;
9
+ readonly path: string;
10
10
  readonly validate?: DateFieldValidation;
11
11
  };
12
12
  export type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> & DateFieldBaseClientProps;
@@ -1 +1 @@
1
- {"version":3,"file":"Date.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Date.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAA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AA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;AAEjG,MAAM,MAAM,mCAAmC,GAAG,+BAA+B,CAC/E,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Date.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { DateField, DateFieldClient } from '../../fields/config/types.js'\nimport type { DateFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>\n\ntype DateFieldBaseClientProps = {\n readonly path?: string\n readonly validate?: DateFieldValidation\n}\n\nexport type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> &\n DateFieldBaseClientProps\n\nexport type DateFieldServerProps = ServerFieldBase<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldServerComponent = FieldServerComponent<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldClientComponent = FieldClientComponent<\n DateFieldClientWithoutType,\n DateFieldBaseClientProps\n>\n\nexport type DateFieldLabelServerComponent = FieldLabelServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldErrorServerComponent = FieldErrorServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>\n"],"names":[],"mappings":"AAyDA,WAAiG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Date.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { DateField, DateFieldClient } from '../../fields/config/types.js'\nimport type { DateFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>\n\ntype DateFieldBaseClientProps = {\n readonly path: string\n readonly validate?: DateFieldValidation\n}\n\nexport type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> &\n DateFieldBaseClientProps\n\nexport type DateFieldServerProps = ServerFieldBase<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldServerComponent = FieldServerComponent<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldClientComponent = FieldClientComponent<\n DateFieldClientWithoutType,\n DateFieldBaseClientProps\n>\n\nexport type DateFieldLabelServerComponent = FieldLabelServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldErrorServerComponent = FieldErrorServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>\n"],"names":[],"mappings":"AAyDA,WAAiG"}
@@ -6,7 +6,7 @@ import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, Serve
6
6
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
7
7
  type EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>;
8
8
  type EmailFieldBaseClientProps = {
9
- readonly path?: string;
9
+ readonly path: string;
10
10
  readonly validate?: EmailFieldValidation;
11
11
  };
12
12
  export type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> & EmailFieldBaseClientProps;
@@ -1 +1 @@
1
- {"version":3,"file":"Email.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Email.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,KAAK,yBAAyB,GAAG;IAC/B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ts-essentials'\n\nimport type { EmailField, EmailFieldClient } from '../../fields/config/types.js'\nimport type { EmailFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>\n\ntype EmailFieldBaseClientProps = {\n readonly path?: string\n readonly validate?: EmailFieldValidation\n}\n\nexport type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> &\n EmailFieldBaseClientProps\n\nexport type EmailFieldServerProps = ServerFieldBase<EmailField, EmailFieldClientWithoutType>\n\nexport type EmailFieldServerComponent = FieldServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldClientComponent = FieldClientComponent<\n EmailFieldClientWithoutType,\n EmailFieldBaseClientProps\n>\n\nexport type EmailFieldLabelServerComponent = FieldLabelServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldErrorServerComponent = FieldErrorServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>\n"],"names":[],"mappings":"AA4DA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Email.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { EmailField, EmailFieldClient } from '../../fields/config/types.js'\nimport type { EmailFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>\n\ntype EmailFieldBaseClientProps = {\n readonly path: string\n readonly validate?: EmailFieldValidation\n}\n\nexport type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> &\n EmailFieldBaseClientProps\n\nexport type EmailFieldServerProps = ServerFieldBase<EmailField, EmailFieldClientWithoutType>\n\nexport type EmailFieldServerComponent = FieldServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldClientComponent = FieldClientComponent<\n EmailFieldClientWithoutType,\n EmailFieldBaseClientProps\n>\n\nexport type EmailFieldLabelServerComponent = FieldLabelServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldErrorServerComponent = FieldErrorServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>\n"],"names":[],"mappings":"AA4DA,WAAmG"}
@@ -1,12 +1,10 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
2
  import type { GroupField, GroupFieldClient } from '../../fields/config/types.js';
3
3
  import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
4
- import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
4
+ import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
5
5
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
6
6
  type GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>;
7
- export type GroupFieldBaseClientProps = {
8
- readonly path?: string;
9
- } & Pick<ServerFieldBase, 'permissions'>;
7
+ export type GroupFieldBaseClientProps = FieldPaths & Pick<ServerFieldBase, 'permissions'>;
10
8
  export type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType> & GroupFieldBaseClientProps;
11
9
  export type GroupFieldServerProps = ServerFieldBase<GroupField, GroupFieldClientWithoutType>;
12
10
  export type GroupFieldServerComponent = FieldServerComponent<GroupField, GroupFieldClientWithoutType>;
@@ -1 +1 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CACvB,GAAG,IAAI,CAAC,eAAe,EAA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B,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,CAAA;AAEzF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,2BAA2B,CAAC,GAC9E,yBAAyB,CAAA;AAE3B,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,UAAU,EAAE,2BAA2B,CAAC,CAAA;AAE5F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Group.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { GroupField, GroupFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>\n\nexport type GroupFieldBaseClientProps = {\n readonly path?: string\n} & Pick<ServerFieldBase, 'permissions'>\n\nexport type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType> &\n GroupFieldBaseClientProps\n\nexport type GroupFieldServerProps = ServerFieldBase<GroupField, GroupFieldClientWithoutType>\n\nexport type GroupFieldServerComponent = FieldServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldClientComponent = FieldClientComponent<\n GroupFieldClientWithoutType,\n GroupFieldBaseClientProps\n>\n\nexport type GroupFieldLabelServerComponent = FieldLabelServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldErrorServerComponent = FieldErrorServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldErrorClientComponent = FieldErrorClientComponent<GroupFieldClientWithoutType>\n"],"names":[],"mappings":"AA0DA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Group.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { GroupField, GroupFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>\n\nexport type GroupFieldBaseClientProps = FieldPaths & Pick<ServerFieldBase, 'permissions'>\n\nexport type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType> &\n GroupFieldBaseClientProps\n\nexport type GroupFieldServerProps = ServerFieldBase<GroupField, GroupFieldClientWithoutType>\n\nexport type GroupFieldServerComponent = FieldServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldClientComponent = FieldClientComponent<\n GroupFieldClientWithoutType,\n GroupFieldBaseClientProps\n>\n\nexport type GroupFieldLabelServerComponent = FieldLabelServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldErrorServerComponent = FieldErrorServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldErrorClientComponent = FieldErrorClientComponent<GroupFieldClientWithoutType>\n"],"names":[],"mappings":"AAyDA,WAAmG"}
@@ -5,6 +5,7 @@ type HiddenFieldBaseClientProps = {
5
5
  readonly field?: {
6
6
  readonly name?: string;
7
7
  } & ClientField;
8
+ readonly path: string;
8
9
  readonly value?: unknown;
9
10
  };
10
11
  export type HiddenFieldProps = ClientFieldBase & HiddenFieldBaseClientProps;
@@ -1 +1 @@
1
- {"version":3,"file":"Hidden.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Hidden.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,KAAK,0BAA0B,GAAG;IAChC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAA;IACrC,QAAQ,CAAC,KAAK,CAAC,EAAE;QACf,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KACvB,GAAG,WAAW,CAAA;IACf,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,eAAe,GAAG,0BAA0B,CAAA"}
1
+ {"version":3,"file":"Hidden.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Hidden.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,KAAK,0BAA0B,GAAG;IAChC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAA;IACrC,QAAQ,CAAC,KAAK,CAAC,EAAE;QACf,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KACvB,GAAG,WAAW,CAAA;IACf,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,eAAe,GAAG,0BAA0B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Hidden.ts"],"sourcesContent":["import type { ClientField } from '../../fields/config/types.js'\nimport type { ClientFieldBase } from '../types.js'\n\ntype HiddenFieldBaseClientProps = {\n readonly disableModifyingForm?: false\n readonly field?: {\n readonly name?: string\n } & ClientField\n readonly value?: unknown\n}\n\nexport type HiddenFieldProps = ClientFieldBase & HiddenFieldBaseClientProps\n"],"names":[],"mappings":"AAWA,WAA2E"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Hidden.ts"],"sourcesContent":["import type { ClientField } from '../../fields/config/types.js'\nimport type { ClientFieldBase } from '../types.js'\n\ntype HiddenFieldBaseClientProps = {\n readonly disableModifyingForm?: false\n readonly field?: {\n readonly name?: string\n } & ClientField\n readonly path: string\n readonly value?: unknown\n}\n\nexport type HiddenFieldProps = ClientFieldBase & HiddenFieldBaseClientProps\n"],"names":[],"mappings":"AAYA,WAA2E"}
@@ -6,7 +6,7 @@ import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, Serve
6
6
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
7
7
  type JSONFieldClientWithoutType = MarkOptional<JSONFieldClient, 'type'>;
8
8
  type JSONFieldBaseClientProps = {
9
- readonly path?: string;
9
+ readonly path: string;
10
10
  readonly validate?: JSONFieldValidation;
11
11
  };
12
12
  export type JSONFieldClientProps = ClientFieldBase<JSONFieldClientWithoutType> & JSONFieldBaseClientProps;
@@ -1 +1 @@
1
- {"version":3,"file":"JSON.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/JSON.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,Q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B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,QAAQ,CAAC,EAAE,mBAAmB,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,0BAA0B,CAAC,GAC5E,wBAAwB,CAAA;AAE1B,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,SAAS,EAAE,0BAA0B,CAAC,CAAA;AAEzF,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CAAC,SAAS,EAAE,0BAA0B,CAAC,CAAA;AAElG,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CACzD,0BAA0B,EAC1B,wBAAwB,CACzB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;AAEjG,MAAM,MAAM,mCAAmC,GAAG,+BAA+B,CAC/E,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/JSON.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { JSONField, JSONFieldClient } from '../../fields/config/types.js'\nimport type { JSONFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype JSONFieldClientWithoutType = MarkOptional<JSONFieldClient, 'type'>\n\ntype JSONFieldBaseClientProps = {\n readonly path?: string\n readonly validate?: JSONFieldValidation\n}\n\nexport type JSONFieldClientProps = ClientFieldBase<JSONFieldClientWithoutType> &\n JSONFieldBaseClientProps\n\nexport type JSONFieldServerProps = ServerFieldBase<JSONField, JSONFieldClientWithoutType>\n\nexport type JSONFieldServerComponent = FieldServerComponent<JSONField, JSONFieldClientWithoutType>\n\nexport type JSONFieldClientComponent = FieldClientComponent<\n JSONFieldClientWithoutType,\n JSONFieldBaseClientProps\n>\n\nexport type JSONFieldLabelServerComponent = FieldLabelServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldLabelClientComponent = FieldLabelClientComponent<JSONFieldClientWithoutType>\n\nexport type JSONFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<JSONFieldClientWithoutType>\n\nexport type JSONFieldErrorServerComponent = FieldErrorServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldErrorClientComponent = FieldErrorClientComponent<JSONFieldClientWithoutType>\n"],"names":[],"mappings":"AAyDA,WAAiG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/JSON.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { JSONField, JSONFieldClient } from '../../fields/config/types.js'\nimport type { JSONFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype JSONFieldClientWithoutType = MarkOptional<JSONFieldClient, 'type'>\n\ntype JSONFieldBaseClientProps = {\n readonly path: string\n readonly validate?: JSONFieldValidation\n}\n\nexport type JSONFieldClientProps = ClientFieldBase<JSONFieldClientWithoutType> &\n JSONFieldBaseClientProps\n\nexport type JSONFieldServerProps = ServerFieldBase<JSONField, JSONFieldClientWithoutType>\n\nexport type JSONFieldServerComponent = FieldServerComponent<JSONField, JSONFieldClientWithoutType>\n\nexport type JSONFieldClientComponent = FieldClientComponent<\n JSONFieldClientWithoutType,\n JSONFieldBaseClientProps\n>\n\nexport type JSONFieldLabelServerComponent = FieldLabelServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldLabelClientComponent = FieldLabelClientComponent<JSONFieldClientWithoutType>\n\nexport type JSONFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<JSONFieldClientWithoutType>\n\nexport type JSONFieldErrorServerComponent = FieldErrorServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldErrorClientComponent = FieldErrorClientComponent<JSONFieldClientWithoutType>\n"],"names":[],"mappings":"AAyDA,WAAiG"}
@@ -4,12 +4,13 @@ import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../fo
4
4
  import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
5
5
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
6
6
  type JoinFieldClientWithoutType = MarkOptional<JoinFieldClient, 'type'>;
7
- export type JoinFieldClientProps = {
8
- path?: string;
9
- } & ClientFieldBase<JoinFieldClientWithoutType>;
7
+ type JoinFieldBaseClientProps = {
8
+ readonly path: string;
9
+ };
10
+ export type JoinFieldClientProps = ClientFieldBase<JoinFieldClientWithoutType> & JoinFieldBaseClientProps;
10
11
  export type JoinFieldServerProps = ServerFieldBase<JoinField>;
11
12
  export type JoinFieldServerComponent = FieldServerComponent<JoinField>;
12
- export type JoinFieldClientComponent = FieldClientComponent<JoinFieldClientWithoutType>;
13
+ export type JoinFieldClientComponent = FieldClientComponent<JoinFieldClientWithoutType, JoinFieldBaseClientProps>;
13
14
  export type JoinFieldLabelServerComponent = FieldLabelServerComponent<JoinField>;
14
15
  export type JoinFieldLabelClientComponent = FieldLabelClientComponent<JoinFieldClientWithoutType>;
15
16
  export type JoinFieldDescriptionServerComponent = FieldDescriptionServerComponent<JoinField>;
@@ -1 +1 @@
1
- {"version":3,"file":"Join.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Join.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,GAAG,eAAe,CAAC,0BAA0B,CAAC,CAAA;AA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;AAED,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,0BAA0B,CAAC,GAC5E,wBAAwB,CAAA;AAE1B,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,SAAS,CAAC,CAAA;AAE7D,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAA;AAEtE,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CACzD,0BAA0B,EAC1B,wBAAwB,CACzB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAEhF,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;AAEjG,MAAM,MAAM,mCAAmC,GAAG,+BAA+B,CAAC,SAAS,CAAC,CAAA;AAE5F,MAAM,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAEhF,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Join.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { JoinField, JoinFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype JoinFieldClientWithoutType = MarkOptional<JoinFieldClient, 'type'>\n\nexport type JoinFieldClientProps = {\n path?: string\n} & ClientFieldBase<JoinFieldClientWithoutType>\n\nexport type JoinFieldServerProps = ServerFieldBase<JoinField>\n\nexport type JoinFieldServerComponent = FieldServerComponent<JoinField>\n\nexport type JoinFieldClientComponent = FieldClientComponent<JoinFieldClientWithoutType>\n\nexport type JoinFieldLabelServerComponent = FieldLabelServerComponent<JoinField>\n\nexport type JoinFieldLabelClientComponent = FieldLabelClientComponent<JoinFieldClientWithoutType>\n\nexport type JoinFieldDescriptionServerComponent = FieldDescriptionServerComponent<JoinField>\n\nexport type JoinFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<JoinFieldClientWithoutType>\n\nexport type JoinFieldErrorServerComponent = FieldErrorServerComponent<JoinField>\n\nexport type JoinFieldErrorClientComponent = FieldErrorClientComponent<JoinFieldClientWithoutType>\n"],"names":[],"mappings":"AAwCA,WAAiG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Join.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { JoinField, JoinFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype JoinFieldClientWithoutType = MarkOptional<JoinFieldClient, 'type'>\n\ntype JoinFieldBaseClientProps = {\n readonly path: string\n}\n\nexport type JoinFieldClientProps = ClientFieldBase<JoinFieldClientWithoutType> &\n JoinFieldBaseClientProps\n\nexport type JoinFieldServerProps = ServerFieldBase<JoinField>\n\nexport type JoinFieldServerComponent = FieldServerComponent<JoinField>\n\nexport type JoinFieldClientComponent = FieldClientComponent<\n JoinFieldClientWithoutType,\n JoinFieldBaseClientProps\n>\n\nexport type JoinFieldLabelServerComponent = FieldLabelServerComponent<JoinField>\n\nexport type JoinFieldLabelClientComponent = FieldLabelClientComponent<JoinFieldClientWithoutType>\n\nexport type JoinFieldDescriptionServerComponent = FieldDescriptionServerComponent<JoinField>\n\nexport type JoinFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<JoinFieldClientWithoutType>\n\nexport type JoinFieldErrorServerComponent = FieldErrorServerComponent<JoinField>\n\nexport type JoinFieldErrorClientComponent = FieldErrorClientComponent<JoinFieldClientWithoutType>\n"],"names":[],"mappings":"AA8CA,WAAiG"}
@@ -7,7 +7,7 @@ import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent,
7
7
  type NumberFieldClientWithoutType = MarkOptional<NumberFieldClient, 'type'>;
8
8
  type NumberFieldBaseClientProps = {
9
9
  readonly onChange?: (e: number) => void;
10
- readonly path?: string;
10
+ readonly path: string;
11
11
  readonly validate?: NumberFieldValidation;
12
12
  };
13
13
  export type NumberFieldClientProps = ClientFieldBase<NumberFieldClientWithoutType> & NumberFieldBaseClientProps;
@@ -1 +1 @@
1
- {"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Number.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,4BAA4B,GAAG,YAAY,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA;AAE3E,KAAK,0BAA0B,GAAG;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,QAAQ,CAA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@
1
- {"version":3,"sources":["../../../src/admin/fields/Number.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { NumberField, NumberFieldClient } from '../../fields/config/types.js'\nimport type { NumberFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype NumberFieldClientWithoutType = MarkOptional<NumberFieldClient, 'type'>\n\ntype NumberFieldBaseClientProps = {\n readonly onChange?: (e: number) => void\n readonly path?: string\n readonly validate?: NumberFieldValidation\n}\n\nexport type NumberFieldClientProps = ClientFieldBase<NumberFieldClientWithoutType> &\n NumberFieldBaseClientProps\n\nexport type NumberFieldServerProps = ServerFieldBase<NumberField, NumberFieldClientWithoutType>\n\nexport type NumberFieldServerComponent = FieldServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldClientComponent = FieldClientComponent<\n NumberFieldClientWithoutType,\n NumberFieldBaseClientProps\n>\n\nexport type NumberFieldLabelServerComponent = FieldLabelServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldLabelClientComponent =\n FieldLabelClientComponent<NumberFieldClientWithoutType>\n\nexport type NumberFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<NumberFieldClientWithoutType>\n\nexport type NumberFieldErrorServerComponent = FieldErrorServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldErrorClientComponent =\n FieldErrorClientComponent<NumberFieldClientWithoutType>\n"],"names":[],"mappings":"AA8DA,WACyD"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Number.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { NumberField, NumberFieldClient } from '../../fields/config/types.js'\nimport type { NumberFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype NumberFieldClientWithoutType = MarkOptional<NumberFieldClient, 'type'>\n\ntype NumberFieldBaseClientProps = {\n readonly onChange?: (e: number) => void\n readonly path: string\n readonly validate?: NumberFieldValidation\n}\n\nexport type NumberFieldClientProps = ClientFieldBase<NumberFieldClientWithoutType> &\n NumberFieldBaseClientProps\n\nexport type NumberFieldServerProps = ServerFieldBase<NumberField, NumberFieldClientWithoutType>\n\nexport type NumberFieldServerComponent = FieldServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldClientComponent = FieldClientComponent<\n NumberFieldClientWithoutType,\n NumberFieldBaseClientProps\n>\n\nexport type NumberFieldLabelServerComponent = FieldLabelServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldLabelClientComponent =\n FieldLabelClientComponent<NumberFieldClientWithoutType>\n\nexport type NumberFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<NumberFieldClientWithoutType>\n\nexport type NumberFieldErrorServerComponent = FieldErrorServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldErrorClientComponent =\n FieldErrorClientComponent<NumberFieldClientWithoutType>\n"],"names":[],"mappings":"AA8DA,WACyD"}
@@ -6,7 +6,7 @@ import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, Serve
6
6
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
7
7
  type PointFieldClientWithoutType = MarkOptional<PointFieldClient, 'type'>;
8
8
  type PointFieldBaseClientProps = {
9
- readonly path?: string;
9
+ readonly path: string;
10
10
  readonly validate?: PointFieldValidation;
11
11
  };
12
12
  export type PointFieldClientProps = ClientFieldBase<PointFieldClientWithoutType> & PointFieldBaseClientProps;
@@ -1 +1 @@
1
- {"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Point.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,2BAA2B,CAAC,GAC9E,yBAAyB,CAAA;AAE3B,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,UAAU,EAAE,2BAA2B,CAAC,CAAA;AAE5F,MAAM,MAAM,yBAAyB,GAAG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AAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,2BAA2B,CAAC,GAC9E,yBAAyB,CAAA;AAE3B,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,UAAU,EAAE,2BAA2B,CAAC,CAAA;AAE5F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Point.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { PointField, PointFieldClient } from '../../fields/config/types.js'\nimport type { PointFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype PointFieldClientWithoutType = MarkOptional<PointFieldClient, 'type'>\n\ntype PointFieldBaseClientProps = {\n readonly path?: string\n readonly validate?: PointFieldValidation\n}\n\nexport type PointFieldClientProps = ClientFieldBase<PointFieldClientWithoutType> &\n PointFieldBaseClientProps\n\nexport type PointFieldServerProps = ServerFieldBase<PointField, PointFieldClientWithoutType>\n\nexport type PointFieldServerComponent = FieldServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldClientComponent = FieldClientComponent<\n PointFieldClientWithoutType,\n PointFieldBaseClientProps\n>\n\nexport type PointFieldLabelServerComponent = FieldLabelServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldLabelClientComponent = FieldLabelClientComponent<PointFieldClientWithoutType>\n\nexport type PointFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<PointFieldClientWithoutType>\n\nexport type PointFieldErrorServerComponent = FieldErrorServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldErrorClientComponent = FieldErrorClientComponent<PointFieldClientWithoutType>\n"],"names":[],"mappings":"AA4DA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Point.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { PointField, PointFieldClient } from '../../fields/config/types.js'\nimport type { PointFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype PointFieldClientWithoutType = MarkOptional<PointFieldClient, 'type'>\n\ntype PointFieldBaseClientProps = {\n readonly path: string\n readonly validate?: PointFieldValidation\n}\n\nexport type PointFieldClientProps = ClientFieldBase<PointFieldClientWithoutType> &\n PointFieldBaseClientProps\n\nexport type PointFieldServerProps = ServerFieldBase<PointField, PointFieldClientWithoutType>\n\nexport type PointFieldServerComponent = FieldServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldClientComponent = FieldClientComponent<\n PointFieldClientWithoutType,\n PointFieldBaseClientProps\n>\n\nexport type PointFieldLabelServerComponent = FieldLabelServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldLabelClientComponent = FieldLabelClientComponent<PointFieldClientWithoutType>\n\nexport type PointFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<PointFieldClientWithoutType>\n\nexport type PointFieldErrorServerComponent = FieldErrorServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldErrorClientComponent = FieldErrorClientComponent<PointFieldClientWithoutType>\n"],"names":[],"mappings":"AA4DA,WAAmG"}
@@ -11,7 +11,7 @@ type RadioFieldBaseClientProps = {
11
11
  */
12
12
  readonly disableModifyingForm?: boolean;
13
13
  readonly onChange?: OnChange;
14
- readonly path?: string;
14
+ readonly path: string;
15
15
  readonly validate?: RadioFieldValidation;
16
16
  readonly value?: string;
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Radio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EAC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AA2B,CAAC,CAAA;AAE5F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAA;AAED,MAAM,MAAM,QAAQ,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;AAErD,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Radio.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { RadioField, RadioFieldClient } from '../../fields/config/types.js'\nimport type { RadioFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype RadioFieldClientWithoutType = MarkOptional<RadioFieldClient, 'type'>\n\ntype RadioFieldBaseClientProps = {\n /**\n * Threaded through to the setValue function from the form context when the value changes\n */\n readonly disableModifyingForm?: boolean\n readonly onChange?: OnChange\n readonly path?: string\n readonly validate?: RadioFieldValidation\n readonly value?: string\n}\n\nexport type RadioFieldClientProps = ClientFieldBase<RadioFieldClientWithoutType> &\n RadioFieldBaseClientProps\n\nexport type RadioFieldServerProps = ServerFieldBase<RadioField, RadioFieldClientWithoutType>\n\nexport type RadioFieldServerComponent = FieldServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldClientComponent = FieldClientComponent<\n RadioFieldClientWithoutType,\n RadioFieldBaseClientProps\n>\n\nexport type OnChange<T = string> = (value: T) => void\n\nexport type RadioFieldLabelServerComponent = FieldLabelServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldLabelClientComponent = FieldLabelClientComponent<RadioFieldClientWithoutType>\n\nexport type RadioFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<RadioFieldClientWithoutType>\n\nexport type RadioFieldErrorServerComponent = FieldErrorServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldErrorClientComponent = FieldErrorClientComponent<RadioFieldClientWithoutType>\n"],"names":[],"mappings":"AAoEA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Radio.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { RadioField, RadioFieldClient } from '../../fields/config/types.js'\nimport type { RadioFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype RadioFieldClientWithoutType = MarkOptional<RadioFieldClient, 'type'>\n\ntype RadioFieldBaseClientProps = {\n /**\n * Threaded through to the setValue function from the form context when the value changes\n */\n readonly disableModifyingForm?: boolean\n readonly onChange?: OnChange\n readonly path: string\n readonly validate?: RadioFieldValidation\n readonly value?: string\n}\n\nexport type RadioFieldClientProps = ClientFieldBase<RadioFieldClientWithoutType> &\n RadioFieldBaseClientProps\n\nexport type RadioFieldServerProps = ServerFieldBase<RadioField, RadioFieldClientWithoutType>\n\nexport type RadioFieldServerComponent = FieldServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldClientComponent = FieldClientComponent<\n RadioFieldClientWithoutType,\n RadioFieldBaseClientProps\n>\n\nexport type OnChange<T = string> = (value: T) => void\n\nexport type RadioFieldLabelServerComponent = FieldLabelServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldLabelClientComponent = FieldLabelClientComponent<RadioFieldClientWithoutType>\n\nexport type RadioFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<RadioFieldClientWithoutType>\n\nexport type RadioFieldErrorServerComponent = FieldErrorServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldErrorClientComponent = FieldErrorClientComponent<RadioFieldClientWithoutType>\n"],"names":[],"mappings":"AAoEA,WAAmG"}
@@ -6,7 +6,7 @@ import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, Serve
6
6
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
7
7
  type RelationshipFieldClientWithoutType = MarkOptional<RelationshipFieldClient, 'type'>;
8
8
  type RelationshipFieldBaseClientProps = {
9
- readonly path?: string;
9
+ readonly path: string;
10
10
  readonly validate?: RelationshipFieldValidation;
11
11
  };
12
12
  export type RelationshipFieldClientProps = ClientFieldBase<RelationshipFieldClientWithoutType> & RelationshipFieldBaseClientProps;
@@ -1 +1 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