@tunasand/sdk 0.7.0 → 0.11.0

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 (285) hide show
  1. package/CHANGELOG.md +233 -88
  2. package/README.md +296 -273
  3. package/dist/analytics.js +657 -10
  4. package/dist/app.js +323 -96
  5. package/dist/apps-DIxAWBSZ.js +318 -0
  6. package/dist/astro-image.d.ts +1 -0
  7. package/dist/astro-image.js +33 -0
  8. package/dist/astro-server-Bwau8F6d.js +99 -0
  9. package/dist/astro-server.d.ts +1 -0
  10. package/dist/astro-server.js +1 -0
  11. package/dist/astro.d.ts +1 -0
  12. package/dist/astro.js +306 -0
  13. package/dist/bridge-Dv4NxGZ7.js +81 -0
  14. package/dist/bridge.js +2 -14
  15. package/dist/build-file-DNi0PHC5.js +31 -0
  16. package/dist/cli.js +6214 -9
  17. package/dist/{client-Derrexwr.js → client-C8STAw9T.js} +43 -24
  18. package/dist/code-N8pBUDbq.js +30 -0
  19. package/dist/code.d.ts +1 -0
  20. package/dist/code.js +1 -0
  21. package/dist/collection-nUz1RetA.js +264 -0
  22. package/dist/{declared-C_GvPiGF.js → declared-CE4a61qb.js} +124 -36
  23. package/dist/delivery.js +124 -132
  24. package/dist/dev-operations-Tutwi1On.js +46 -0
  25. package/dist/dev.js +9 -16
  26. package/dist/embeds-B-Dbn64k.js +29 -0
  27. package/dist/end-users.d.ts +1 -0
  28. package/dist/end-users.js +185 -0
  29. package/dist/{customers-C_vJY2_v.js → endUsers-DODfjnv1.js} +31 -38
  30. package/dist/{errorLabels-CPKiPabZ.js → errorLabels-aT2bnMsO.js} +593 -460
  31. package/dist/i18n.js +4 -4
  32. package/dist/ids-DmtIoqBX.js +109 -0
  33. package/dist/integrations.js +95 -49
  34. package/dist/{ja-C6lX0CeJ.js → ja-CrY_72Tn.js} +99 -54
  35. package/dist/{ja-C1HEWWTQ.js → ja-axQPxMJ-.js} +6 -6
  36. package/dist/operations-CIB99rIY.js +95 -0
  37. package/dist/operations.d.ts +1 -0
  38. package/dist/operations.js +1 -0
  39. package/dist/{page-E_cYgZx-.js → page-yo1cw1kW.js} +5 -5
  40. package/dist/preview.js +8 -1
  41. package/dist/{profile-D6t1QMQh.js → profile-DBsXLvvI.js} +52 -52
  42. package/dist/rich-text.d.ts +1 -0
  43. package/dist/{body.js → rich-text.js} +20 -21
  44. package/dist/schema-Dcg1ajnW.js +1267 -0
  45. package/dist/schema.js +324 -1
  46. package/dist/types/access/src/handoff.d.ts +22 -17
  47. package/dist/types/access/src/index.d.ts +2 -2
  48. package/dist/types/access/src/jws.d.ts +41 -0
  49. package/dist/types/access/src/jwt.d.ts +1 -1
  50. package/dist/types/access/src/oidc.d.ts +11 -3
  51. package/dist/types/access/src/signed.d.ts +0 -2
  52. package/dist/types/adapter-cloudflare/src/eventLog/viewSchema.d.ts +11 -0
  53. package/dist/types/contract/src/accountProfile.d.ts +7 -0
  54. package/dist/types/{cms-contract → contract}/src/apiKeys.d.ts +7 -3
  55. package/dist/types/contract/src/app.d.ts +38 -0
  56. package/dist/types/contract/src/appChannels.d.ts +114 -0
  57. package/dist/types/contract/src/appDefinition.d.ts +133 -0
  58. package/dist/types/{cms-contract → contract}/src/appDependencies.d.ts +91 -35
  59. package/dist/types/contract/src/appIdentities.d.ts +21 -0
  60. package/dist/types/contract/src/appInbound.d.ts +28 -0
  61. package/dist/types/contract/src/appMail.d.ts +106 -0
  62. package/dist/types/contract/src/appSecrets.d.ts +45 -0
  63. package/dist/types/contract/src/appServer.d.ts +501 -0
  64. package/dist/types/contract/src/approvalLabels.d.ts +26 -0
  65. package/dist/types/contract/src/approvals.d.ts +63 -0
  66. package/dist/types/contract/src/apps.d.ts +295 -0
  67. package/dist/types/contract/src/auditActions.d.ts +18 -0
  68. package/dist/types/contract/src/auditLabels.d.ts +223 -0
  69. package/dist/types/contract/src/authorize.d.ts +133 -0
  70. package/dist/types/{cms-contract → contract}/src/bridge.d.ts +39 -40
  71. package/dist/types/{cms-contract → contract}/src/consents.d.ts +32 -25
  72. package/dist/types/contract/src/deletion.d.ts +18 -0
  73. package/dist/types/contract/src/embeds.d.ts +105 -0
  74. package/dist/types/{cms-contract/src/customerLabels.d.ts → contract/src/endUserLabels.d.ts} +6 -9
  75. package/dist/types/contract/src/endUsers.d.ts +241 -0
  76. package/dist/types/{cms-contract → contract}/src/errorLabels.d.ts +76 -47
  77. package/dist/types/{cms-contract → contract}/src/errorLabelsEn.d.ts +52 -36
  78. package/dist/types/contract/src/errors.d.ts +117 -0
  79. package/dist/types/contract/src/eventSchemas.d.ts +70 -0
  80. package/dist/types/contract/src/eventTraces.d.ts +43 -0
  81. package/dist/types/{cms-contract → contract}/src/failureStatus.d.ts +16 -23
  82. package/dist/types/contract/src/fieldAccess.d.ts +45 -0
  83. package/dist/types/contract/src/fieldRules.d.ts +41 -0
  84. package/dist/types/{cms-contract/src/assets.d.ts → contract/src/files.d.ts} +5 -5
  85. package/dist/types/contract/src/formLabels.d.ts +3 -0
  86. package/dist/types/contract/src/forms.d.ts +4 -0
  87. package/dist/types/{cms-contract → contract}/src/functions.d.ts +3 -3
  88. package/dist/types/contract/src/grants.d.ts +26 -0
  89. package/dist/types/contract/src/headers.d.ts +5 -0
  90. package/dist/types/contract/src/hostingRpc.d.ts +149 -0
  91. package/dist/types/contract/src/hostnames.d.ts +30 -0
  92. package/dist/types/contract/src/identifiers.d.ts +148 -0
  93. package/dist/types/contract/src/ids.d.ts +112 -0
  94. package/dist/types/{cms-contract → contract}/src/import.d.ts +20 -19
  95. package/dist/types/contract/src/importLabels.d.ts +3 -0
  96. package/dist/types/contract/src/index.d.ts +92 -0
  97. package/dist/types/contract/src/integrationGraph.d.ts +83 -0
  98. package/dist/types/{cms-contract → contract}/src/issueLabels.d.ts +135 -99
  99. package/dist/types/{cms-contract → contract}/src/issueLabelsEn.d.ts +70 -52
  100. package/dist/types/contract/src/labels.d.ts +11 -0
  101. package/dist/types/contract/src/legacyAuditLabels.d.ts +10 -0
  102. package/dist/types/contract/src/livePeriods.d.ts +18 -0
  103. package/dist/types/contract/src/manage.d.ts +51 -0
  104. package/dist/types/contract/src/manageLabels.d.ts +11 -0
  105. package/dist/types/contract/src/manifestText.d.ts +66 -0
  106. package/dist/types/contract/src/mcpAuth.d.ts +139 -0
  107. package/dist/types/contract/src/mcpLabels.d.ts +5 -0
  108. package/dist/types/contract/src/messagePort.d.ts +208 -0
  109. package/dist/types/{cms-contract → contract}/src/migration.d.ts +3 -3
  110. package/dist/types/contract/src/notices.d.ts +38 -0
  111. package/dist/types/contract/src/operatorOperations.d.ts +640 -0
  112. package/dist/types/contract/src/operators.d.ts +33 -0
  113. package/dist/types/contract/src/outbound.d.ts +29 -0
  114. package/dist/types/contract/src/paths.d.ts +34 -0
  115. package/dist/types/contract/src/pending.d.ts +6 -0
  116. package/dist/types/{cms-contract → contract}/src/permissions.d.ts +9 -11
  117. package/dist/types/contract/src/perspective.d.ts +26 -0
  118. package/dist/types/contract/src/powers.d.ts +5 -0
  119. package/dist/types/contract/src/principal.d.ts +181 -0
  120. package/dist/types/{cms-contract → contract}/src/problems.d.ts +4 -4
  121. package/dist/types/contract/src/projectRole.d.ts +6 -0
  122. package/dist/types/contract/src/recordLabels.d.ts +6 -0
  123. package/dist/types/{cms-contract → contract}/src/roles.d.ts +10 -6
  124. package/dist/types/contract/src/ruleLabels.d.ts +16 -0
  125. package/dist/types/contract/src/ruleProblems.d.ts +16 -0
  126. package/dist/types/contract/src/schemaLabels.d.ts +8 -0
  127. package/dist/types/{cms-contract → contract}/src/settingProblems.d.ts +3 -3
  128. package/dist/types/{cms-contract → contract}/src/settings.d.ts +6 -8
  129. package/dist/types/contract/src/settingsLabels.d.ts +3 -0
  130. package/dist/types/{cms-contract → contract}/src/siteDeclaration.d.ts +7 -7
  131. package/dist/types/contract/src/siteIndex.d.ts +76 -0
  132. package/dist/types/contract/src/slugs.d.ts +6 -0
  133. package/dist/types/{cms-contract → contract}/src/transfer.d.ts +4 -4
  134. package/dist/types/contract/src/trial.d.ts +13 -0
  135. package/dist/types/contract/src/versions.d.ts +7 -0
  136. package/dist/types/{analytics/src/view.d.ts → contract/src/viewEvent.d.ts} +0 -9
  137. package/dist/types/contract/src/webhooks.d.ts +135 -0
  138. package/dist/types/contract/src/workflow.d.ts +43 -0
  139. package/dist/types/contract/src/workspaceItems.d.ts +87 -0
  140. package/dist/types/contract/src/workspacePaths.d.ts +4 -0
  141. package/dist/types/{body → rich-text}/src/declared.d.ts +2 -2
  142. package/dist/types/{body → rich-text}/src/embed.d.ts +1 -1
  143. package/dist/types/{body → rich-text}/src/html.d.ts +1 -1
  144. package/dist/types/{body → rich-text}/src/index.d.ts +8 -7
  145. package/dist/types/{body → rich-text}/src/labels/en.d.ts +1 -1
  146. package/dist/types/{body → rich-text}/src/labels/ja.d.ts +4 -4
  147. package/dist/types/{body → rich-text}/src/library.d.ts +1 -1
  148. package/dist/types/rich-text/src/media.d.ts +2 -0
  149. package/dist/types/{body → rich-text}/src/normalize.d.ts +1 -1
  150. package/dist/types/{body → rich-text}/src/problems.d.ts +5 -5
  151. package/dist/types/{body → rich-text}/src/profile.d.ts +11 -11
  152. package/dist/types/{body → rich-text}/src/render.d.ts +1 -1
  153. package/dist/types/{body → rich-text}/src/schema.d.ts +2 -2
  154. package/dist/types/{body → rich-text}/src/standard.d.ts +4 -4
  155. package/dist/types/{body → rich-text}/src/types.d.ts +2 -2
  156. package/dist/types/schema/src/audience.d.ts +36 -0
  157. package/dist/types/schema/src/brand.d.ts +5 -0
  158. package/dist/types/schema/src/capabilities.d.ts +19 -0
  159. package/dist/types/{model → schema}/src/changes.d.ts +9 -7
  160. package/dist/types/{model → schema}/src/check.d.ts +2 -2
  161. package/dist/types/{model/src/model.d.ts → schema/src/collection.d.ts} +150 -121
  162. package/dist/types/schema/src/defaultSchema.d.ts +15 -0
  163. package/dist/types/schema/src/fieldIds.d.ts +18 -0
  164. package/dist/types/{model/src/asset.d.ts → schema/src/file.d.ts} +36 -25
  165. package/dist/types/schema/src/fileRefs.d.ts +14 -0
  166. package/dist/types/schema/src/fileSignature.d.ts +20 -0
  167. package/dist/types/schema/src/filesCollection.d.ts +7 -0
  168. package/dist/types/schema/src/forms.d.ts +43 -0
  169. package/dist/types/{model → schema}/src/image.d.ts +3 -3
  170. package/dist/types/schema/src/imageMetadata.d.ts +9 -0
  171. package/dist/types/schema/src/index.d.ts +35 -0
  172. package/dist/types/{model → schema}/src/input.d.ts +3 -3
  173. package/dist/types/{model → schema}/src/integrity.d.ts +9 -8
  174. package/dist/types/schema/src/kinds.d.ts +26 -0
  175. package/dist/types/{model → schema}/src/labels/en.d.ts +93 -51
  176. package/dist/types/{model → schema}/src/labels/ja.d.ts +97 -52
  177. package/dist/types/schema/src/mediaUrl.d.ts +60 -0
  178. package/dist/types/{model → schema}/src/page.d.ts +6 -6
  179. package/dist/types/{model → schema}/src/problems.d.ts +95 -53
  180. package/dist/types/{model → schema}/src/refs.d.ts +1 -10
  181. package/dist/types/{model → schema}/src/rules.d.ts +2 -2
  182. package/dist/types/{model → schema}/src/schema.d.ts +25 -20
  183. package/dist/types/schema/src/selfOps.d.ts +31 -0
  184. package/dist/types/{model/src/capabilities.d.ts → schema/src/traits.d.ts} +6 -6
  185. package/dist/types/schema/src/typesSource.d.ts +16 -0
  186. package/dist/types/{model → schema}/src/values.d.ts +7 -4
  187. package/dist/types/schema/src/widening.d.ts +3 -0
  188. package/dist/types/sdk/src/analytics.d.ts +3 -2
  189. package/dist/types/sdk/src/app.d.ts +70 -16
  190. package/dist/types/sdk/src/astro-image.d.ts +19 -0
  191. package/dist/types/sdk/src/astro-response.d.ts +6 -0
  192. package/dist/types/sdk/src/astro-server.d.ts +16 -0
  193. package/dist/types/sdk/src/astro.d.ts +19 -0
  194. package/dist/types/sdk/src/bridge.d.ts +13 -15
  195. package/dist/types/sdk/src/code.d.ts +61 -0
  196. package/dist/types/sdk/src/delegation.d.ts +49 -0
  197. package/dist/types/sdk/src/delivery/changes.d.ts +4 -4
  198. package/dist/types/sdk/src/delivery/client.d.ts +40 -28
  199. package/dist/types/sdk/src/delivery/fields.d.ts +5 -5
  200. package/dist/types/sdk/src/delivery/index.d.ts +3 -3
  201. package/dist/types/sdk/src/delivery/media.d.ts +8 -11
  202. package/dist/types/sdk/src/delivery/query.d.ts +16 -12
  203. package/dist/types/sdk/src/delivery/schema.d.ts +5 -5
  204. package/dist/types/sdk/src/delivery/values.d.ts +16 -20
  205. package/dist/types/sdk/src/delivery.d.ts +3 -3
  206. package/dist/types/sdk/src/dev-operations.d.ts +20 -0
  207. package/dist/types/sdk/src/dev.d.ts +6 -5
  208. package/dist/types/sdk/src/end-users.d.ts +190 -0
  209. package/dist/types/sdk/src/i18n.d.ts +11 -11
  210. package/dist/types/sdk/src/integrations.d.ts +20 -27
  211. package/dist/types/sdk/src/operations.d.ts +17 -0
  212. package/dist/types/sdk/src/preview.d.ts +2 -1
  213. package/dist/types/sdk/src/rich-text.d.ts +2 -0
  214. package/dist/types/sdk/src/schema.d.ts +5 -21
  215. package/dist/types/sdk/src/site/artifact.d.ts +64 -0
  216. package/dist/types/sdk/src/site/build-file.d.ts +30 -0
  217. package/dist/types/sdk/src/site/check-code.d.ts +14 -0
  218. package/dist/types/sdk/src/site/check-text.d.ts +19 -0
  219. package/dist/types/sdk/src/site/cli.d.ts +52 -0
  220. package/dist/types/sdk/src/site/content-type.d.ts +2 -0
  221. package/dist/types/sdk/src/site/labels.d.ts +14 -0
  222. package/dist/types/sdk/src/site.d.ts +1 -1
  223. package/dist/types/sdk/src/types.d.ts +21 -0
  224. package/dist/{schema-BPHL7Qr-.js → types-DkO2N7u2.js} +9 -9
  225. package/dist/types.d.ts +1 -0
  226. package/dist/types.js +1 -0
  227. package/dist/typesSource-VJIxtN9b.js +136 -0
  228. package/dist/workflow-CUpl6hO_.js +148 -0
  229. package/package.json +42 -16
  230. package/dist/apps-9u4XMi7E.js +0 -114
  231. package/dist/body.d.ts +0 -1
  232. package/dist/bridge-DYAYGV7t.js +0 -74
  233. package/dist/customers.d.ts +0 -1
  234. package/dist/customers.js +0 -185
  235. package/dist/embed-R-OvDYAw.js +0 -90
  236. package/dist/model-pmXzGX12.js +0 -152
  237. package/dist/model.d.ts +0 -1
  238. package/dist/model.js +0 -345
  239. package/dist/schema-UQJWRyfJ.js +0 -995
  240. package/dist/src-sazhzYui.js +0 -71
  241. package/dist/types/analytics/src/index.d.ts +0 -5
  242. package/dist/types/analytics/src/schedule.d.ts +0 -2
  243. package/dist/types/analytics/src/shared.d.ts +0 -21
  244. package/dist/types/analytics/src/source.d.ts +0 -19
  245. package/dist/types/analytics/src/store.d.ts +0 -24
  246. package/dist/types/cms-contract/src/app.d.ts +0 -35
  247. package/dist/types/cms-contract/src/apps.d.ts +0 -195
  248. package/dist/types/cms-contract/src/authorize.d.ts +0 -146
  249. package/dist/types/cms-contract/src/customers.d.ts +0 -266
  250. package/dist/types/cms-contract/src/embeds.d.ts +0 -165
  251. package/dist/types/cms-contract/src/errors.d.ts +0 -105
  252. package/dist/types/cms-contract/src/identifiers.d.ts +0 -117
  253. package/dist/types/cms-contract/src/paths.d.ts +0 -23
  254. package/dist/types/cms-contract/src/urlLabel.d.ts +0 -13
  255. package/dist/types/cms-contract/src/webhooks.d.ts +0 -139
  256. package/dist/types/model/src/audience.d.ts +0 -38
  257. package/dist/types/model/src/brand.d.ts +0 -25
  258. package/dist/types/model/src/index.d.ts +0 -26
  259. package/dist/types/model/src/legacy.d.ts +0 -2
  260. package/dist/types/model/src/media.d.ts +0 -5
  261. package/dist/types/model/src/mediaUrl.d.ts +0 -67
  262. package/dist/types/model/src/selfOps.d.ts +0 -30
  263. package/dist/types/model/src/typesSource.d.ts +0 -8
  264. package/dist/types/platform/src/defaultModel.d.ts +0 -8
  265. package/dist/types/sdk/src/body.d.ts +0 -2
  266. package/dist/types/sdk/src/customers.d.ts +0 -190
  267. package/dist/types/sdk/src/model.d.ts +0 -5
  268. package/dist/typesSource-bO0jFw1I.js +0 -88
  269. /package/dist/types/{cms-contract → contract}/src/appProblems.d.ts +0 -0
  270. /package/dist/types/{analytics → contract}/src/day.d.ts +0 -0
  271. /package/dist/types/{cms-contract → contract}/src/functionLabels.d.ts +0 -0
  272. /package/dist/types/{cms-contract → contract}/src/permissionLabels.d.ts +0 -0
  273. /package/dist/types/{cms-contract → contract}/src/siteArtifact.d.ts +0 -0
  274. /package/dist/types/{cms-contract → contract}/src/views.d.ts +0 -0
  275. /package/dist/types/{cms-contract → contract}/src/webhookLabels.d.ts +0 -0
  276. /package/dist/types/{body → rich-text}/src/components.d.ts +0 -0
  277. /package/dist/types/{body → rich-text}/src/derive.d.ts +0 -0
  278. /package/dist/types/{body → rich-text}/src/description.d.ts +0 -0
  279. /package/dist/types/{body → rich-text}/src/href.d.ts +0 -0
  280. /package/dist/types/{body → rich-text}/src/inline.d.ts +0 -0
  281. /package/dist/types/{body → rich-text}/src/markdown.d.ts +0 -0
  282. /package/dist/types/{model → schema}/src/contact.d.ts +0 -0
  283. /package/dist/types/{model → schema}/src/json.d.ts +0 -0
  284. /package/dist/types/{model → schema}/src/screens.d.ts +0 -0
  285. /package/dist/types/{model → schema}/src/time.d.ts +0 -0
@@ -1,89 +1,123 @@
1
1
  /** コンテンツスキーマの検査の問題の英語の文 */
2
- export declare const MODEL_PROBLEM_MESSAGES_EN: {
3
- readonly model_unreadable_input: "Cannot read the collection list types (each collection needs an id and an array of fields, groups also need an array of fields)";
2
+ export declare const SCHEMA_PROBLEM_MESSAGES_EN: {
3
+ readonly schema_unreadable_input: "Cannot read the collection list types (each collection needs an id and an array of fields, groups also need an array of fields)";
4
4
  readonly invalid_collection_id: "id must start with a lowercase letter and contain only lowercase letters, digits and underscores";
5
5
  readonly invalid_field_key: "key must start with a lowercase letter and contain only letters, digits, underscores and hyphens";
6
+ readonly field_id_invalid: "internal field id must be a lowercase UUID v7";
7
+ readonly field_id_duplicate: "internal field id is duplicated within the collection";
6
8
  readonly page_path_slash: "The page template must start with /";
7
9
  readonly og_path_slash: "The OG image template must start with /";
8
10
  readonly invalid_pattern: "The pattern is not a valid regular expression";
9
11
  readonly initial_not_option: "The initial value is not one of the options";
10
12
  readonly derive_not_option: "The derived value is not one of the options";
11
13
  readonly fixed_not_option: "The fixed value is not one of the options";
12
- readonly customer_restrict: "Customer fields cannot use restrict (it would block deletion requests from people)";
13
- readonly entitlement_renamed: "The required entitlement of a collection was renamed to grant (entitlement is no longer accepted)";
14
+ readonly end_user_restrict: "End user fields cannot use restrict (it would block deletion requests from people)";
15
+ readonly requests_single: "Requests can only be enabled on multiple reference fields";
16
+ readonly grant_renamed: "The required entitlement of a collection was renamed to entitlement (grant is no longer accepted)";
17
+ readonly publishing_renamed: "The old name publishing is not accepted (use publication; review is the content setting reviewCollections)";
14
18
  readonly duplicate_field_key: "Duplicate field key";
15
19
  readonly condition_invalid: "The field condition does not point to an option field and value at the same level";
16
20
  readonly page_condition_invalid: "The page condition does not point to an option field and value of the collection";
17
21
  readonly duplicate_collection_id: "Duplicate collection id";
22
+ readonly collection_id_invalid: "Collection id must be a lowercase UUID";
23
+ readonly reference_to_files: "Collection {collection}: a reference cannot point to the files collection (use a file field with accept)";
18
24
  readonly duplicate_collection_slug: "Duplicate collection slug";
19
25
  readonly reserved_key: "Collection {collection}: key {key} is the same as a system value (use another key)";
20
26
  readonly reserved_query_key: "Collection {collection}: key {key} is reserved for Delivery API filters (use another key)";
21
- readonly nested_rule: "Collection {collection}, field {field}: fields inside a group cannot have derive or fixedBy";
27
+ readonly nested_rule: "Collection {collection}, field {field}: fields inside a group cannot have derive or fixed_by";
22
28
  readonly computed_nested: "Collection {collection}, field {field}: fields inside a group cannot be computed";
23
29
  readonly computed_from_not_body: "Collection {collection}, field {field}: the computed source {from} is not a body field of the same collection";
24
30
  readonly computed_type_mismatch: "Collection {collection}, field {field}: field type {type} does not match computed kind {kind}";
25
31
  readonly role_field_not_top: "Collection {collection}, role {role}: field {field} is not at the top level";
26
32
  readonly role_field_mismatch: "Collection {collection}, role {role}: field {field} ({type}) does not fit the role";
27
- readonly audience_nested_wider: "Collection {collection}, field {field}: the audience inside a group must be the same as the outer field or staff";
28
- readonly audience_customer_field: "Collection {collection}, field {field}: the audience of a customer field must be self or staff";
29
- readonly audience_self_without_marker: "Collection {collection}: fields with the self audience need a customer field marked self";
30
- readonly grant_not_reference: "Collection {collection}, required grant {grant}: not a top-level public access reference field";
33
+ readonly audience_nested_wider: "Collection {collection}, field {field}: the audience inside a group must be the same as the outer field or none";
34
+ readonly audience_end_user_field: "Collection {collection}, field {field}: the audience of an end user field must be self or none";
35
+ readonly audience_self_without_marker: "Collection {collection}: fields with the self audience need an end user field marked self";
36
+ readonly entitlement_not_reference: "Collection {collection}, required entitlement {entitlement}: not a top-level public access reference field";
31
37
  readonly audience_wider_than_source: "Collection {collection}, field {field}: the audience cannot be wider than its {source, select, computed {computed} derive {derive} other {condition}} source {from} (the source value would leak)";
32
38
  readonly template_id_placeholder: "Collection {collection}, template {template}: '{id}' is not allowed (use '{slug}')";
33
39
  readonly template_private_placeholder: "Collection {collection}, template {template}, '{'{key}'}': only public fields (the value appears in delivery and page paths)";
34
- readonly fixed_by_wider: "Collection {collection}, field {field}: the audience cannot be wider than the fixedBy source (the source value would leak)";
40
+ readonly fixed_by_wider: "Collection {collection}, field {field}: the audience cannot be wider than the fixed_by source (the source value would leak)";
35
41
  readonly count_reference_private: "Collection {collection}, reference count {key}: reference field {field} of collection {fromCollection} is not public (the count would leak values)";
36
42
  readonly count_reference_mismatch: "Collection {collection}, reference count {key}: reference field {field} of collection {fromCollection} does not point to this collection";
37
43
  readonly count_key_duplicate: "Collection {collection}: reference count {key} duplicates a field key";
38
- readonly customer_field_nested: "Collection {collection}, field {field}: customer fields cannot be inside a group";
39
- readonly on_delete_nested: "Collection {collection}, field {field}: references inside a group cannot have onDelete or anonymize";
40
- readonly on_delete_required: "Collection {collection}, field {field}: required fields cannot use onDelete {onDelete}";
41
- readonly on_delete_min_items: "Collection {collection}, field {field}: references with a minimum count cannot use onDelete {onDelete}";
42
- readonly anonymize_without_on_delete: "Collection {collection}, field {field}: anonymize fields require onDelete anonymize";
44
+ readonly end_user_field_nested: "Collection {collection}, field {field}: end user fields cannot be inside a group";
45
+ readonly on_delete_required: "Collection {collection}, field {field}: required fields cannot use on_delete {on_delete}";
46
+ readonly on_delete_min_items: "Collection {collection}, field {field}: references with a minimum count cannot use on_delete {on_delete}";
47
+ readonly anonymize_without_on_delete: "Collection {collection}, field {field}: anonymize fields require on_delete anonymize";
43
48
  readonly anonymize_field_missing: "Collection {collection}, field {field}: anonymize field {target} is not at the top level of the same collection";
44
49
  readonly anonymize_field_unclearable: "Collection {collection}, field {field}: anonymize field {target} ({type}) cannot be cleared";
45
50
  readonly anonymize_field_required: "Collection {collection}, field {field}: anonymize field {target} is required";
46
- readonly cascade_cycle: "onDelete cascade forms a cycle: {cycle}";
47
- readonly cascade_too_deep: "Collection {collection}: onDelete cascade depth from people {depth, number} exceeds the limit {max, number}";
48
- readonly cascade_self_customer: "Collection {collection}, field {field}: collections reached by a reference cascade cannot have a self customer field (it would delete other people's records)";
51
+ readonly cascade_cycle: "on_delete cascade forms a cycle: {cycle}";
52
+ readonly cascade_too_deep: "Collection {collection}: on_delete cascade depth from people {depth, number} exceeds the limit {max, number}";
53
+ readonly cascade_self_end_user: "Collection {collection}, field {field}: collections reached by a reference cascade cannot have a self end user field (it would delete other people's records)";
49
54
  readonly restrict_reachable: "Collection {collection}, field {field}: cannot restrict collection {to}, which is reachable from people by cascade (it would block deletion requests)";
50
- readonly on_delete_undeclared_reference: "Collection {collection}, field {field}: references to collection {to}, which is reachable from people by cascade, must declare onDelete{nested, select, yes { (not possible inside a group, move it to the top level)} other {}}";
55
+ readonly on_delete_undeclared_reference: "Collection {collection}, field {field}: references to collection {to}, which is reachable from people by cascade, must declare on_delete";
56
+ readonly capability_required: "Collection {collection}: {declaration} needs the {capability} capability";
51
57
  readonly private_object: "Collection {collection} is private: it cannot use the object format";
52
- readonly private_publishing: "Collection {collection} is private: turn off publishing";
58
+ readonly private_publication: "Collection {collection} is private: turn off publishing";
53
59
  readonly private_pages: "Collection {collection} is private: it cannot have pages";
54
- readonly private_grant: "Collection {collection} is private: it cannot require a grant";
60
+ readonly private_entitlement: "Collection {collection} is private: it cannot require an entitlement";
55
61
  readonly reference_target_missing: "Collection {collection}: reference target {to} is not in the schema";
56
62
  readonly component_unknown: "Collection {collection}, body field {field}: component {name} is neither a core component nor declared in components";
57
- readonly customer_on_delete_undeclared: "Collection {collection}, field {field}: customer fields must declare onDelete (cascade, anonymize or clear)";
58
- readonly customer_in_object_collection: "Collection {collection}, field {field}: object collections cannot have customer fields (version history cannot be handled by deletion requests)";
59
- readonly retention_days_undeclared: "Collection {collection}: collections with selfOps must declare retentionDays";
60
- readonly audience_invalid: "Collection {collection}, field {field}: invalid audience (public, granted, self or staff)";
61
- readonly audience_undeclared: "Collection {collection}, field {field}: declare audience for added or changed fields (public, granted, self or staff)";
62
- readonly audience_undeclared_personal: "Collection {collection}, field {field}: fields added to a collection with customer fields must declare audience (public, granted, self or staff; staff for personal data)";
63
+ readonly end_user_on_delete_undeclared: "Collection {collection}, field {field}: end user fields must declare on_delete (cascade, anonymize or clear)";
64
+ readonly end_user_in_object_collection: "Collection {collection}, field {field}: object collections cannot have end user fields (version history cannot be handled by deletion requests)";
65
+ readonly retention_days_undeclared: "Collection {collection}: collections with self_ops must declare retention_days";
66
+ readonly kind_declaration_invalid: "Collection {collection}: {kind} collections cannot declare {declaration}";
67
+ readonly kind_declaration_required: "Collection {collection}: {kind} collections must declare {declaration}";
68
+ readonly kind_field_missing: "Collection {collection}: field {field} in {declaration} does not exist";
69
+ readonly kind_time_invalid: "Collection {collection}: time field {field} must be a date or datetime field";
70
+ readonly kind_subject_invalid: "Collection {collection}: subject field {field} must be an end user field";
71
+ readonly aggregate_dimensions_too_many: "Collection {collection}: aggregates can have up to {max} dimensions";
72
+ readonly aggregate_dimension_person: "Collection {collection}: field {field} points to a person and cannot be an aggregate dimension";
73
+ readonly aggregate_bucket_pair: "Collection {collection}: declare both time and bucket for an aggregate, or neither";
74
+ readonly aggregate_measure_invalid: "Collection {collection}: measure field {field} must be a number field";
75
+ readonly aggregate_field_undeclared: "Collection {collection}: aggregate field {field} must be the time, a dimension or a measure";
76
+ readonly collection_kind_unavailable: "Collection {collection}: this {kind} declaration cannot be created yet";
77
+ readonly audience_invalid: "Collection {collection}, field {field}: invalid audience (public, entitled, self or none)";
78
+ readonly audience_undeclared: "Collection {collection}, field {field}: declare audience for added or changed fields (public, entitled, self or none)";
79
+ readonly audience_undeclared_personal: "Collection {collection}, field {field}: fields added to a collection with end user fields must declare audience (public, entitled, self or none; none for personal data)";
63
80
  readonly unique_list_only: "Collection {collection}: unique constraints are only for list collections";
64
- readonly unique_name_duplicate: "Collection {collection}: duplicate unique constraint name {key} (unique customer fields and sequences are named by the field key)";
81
+ readonly unique_name_duplicate: "Collection {collection}: duplicate unique constraint name {key} (unique end user fields and sequences are named by the field key)";
65
82
  readonly unique_field_count: "Collection {collection}, unique constraint {key}: 1 to {max, number} fields";
66
83
  readonly unique_field_duplicate: "Collection {collection}, unique constraint {key}: duplicate field";
67
84
  readonly unique_field_not_top: "Collection {collection}, unique constraint {key}: field {field} is not at the top level";
68
- readonly unique_field_unsupported: "Collection {collection}, unique constraint {key}: field {field} ({type}) cannot be unique (single text, number, option, reference, date and customer fields only)";
85
+ readonly unique_field_unsupported: "Collection {collection}, unique constraint {key}: field {field} ({type}) cannot be unique (single text, number, option, reference, date and end user fields only)";
69
86
  readonly sequence_nested: "Collection {collection}, field {field}: sequences cannot be inside a group";
70
87
  readonly sequence_list_only: "Collection {collection}, field {field}: sequences are only for list collections";
71
88
  readonly sequence_plain: "Collection {collection}, field {field}: sequences cannot be required, computed or conditional (assigned on creation)";
72
89
  readonly transition_nested: "Collection {collection}, field {field}: transitions cannot be inside a group";
73
- readonly transition_field_kind: "Collection {collection}, field {field}: transitions are only for single option fields without derive or fixedBy";
90
+ readonly transition_field_kind: "Collection {collection}, field {field}: transitions are only for single option fields without derive or fixed_by";
74
91
  readonly transition_to_not_option: "Collection {collection}, field {field}, transition {index, number}: target {to} is not one of the options";
75
92
  readonly transition_from_empty: "Collection {collection}, field {field}, transition {index, number}: no source values";
76
93
  readonly transition_from_not_option: "Collection {collection}, field {field}, transition {index, number}: source value {value} is not one of the options";
77
94
  readonly transition_no_actor: "Collection {collection}, field {field}, transition {index, number}: no one can make the transition";
78
- readonly self_ops_private_only: "Collection {collection}: selfOps are only for private collections (values written by people and self values are not delivered)";
79
- readonly self_ops_list_only: "Collection {collection}: selfOps are only for list collections (object collections have a single record)";
80
- readonly self_ops_unpublished: "Collection {collection}: collections with selfOps cannot have publishing or a published field (self records are shown regardless of publishing)";
81
- readonly self_ops_one_self: "Collection {collection}: selfOps require exactly one self customer field";
82
- readonly self_ops_on_delete: "Collection {collection}: the self customer field {field} of a selfOps collection must use onDelete cascade or anonymize (deletion requests must not keep self records)";
83
- readonly self_ops_unique: "Collection {collection}: unique constraint {key} of a selfOps collection must include the self customer field {field} (to avoid conflicts with other people's values)";
84
- readonly self_writable_nested: "Collection {collection}, field {field}: selfWritable cannot be set inside a group";
85
- readonly self_writable_blocked: "Collection {collection}, field {field}: selfWritable cannot be set on {block, select, customer {customer fields} group {groups} media {media fields} rich_text {body fields} staff {staff fields} admin_only {admin-only fields} computed {computed fields} other {sequence fields}}";
86
- readonly self_writable_without_ops: "Collection {collection}, field {field}: selfWritable requires a collection that accepts create_self or update_self";
95
+ readonly form_private_list_only: "Collection {collection}: forms are only for private list collections (submissions are not delivered)";
96
+ readonly form_with_self_ops: "Collection {collection}: a form and self_ops cannot be declared together";
97
+ readonly form_delivered_field: "Collection {collection}, field {field}: a form collection cannot have delivered audiences (public, entitled)";
98
+ readonly form_one_end_user: "Collection {collection}: a form submitted by end_user requires exactly one end user field";
99
+ readonly form_required_missing: "Collection {collection}, field {field}: a field required on save is missing from the form";
100
+ readonly form_field_unsupported: "Collection {collection}, form field {field}: submitters can write only top-level single-value text, contact, and select fields (no conditional, admin-only, or managed fields)";
101
+ readonly form_field_duplicate: "Collection {collection}, form field {field}: duplicate";
102
+ readonly form_required_when: "Collection {collection}, form field {field}: required_when must point to another select field of the form and its options";
103
+ readonly form_hosts: "Collection {collection}, form field {field}: hosts are only for URL fields and need lowercase host names or site";
104
+ readonly form_handled_field: "Collection {collection}, handled field {field}: must be a single-value select field";
105
+ readonly form_handled_done: "Collection {collection}, handled field {field}: done values must be options other than the initial value";
106
+ readonly form_handled_at_missing: "Collection {collection}, handled field {field}: a datetime field managed by form_handled_at is required";
107
+ readonly form_handled_writable: "Collection {collection}, handled field {field}: submitters cannot write it";
108
+ readonly form_managed_nested: "Collection {collection}, field {field}: managed cannot be inside a group";
109
+ readonly form_managed_shape: "Collection {collection}, field {field}: {managed} must be a single-value {type} field without required or conditions";
110
+ readonly form_managed_undeclared: "Collection {collection}, field {field}: no form declaration for {managed}";
111
+ readonly form_managed_duplicate: "Collection {collection}, field {field}: only one field can be {managed}";
112
+ readonly self_ops_private_only: "Collection {collection}: self_ops are only for private collections (values written by people and self values are not delivered)";
113
+ readonly self_ops_list_only: "Collection {collection}: self_ops are only for list collections (object collections have a single record)";
114
+ readonly self_ops_unpublished: "Collection {collection}: collections with self_ops cannot have publishing or a published field (self records are shown regardless of publishing)";
115
+ readonly self_ops_one_self: "Collection {collection}: self_ops require exactly one self end user field";
116
+ readonly self_ops_on_delete: "Collection {collection}: the self end user field {field} of a self_ops collection must use on_delete cascade or anonymize (deletion requests must not keep self records)";
117
+ readonly self_ops_unique: "Collection {collection}: unique constraint {key} of a self_ops collection must include the self end user field {field} (to avoid conflicts with other people's values)";
118
+ readonly self_writable_nested: "Collection {collection}, field {field}: self_writable cannot be set inside a group";
119
+ readonly self_writable_blocked: "Collection {collection}, field {field}: self_writable cannot be set on {block, select, end_user {end user reference fields} object {groups} file {file fields} rich_text {body fields} staff {staff fields} admin_only {admin-only fields} computed {computed fields} other {sequence fields}}";
120
+ readonly self_writable_without_ops: "Collection {collection}, field {field}: self_writable requires a collection that accepts create_self or update_self";
87
121
  readonly field_key_reused: "Field \"{label}\": key {key} was a {type} field in a past version (values remain in records, use another key)";
88
122
  readonly field_removed: "Remove field \"{label}\" (values are kept and hidden)";
89
123
  readonly field_added: "Add field \"{label}\"";
@@ -91,36 +125,46 @@ export declare const MODEL_PROBLEM_MESSAGES_EN: {
91
125
  readonly field_type_changed: "Change the type of field \"{label}\" from {from} to {to} (incompatible, create a new field and move the values)";
92
126
  readonly field_required: "Make field \"{label}\" required";
93
127
  readonly field_pii_narrowed: "Weaken the personal data class of field \"{label}\" (values remain in environment copies)";
128
+ readonly field_managed_changed: "Change whether field \"{label}\" is managed (affects one submission per person and retention)";
94
129
  readonly field_tightened: "Tighten the value rules of field \"{label}\" (values that do not match must be fixed on the next save)";
95
130
  readonly option_removed: "Remove option \"{option}\" from field \"{label}\"";
96
131
  readonly option_added: "Add option \"{option}\" to field \"{label}\"";
97
132
  readonly field_changed: "Change the settings or order of field \"{label}\"";
133
+ readonly field_key_changed: "Change the key of field \"{label}\" from {from} to {to} (the key in delivery responses changes)";
98
134
  readonly collection_label_changed: "Change the name or description of collection \"{label}\"";
99
135
  readonly collection_format_changed: "Change the format of collection \"{label}\" (create a new collection and move the records)";
100
- readonly collection_publishing_removed: "Turn off publishing for collection \"{label}\" (draft records also become public)";
101
- readonly collection_publishing_changed: "Change publishing for collection \"{label}\"";
136
+ readonly collection_kind_changed: "Change the kind of collection \"{label}\" (create a new collection and move the records)";
137
+ readonly collection_kind_declaration_changed: "Change the timeseries or aggregate declaration of collection \"{label}\"";
138
+ readonly collection_publication_removed: "Turn off publishing for collection \"{label}\" (draft records also become public)";
139
+ readonly collection_publication_added: "Turn on publishing for collection \"{label}\"";
102
140
  readonly collection_slug_mode: "Record slugs in collection \"{label}\" become {mode, select, editor {chosen by editors} other {automatic}}";
103
- readonly collection_slug_changed: "Change the slug of collection \"{label}\" from {from} to {to} (the delivery path becomes /content/v1/{to}, the old slug path returns 404)";
141
+ readonly collection_slug_changed: "Change the slug of collection \"{label}\" from {from} to {to} (the delivery path becomes /v1/collections/{to}/records, the old slug path returns 404)";
104
142
  readonly collection_roles_changed: "Change the field roles of collection \"{label}\"";
105
143
  readonly collection_private_changed: "Make collection \"{label}\" {private, select, yes {private} other {delivered}}";
106
144
  readonly collection_unlinked: "Collection \"{label}\" is no longer linked to people (records remain when excluded from environment copies)";
107
- readonly collection_grant_changed: "Change the required grant field of collection \"{label}\"";
145
+ readonly collection_entitlement_changed: "Change the required entitlement field of collection \"{label}\"";
108
146
  readonly collection_unique_added: "Add or change unique constraints of collection \"{label}\" (cannot save while duplicates remain)";
109
147
  readonly collection_unique_removed: "Remove unique constraints of collection \"{label}\"";
110
148
  readonly collection_pages_changed: "Change the page templates of collection \"{label}\"";
111
149
  readonly collection_counts_changed: "Change the reference counts of collection \"{label}\"";
112
150
  readonly collection_og_changed: "Change the OG image template of collection \"{label}\"";
113
- readonly collection_self_ops_added: "Add selfOps to collection \"{label}\" (consented installations can read and write on behalf of the customer)";
114
- readonly collection_self_ops_removed: "Remove selfOps from collection \"{label}\"";
151
+ readonly collection_self_ops_added: "Add self_ops to collection \"{label}\" (consented installations can read and write on behalf of the end user)";
152
+ readonly collection_self_ops_removed: "Remove self_ops from collection \"{label}\"";
153
+ readonly collection_form_opened: "Add or widen the form of collection \"{label}\" (API keys with the submit permission can write)";
154
+ readonly collection_form_retention_shortened: "Delete handled records of collection \"{label}\" after {days, number} days (removed by the daily cleanup; with trash enabled they move to the trash and personal data is erased after the trash period)";
155
+ readonly collection_form_changed: "Change the form of collection \"{label}\"";
115
156
  readonly collection_retention_shortened: "Set the retention of collection \"{label}\" to {days, number} days (expired records are deleted by the daily cleanup)";
116
157
  readonly collection_retention_changed: "Change the retention of collection \"{label}\"";
117
- readonly media_fixed: "The fields, format and publishing of collection \"{label}\" are fixed by the product (name and description can be changed)";
118
- readonly media_not_removable: "Collection \"{label}\" is fixed by the product and cannot be deleted";
158
+ readonly collection_trash_enabled: "Turn on the trash of collection \"{label}\"";
159
+ readonly collection_trash_disabled: "Turn off the trash of collection \"{label}\"";
160
+ readonly collection_publish_checks_changed: "Change the publish checks of collection \"{label}\"";
161
+ readonly file_fixed: "The fields, format and publishing of collection \"{label}\" are fixed by the product (name and description can be changed)";
162
+ readonly file_not_removable: "Collection \"{label}\" is fixed by the product and cannot be deleted";
119
163
  readonly collection_removed: "Delete collection \"{label}\" (records are kept and hidden)";
120
- readonly media_defined: "The fields and format of collection \"{label}\" are defined by the product";
164
+ readonly file_defined: "The fields and format of collection \"{label}\" are defined by the product";
121
165
  readonly collection_added: "Add collection \"{label}\"";
122
166
  readonly confidential_key_reused: "The key of field {field} was a confidential field ({type}) (values remain in records, use another key)";
123
- readonly audience_widened: "Widen the audience of field {field} from {from, select, public {public} granted {granted customers} self {self} other {staff}} to {to, select, public {public} granted {granted customers} self {self} other {staff}} (recorded in the ledger)";
167
+ readonly audience_widened: "Widen the audience of field {field} from {from, select, public {public} entitled {entitled end users} self {self} other {none}} to {to, select, public {public} entitled {entitled end users} self {self} other {none}} (recorded in the registry)";
124
168
  readonly component_removed: "Remove the declaration of body component \"{label}\" (bodies using it are rejected on the next save)";
125
169
  readonly component_added: "Declare body component \"{label}\"";
126
170
  readonly component_changed: "Change the declaration of body component \"{label}\"";
@@ -164,6 +208,4 @@ export declare const MODEL_PROBLEM_MESSAGES_EN: {
164
208
  readonly fixed_value: "For this {target}, set {field} of {collection} to {option}";
165
209
  readonly body_field_missing: "Collection {collection} has no body field {field}";
166
210
  readonly date_time_invalid: "Invalid date and time format";
167
- readonly comment_required: "Comment is required";
168
- readonly reject_note_required: "Reason for returning is required";
169
211
  };
@@ -1,25 +1,23 @@
1
- /** 見える範囲の表示名(管理画面) */
1
+ /** 見える範囲の表示名(ワークスペース) */
2
2
  export declare const AUDIENCE_LABELS: {
3
3
  readonly public: "全員";
4
- readonly granted: "条件付き";
4
+ readonly entitled: "条件付き";
5
5
  readonly self: "本人のみ";
6
- readonly staff: "内部のみ";
6
+ readonly none: "内部のみ";
7
7
  };
8
8
  /** コンテンツスキーマの検査の問題の文 */
9
- export declare const MODEL_PROBLEM_MESSAGES: {
9
+ export declare const SCHEMA_PROBLEM_MESSAGES: {
10
10
  readonly reference_missing: "{field}の {id} がない";
11
11
  readonly reference_after_create: "{field}は作成の後に選択";
12
12
  readonly reference_unmatched: "{field}の {id} は選択できる条件に合わない";
13
13
  readonly pending_masters: "マスタへの追加が承認待ち: {labels}(承認すると公開できます)";
14
14
  readonly uncited_sources: "{collection}の参考資料にない注が{count, number}件";
15
- readonly images_without_alt: "代替テキストのない画像が{count, number}枚(メディアで入力)";
15
+ readonly images_without_alt: "代替テキストのない画像が{count, number}枚(ファイルで入力)";
16
16
  readonly page_field_required: "ページを公開するため、{field}が必要";
17
17
  readonly referenced_page_fields: "公開すると{target}のページができるため、{target}の{fields}が必要";
18
18
  readonly fixed_value: "この{target}の{collection}は、{field}を{option}にしてください";
19
19
  readonly body_field_missing: "コレクション {collection} に本文のフィールド {field} がない";
20
20
  readonly date_time_invalid: "日時の形式が不正";
21
- readonly comment_required: "コメントが未入力";
22
- readonly reject_note_required: "差し戻しの理由が未入力";
23
21
  readonly invalid_screen_id: "id は英小文字で始まり、英小文字・数字・アンダーライン・コロン・ハイフンだけ";
24
22
  readonly duplicate_section_id: "セクションの id が重複";
25
23
  readonly duplicate_placement: "同じフィールドを2か所に配置";
@@ -56,20 +54,24 @@ export declare const MODEL_PROBLEM_MESSAGES: {
56
54
  readonly field_type_changed: "フィールド「{label}」の種類を {from} から {to} に変更(互換なし、新しいフィールドを作って移す)";
57
55
  readonly field_required: "フィールド「{label}」を必須に";
58
56
  readonly field_pii_narrowed: "フィールド「{label}」の個人の情報の分類を弱める(環境のコピーで値が残る)";
57
+ readonly field_managed_changed: "フィールド「{label}」の仕組みが決める値の印を変更(同じ人の送信を1回だけにする判定と、残す日数の基準が変わる)";
59
58
  readonly field_tightened: "フィールド「{label}」の値の条件を厳しく(合わない値は次の保存で修正)";
60
59
  readonly option_removed: "フィールド「{label}」の選択肢「{option}」を削除";
61
60
  readonly option_added: "フィールド「{label}」に選択肢「{option}」を追加";
62
61
  readonly field_changed: "フィールド「{label}」の設定・並びを変更";
62
+ readonly field_key_changed: "フィールド「{label}」のフィールド ID を {from} から {to} に変更(配信の応答の key が変わる)";
63
63
  readonly collection_label_changed: "コレクション「{label}」の表示名・説明を変更";
64
64
  readonly collection_format_changed: "コレクション「{label}」の形式の変更(新しいコレクションを作って移す)";
65
- readonly collection_publishing_removed: "コレクション「{label}」の公開の管理を外す(下書きのレコードも公開)";
66
- readonly collection_publishing_changed: "コレクション「{label}」の公開の管理を変更";
65
+ readonly collection_kind_changed: "コレクション「{label}」の種類の変更(新しいコレクションを作って移す)";
66
+ readonly collection_kind_declaration_changed: "コレクション「{label}」の時系列か集計の宣言の変更";
67
+ readonly collection_publication_removed: "コレクション「{label}」の公開の管理を外す(下書きのレコードも公開)";
68
+ readonly collection_publication_added: "コレクション「{label}」の公開の管理を付ける";
67
69
  readonly collection_slug_mode: "コレクション「{label}」のレコードのスラッグを{mode, select, editor {編集者が決める形} other {自動}}に";
68
- readonly collection_slug_changed: "コレクション「{label}」のスラッグを {from} から {to} に変更(配信の経路は /content/v1/{to} に変わり、旧いスラッグの経路は404)";
70
+ readonly collection_slug_changed: "コレクション「{label}」のスラッグを {from} から {to} に変更(配信の経路は /v1/collections/{to}/records に変わり、旧いスラッグの経路は404)";
69
71
  readonly collection_roles_changed: "コレクション「{label}」のフィールドの役割を変更";
70
72
  readonly collection_private_changed: "コレクション「{label}」を{private, select, yes {非公開のコレクション} other {配信するコレクション}}に";
71
73
  readonly collection_unlinked: "コレクション「{label}」が人に結び付かなくなる(環境のコピーの除外でレコードが残る)";
72
- readonly collection_grant_changed: "コレクション「{label}」の必要な権利のフィールドを変更";
74
+ readonly collection_entitlement_changed: "コレクション「{label}」の必要な権利のフィールドを変更";
73
75
  readonly collection_unique_added: "コレクション「{label}」の一意の組を追加・変更(重複が残るうちは保存できない)";
74
76
  readonly collection_unique_removed: "コレクション「{label}」の一意の組を外す";
75
77
  readonly collection_pages_changed: "コレクション「{label}」のページの雛形を変更";
@@ -77,46 +79,58 @@ export declare const MODEL_PROBLEM_MESSAGES: {
77
79
  readonly collection_og_changed: "コレクション「{label}」の OG 画像の雛形を変更";
78
80
  readonly collection_self_ops_added: "コレクション「{label}」の人の操作を追加(同意したインストールが本人の代わりに読み書きできる)";
79
81
  readonly collection_self_ops_removed: "コレクション「{label}」の人の操作を外す";
82
+ readonly collection_form_opened: "コレクション「{label}」で受け付けるフォームを追加・変更(送信の権限を持つ API キーから書けるようになる)";
83
+ readonly collection_form_retention_shortened: "コレクション「{label}」の対応済みから残す日数を {days, number} 日に(過ぎたレコードは毎日の整理で削除。ゴミ箱のあるコレクションではゴミ箱に移り、個人の情報が消えるのはゴミ箱の期間の後)";
84
+ readonly collection_form_changed: "コレクション「{label}」のフォームの設定を変更";
80
85
  readonly collection_retention_shortened: "コレクション「{label}」の保持の日数を {days, number} 日に(過ぎたレコードは毎日の整理で消える)";
81
86
  readonly collection_retention_changed: "コレクション「{label}」の保持の日数を変更";
82
- readonly media_fixed: "コレクション「{label}」のフィールド・形式・公開の管理は製品で固定(表示名・説明は変更可)";
83
- readonly media_not_removable: "コレクション「{label}」は製品で固定のため削除できない";
87
+ readonly collection_trash_enabled: "コレクション「{label}」のゴミ箱を有効にする";
88
+ readonly collection_trash_disabled: "コレクション「{label}」のゴミ箱を無効にする";
89
+ readonly collection_publish_checks_changed: "コレクション「{label}」の公開の前の検査を変更";
90
+ readonly file_fixed: "コレクション「{label}」のフィールド・形式・公開の管理は製品で固定(表示名・説明は変更可)";
91
+ readonly file_not_removable: "コレクション「{label}」は製品で固定のため削除できない";
84
92
  readonly collection_removed: "コレクション「{label}」を削除(レコードは残して非表示)";
85
- readonly media_defined: "コレクション「{label}」のフィールド・形式は製品で定義";
93
+ readonly file_defined: "コレクション「{label}」のフィールド・形式は製品で定義";
86
94
  readonly collection_added: "コレクション「{label}」を追加";
87
95
  readonly confidential_key_reused: "フィールド {field} の key は機密のフィールド(種類 {type})だった(値がレコードに残るため、別の key で作成)";
88
- readonly audience_widened: "フィールド {field} のアクセスを{from, select, public {全員} granted {条件付き} self {本人のみ} other {内部のみ}}から{to, select, public {全員} granted {条件付き} self {本人のみ} other {内部のみ}}に広げる";
96
+ readonly audience_widened: "フィールド {field} のアクセスを{from, select, public {全員} entitled {条件付き} self {本人のみ} other {内部のみ}}から{to, select, public {全員} entitled {条件付き} self {本人のみ} other {内部のみ}}に広げる";
89
97
  readonly component_removed: "本文の部品「{label}」の宣言を削除(使用中の本文は次の保存で拒否)";
90
98
  readonly component_added: "本文の部品「{label}」を宣言";
91
99
  readonly component_changed: "本文の部品「{label}」の宣言を変更";
92
- readonly model_unreadable_input: "コレクションの一覧 types として読めない(コレクションごとに id とフィールドの配列、まとまりの中もフィールドの配列)";
100
+ readonly schema_unreadable_input: "コレクションの一覧 types として読めない(コレクションごとに id とフィールドの配列、まとまりの中もフィールドの配列)";
93
101
  readonly invalid_collection_id: "id は英小文字で始まり、英小文字・数字・アンダーラインだけ";
94
102
  readonly invalid_field_key: "key は英小文字で始まり、英字・数字・アンダーライン・ハイフンだけ";
103
+ readonly field_id_invalid: "フィールドの内部の id は小文字の UUID v7";
104
+ readonly field_id_duplicate: "フィールドの内部の id がコレクションの中で重なっています";
95
105
  readonly page_path_slash: "ページの雛形は / で始まる";
96
106
  readonly og_path_slash: "OG 画像の雛形は / で始まる";
97
107
  readonly invalid_pattern: "形式の正規表現が不正";
98
108
  readonly initial_not_option: "初期値が選択肢にない";
99
109
  readonly derive_not_option: "決まる値が選択肢にない";
100
110
  readonly fixed_not_option: "固定する値が選択肢にない";
101
- readonly customer_restrict: "顧客フィールドに restrict は使えない(人の削除の求めを止めないため)";
102
- readonly entitlement_renamed: "コレクションの要る付与は grant に改名した(entitlement は使えない)";
111
+ readonly end_user_restrict: "エンドユーザーへの参照のフィールドに restrict は使えない(人の削除の求めを止めないため)";
112
+ readonly requests_single: "追加の依頼は複数の参照の項目だけに付けられる";
113
+ readonly grant_renamed: "コレクションの要る権利は entitlement に改名した(grant は使えない)";
114
+ readonly publishing_renamed: "旧い名前 publishing は使えない(publication に改める。レビューは content の設定 reviewCollections)";
103
115
  readonly duplicate_field_key: "フィールド ID が重複";
104
116
  readonly condition_invalid: "フィールドの条件が同じ階層の選択肢のフィールドと値を指していない";
105
117
  readonly page_condition_invalid: "ページの条件がコレクションの選択肢のフィールドと値を指していない";
106
118
  readonly duplicate_collection_id: "コレクションの id が重複";
119
+ readonly collection_id_invalid: "コレクションの id は小文字の UUID";
120
+ readonly reference_to_files: "コレクション {collection} の参照の先が files のコレクション(ファイルはフィールドの種類 file と accept で指定)";
107
121
  readonly duplicate_collection_slug: "コレクションのスラッグが重複";
108
122
  readonly reserved_key: "コレクション {collection} のフィールド ID {key} はシステムの値と同じ名前(別の key に)";
109
123
  readonly reserved_query_key: "コレクション {collection} のフィールド ID {key} は配信 API の絞り込みの予約の語(別の key に)";
110
- readonly nested_rule: "コレクション {collection} のフィールド {field}: まとまりの中のフィールドは決まる値 derive・参照先で固定 fixedBy なし";
124
+ readonly nested_rule: "コレクション {collection} のフィールド {field}: まとまりの中のフィールドは決まる値 derive・参照先で固定 fixed_by なし";
111
125
  readonly computed_nested: "コレクション {collection} のフィールド {field}: まとまりの中のフィールドは計算のフィールドなし";
112
126
  readonly computed_from_not_body: "コレクション {collection} のフィールド {field}: 計算の元 {from} が同じコレクションの本文のフィールドでない";
113
127
  readonly computed_type_mismatch: "コレクション {collection} のフィールド {field}: 計算の種類 {kind} に合わないフィールドの種類 {type}";
114
128
  readonly role_field_not_top: "コレクション {collection} の役割 {role}: フィールド {field} が最上位にない";
115
129
  readonly role_field_mismatch: "コレクション {collection} の役割 {role}: フィールド {field}({type})は役割に合わない";
116
130
  readonly audience_nested_wider: "コレクション {collection} のフィールド {field}: まとまりの中の見える範囲は外側と同じかスタッフ";
117
- readonly audience_customer_field: "コレクション {collection} のフィールド {field}: 顧客フィールドの見える範囲は本人かスタッフ";
118
- readonly audience_self_without_marker: "コレクション {collection} の見える範囲が本人のフィールドには、本人の印 self を付けた顧客フィールドが要る";
119
- readonly grant_not_reference: "コレクション {collection} の必要な権利 {grant}: 最上位の公開かアクセス権の参照のフィールドでない";
131
+ readonly audience_end_user_field: "コレクション {collection} のフィールド {field}: エンドユーザーへの参照のフィールドの見える範囲は本人かスタッフ";
132
+ readonly audience_self_without_marker: "コレクション {collection} の見える範囲が本人のフィールドには、本人の印 self を付けたエンドユーザーへの参照のフィールドが要る";
133
+ readonly entitlement_not_reference: "コレクション {collection} の必要な権利 {entitlement}: 最上位の公開かアクセス権の参照のフィールドでない";
120
134
  readonly audience_wider_than_source: "コレクション {collection} のフィールド {field}: {source, select, computed {計算} derive {決まる値} other {条件}}の元 {from} より広い見える範囲にできない(元の値が漏れる)";
121
135
  readonly template_id_placeholder: "コレクション {collection} の雛形 {template}: '{id}' は使えない('{slug}' にする)";
122
136
  readonly template_private_placeholder: "コレクション {collection} の雛形 {template} の '{'{key}'}': 公開のフィールドだけ(配信とページのパスに値が出る)";
@@ -124,37 +138,48 @@ export declare const MODEL_PROBLEM_MESSAGES: {
124
138
  readonly count_reference_private: "コレクション {collection} の被参照の件数 {key}: コレクション {fromCollection} の参照のフィールド {field} が公開でない(件数で値が漏れる)";
125
139
  readonly count_reference_mismatch: "コレクション {collection} の被参照の件数 {key}: コレクション {fromCollection} の参照のフィールド {field} がこのコレクションを指していない";
126
140
  readonly count_key_duplicate: "コレクション {collection} の被参照の件数 {key} がフィールド ID と重複";
127
- readonly customer_field_nested: "コレクション {collection} のフィールド {field}: 顧客フィールドはまとまりの中に置かない";
128
- readonly on_delete_nested: "コレクション {collection} のフィールド {field}: まとまりの中の参照に onDelete・anonymize を付けない";
129
- readonly on_delete_required: "コレクション {collection} のフィールド {field}: 必須項目に onDelete {onDelete} は使えない";
130
- readonly on_delete_min_items: "コレクション {collection} のフィールド {field}: 件数の下限のある参照に onDelete {onDelete} は使えない";
131
- readonly anonymize_without_on_delete: "コレクション {collection} のフィールド {field}: anonymize のフィールドは onDelete が anonymize のときだけ";
141
+ readonly end_user_field_nested: "コレクション {collection} のフィールド {field}: エンドユーザーへの参照のフィールドはまとまりの中に置かない";
142
+ readonly on_delete_required: "コレクション {collection} のフィールド {field}: 必須項目に on_delete {on_delete} は使えない";
143
+ readonly on_delete_min_items: "コレクション {collection} のフィールド {field}: 件数の下限のある参照に on_delete {on_delete} は使えない";
144
+ readonly anonymize_without_on_delete: "コレクション {collection} のフィールド {field}: anonymize のフィールドは on_delete が anonymize のときだけ";
132
145
  readonly anonymize_field_missing: "コレクション {collection} のフィールド {field}: anonymize のフィールド {target} が同じコレクションの最上位にない";
133
146
  readonly anonymize_field_unclearable: "コレクション {collection} のフィールド {field}: anonymize のフィールド {target}({type})は空にできない種類";
134
147
  readonly anonymize_field_required: "コレクション {collection} のフィールド {field}: anonymize のフィールド {target} は必須項目";
135
- readonly cascade_cycle: "onDelete cascade が循環: {cycle}";
136
- readonly cascade_too_deep: "コレクション {collection}: 人からの onDelete cascade の深さ {depth, number} が上限 {max, number} を超える";
137
- readonly cascade_self_customer: "コレクション {collection} のフィールド {field}: 参照の cascade でたどるコレクションに本人の顧客フィールドは置けない(ほかの人の記録を連鎖で消すため)";
148
+ readonly cascade_cycle: "on_delete cascade が循環: {cycle}";
149
+ readonly cascade_too_deep: "コレクション {collection}: 人からの on_delete cascade の深さ {depth, number} が上限 {max, number} を超える";
150
+ readonly cascade_self_end_user: "コレクション {collection} のフィールド {field}: 参照の cascade でたどるコレクションに本人のエンドユーザーへの参照のフィールドは置けない(ほかの人の記録を連鎖で消すため)";
138
151
  readonly restrict_reachable: "コレクション {collection} のフィールド {field}: 人から cascade でたどれるコレクション {to} を restrict で指せない(人の削除の求めを止めないため)";
139
- readonly on_delete_undeclared_reference: "コレクション {collection} のフィールド {field}: 人から cascade でたどれるコレクション {to} を指す参照は onDelete を宣言する{nested, select, yes {(まとまりの中では宣言できないので最上位へ)} other {}}";
152
+ readonly on_delete_undeclared_reference: "コレクション {collection} のフィールド {field}: 人から cascade でたどれるコレクション {to} を指す参照は on_delete を宣言する";
153
+ readonly capability_required: "コレクション {collection}: {declaration} には能力 {capability} が要る";
140
154
  readonly private_object: "コレクション {collection} は非公開のコレクション: オブジェクト形式にしない";
141
- readonly private_publishing: "コレクション {collection} は非公開のコレクション: 公開の管理なしにする";
155
+ readonly private_publication: "コレクション {collection} は非公開のコレクション: 公開の管理なしにする";
142
156
  readonly private_pages: "コレクション {collection} は非公開のコレクション: ページを持たない";
143
- readonly private_grant: "コレクション {collection} は非公開のコレクション: 必要な権利を付けない";
157
+ readonly private_entitlement: "コレクション {collection} は非公開のコレクション: 必要な権利を付けない";
144
158
  readonly reference_target_missing: "コレクション {collection} の参照先 {to} がスキーマにない";
145
159
  readonly component_unknown: "コレクション {collection} の本文のフィールド {field} の部品 {name} がコアの部品にも宣言 components にもない";
146
- readonly customer_on_delete_undeclared: "コレクション {collection} のフィールド {field}: 顧客フィールドは onDelete(cascade・anonymize・clear)を宣言する";
147
- readonly customer_in_object_collection: "コレクション {collection} のフィールド {field}: オブジェクト形式のコレクションに顧客フィールドを置かない(バージョン履歴を人の削除で扱えないため)";
148
- readonly retention_days_undeclared: "コレクション {collection}: 人の操作 selfOps を持つコレクションは保持の日数 retentionDays を宣言する";
149
- readonly audience_invalid: "コレクション {collection} のフィールド {field}: 見える範囲 audience の値が不正(public・granted・self・staff)";
150
- readonly audience_undeclared: "コレクション {collection} のフィールド {field}: 見える範囲 audience を書く(足す・変えるフィールド、public・granted・self・staff)";
151
- readonly audience_undeclared_personal: "コレクション {collection} のフィールド {field}: 顧客フィールドを持つコレクションに足すフィールドは見える範囲 audience を書く(public・granted・self・staff、個人の情報なら staff)";
160
+ readonly end_user_on_delete_undeclared: "コレクション {collection} のフィールド {field}: エンドユーザーへの参照のフィールドは on_delete(cascade・anonymize・clear)を宣言する";
161
+ readonly end_user_in_object_collection: "コレクション {collection} のフィールド {field}: オブジェクト形式のコレクションにエンドユーザーへの参照のフィールドを置かない(バージョン履歴を人の削除で扱えないため)";
162
+ readonly retention_days_undeclared: "コレクション {collection}: 人の操作 self_ops を持つコレクションは保持の日数 retention_days を宣言する";
163
+ readonly kind_declaration_invalid: "コレクション {collection}: 種類 {kind} は {declaration} を宣言できない";
164
+ readonly kind_declaration_required: "コレクション {collection}: 種類 {kind} は {declaration} を宣言する";
165
+ readonly kind_field_missing: "コレクション {collection}: {declaration} のフィールド {field} がない";
166
+ readonly kind_time_invalid: "コレクション {collection}: 時刻のフィールド {field} は日付か日時のフィールドにする";
167
+ readonly kind_subject_invalid: "コレクション {collection}: 本人を指すフィールド {field} はエンドユーザーへの参照のフィールドにする";
168
+ readonly aggregate_dimensions_too_many: "コレクション {collection}: 集計の次元は {max} 個まで";
169
+ readonly aggregate_dimension_person: "コレクション {collection}: 本人を指すフィールド {field} を集計の次元にできない";
170
+ readonly aggregate_bucket_pair: "コレクション {collection}: 集計の時刻のフィールド time と時間の区切り bucket は両方を宣言するか、どちらも宣言しない";
171
+ readonly aggregate_measure_invalid: "コレクション {collection}: 集計の値のフィールド {field} は数値のフィールドにする";
172
+ readonly aggregate_field_undeclared: "コレクション {collection}: 集計のフィールド {field} は時刻・次元・値のいずれかに宣言する";
173
+ readonly collection_kind_unavailable: "コレクション {collection}: 種類 {kind} のこの宣言はまだ作成できない";
174
+ readonly audience_invalid: "コレクション {collection} のフィールド {field}: 見える範囲 audience の値が不正(public・entitled・self・none)";
175
+ readonly audience_undeclared: "コレクション {collection} のフィールド {field}: 見える範囲 audience を書く(足す・変えるフィールド、public・entitled・self・none)";
176
+ readonly audience_undeclared_personal: "コレクション {collection} のフィールド {field}: エンドユーザーへの参照のフィールドを持つコレクションに足すフィールドは見える範囲 audience を書く(public・entitled・self・none、個人の情報なら none)";
152
177
  readonly unique_list_only: "コレクション {collection} の一意の組は一覧のコレクションだけ";
153
- readonly unique_name_duplicate: "コレクション {collection} の一意の組 {key} の名前が重複(顧客フィールドの unique と連番はフィールド ID が名前)";
178
+ readonly unique_name_duplicate: "コレクション {collection} の一意の組 {key} の名前が重複(エンドユーザーへの参照のフィールドの unique と連番はフィールド ID が名前)";
154
179
  readonly unique_field_count: "コレクション {collection} の一意の組 {key}: フィールドは1つから{max, number}つ";
155
180
  readonly unique_field_duplicate: "コレクション {collection} の一意の組 {key}: フィールドが重複";
156
181
  readonly unique_field_not_top: "コレクション {collection} の一意の組 {key}: フィールド {field} が最上位にない";
157
- readonly unique_field_unsupported: "コレクション {collection} の一意の組 {key}: フィールド {field}({type})は一意にできない(単数の文字・数値・選択肢・参照・日付・顧客フィールドだけ)";
182
+ readonly unique_field_unsupported: "コレクション {collection} の一意の組 {key}: フィールド {field}({type})は一意にできない(単数の文字・数値・選択肢・参照・日付・エンドユーザーへの参照のフィールドだけ)";
158
183
  readonly sequence_nested: "コレクション {collection} のフィールド {field}: 連番はまとまりの中に置かない";
159
184
  readonly sequence_list_only: "コレクション {collection} のフィールド {field}: 連番は一覧のコレクションだけ";
160
185
  readonly sequence_plain: "コレクション {collection} のフィールド {field}: 連番は必須・計算・条件を持たない(作成のときに振る)";
@@ -164,18 +189,39 @@ export declare const MODEL_PROBLEM_MESSAGES: {
164
189
  readonly transition_from_empty: "コレクション {collection} のフィールド {field} の遷移 {index, number}: 移る前の値がない";
165
190
  readonly transition_from_not_option: "コレクション {collection} のフィールド {field} の遷移 {index, number}: 移る前の値 {value} が選択肢にない";
166
191
  readonly transition_no_actor: "コレクション {collection} のフィールド {field} の遷移 {index, number}: 移せる者がない";
167
- readonly self_ops_private_only: "コレクション {collection} の人の操作 selfOps は非公開のコレクションだけ(人が書いた値と本人の値を配信に出さない)";
168
- readonly self_ops_list_only: "コレクション {collection} の人の操作 selfOps は一覧のコレクションだけ(オブジェクト形式のコレクションはレコードが1つ)";
169
- readonly self_ops_unpublished: "コレクション {collection} の人の操作 selfOps のコレクションは公開の管理と公開のフィールド published を持たない(本人のレコードは公開の状態によらず本人に見せる)";
170
- readonly self_ops_one_self: "コレクション {collection} の人の操作 selfOps は本人の顧客フィールドがちょうど1つのコレクションだけ";
171
- readonly self_ops_on_delete: "コレクション {collection} の人の操作 selfOps のコレクションの本人の顧客フィールド {field} は onDelete を cascade か anonymize にする(人の削除で本人のレコードを残さない)";
172
- readonly self_ops_unique: "コレクション {collection} の人の操作 selfOps のコレクションの一意の組 {key} は本人の顧客フィールド {field} を含む(ほかの人の値とぶつけない)";
173
- readonly self_writable_nested: "コレクション {collection} のフィールド {field}: 本人が書ける印 selfWritable はまとまりの中に付けない";
174
- readonly self_writable_blocked: "コレクション {collection} のフィールド {field}: {block, select, customer {顧客フィールド} group {まとまり} media {メディアのフィールド} rich_text {本文のフィールド} staff {スタッフのフィールド} admin_only {管理者だけのフィールド} computed {計算のフィールド} other {連番のフィールド}}に本人が書ける印 selfWritable は付けられない";
175
- readonly self_writable_without_ops: "コレクション {collection} のフィールド {field}: 本人が書ける印 selfWritable は人の操作 create_self か update_self を受けるコレクションだけ";
192
+ readonly form_private_list_only: "コレクション {collection}: フォームは非公開の一覧のコレクションだけ(送信の内容を配信しない)";
193
+ readonly form_with_self_ops: "コレクション {collection}: フォームと人の操作 self_ops は同時に宣言できない";
194
+ readonly form_delivered_field: "コレクション {collection} のフィールド {field}: フォームのコレクションに配信する見える範囲(public・entitled)を付けられない";
195
+ readonly form_one_end_user: "コレクション {collection}: 送信者が end_user のフォームには、エンドユーザーへの参照のフィールドがちょうど1つ要る";
196
+ readonly form_required_missing: "コレクション {collection} のフィールド {field}: 保存で必須のフィールドがフォームにない";
197
+ readonly form_field_unsupported: "コレクション {collection} のフォームのフィールド {field}: 送信者が書けるのは、最上位の1つの値のテキスト・連絡先・選択肢だけ(条件つき・管理者だけ・仕組みが決める値を除く)";
198
+ readonly form_field_duplicate: "コレクション {collection} のフォームのフィールド {field} が重複";
199
+ readonly form_required_when: "コレクション {collection} のフォームのフィールド {field}: required_when は、フォームのほかの選択肢のフィールドとその値を指す";
200
+ readonly form_hosts: "コレクション {collection} のフォームのフィールド {field}: hosts は URL のフィールドだけで、小文字のホスト名か site を挙げる";
201
+ readonly form_handled_field: "コレクション {collection} の対応の状態 {field}: 1つの値の選択肢のフィールドを指す";
202
+ readonly form_handled_done: "コレクション {collection} の対応の状態 {field}: 対応済みの値は選択肢の値で、初期値を含めない";
203
+ readonly form_handled_at_missing: "コレクション {collection} の対応の状態 {field}: 対応日時のフィールド(managed が form_handled_at)が要る";
204
+ readonly form_handled_writable: "コレクション {collection} の対応の状態 {field}: 送信者が書けるフィールドにしない";
205
+ readonly form_managed_nested: "コレクション {collection} のフィールド {field}: 印 managed はまとまりの中に付けない";
206
+ readonly form_managed_shape: "コレクション {collection} のフィールド {field}: 印 {managed} は種類 {type} の、必須でも条件つきでもない1つの値のフィールドだけ";
207
+ readonly form_managed_undeclared: "コレクション {collection} のフィールド {field}: 印 {managed} に対応するフォームの宣言がない";
208
+ readonly form_managed_duplicate: "コレクション {collection} のフィールド {field}: 印 {managed} は1つだけ";
209
+ readonly self_ops_private_only: "コレクション {collection} の人の操作 self_ops は非公開のコレクションだけ(人が書いた値と本人の値を配信に出さない)";
210
+ readonly self_ops_list_only: "コレクション {collection} の人の操作 self_ops は一覧のコレクションだけ(オブジェクト形式のコレクションはレコードが1つ)";
211
+ readonly self_ops_unpublished: "コレクション {collection} の人の操作 self_ops のコレクションは公開の管理と公開のフィールド published を持たない(本人のレコードは公開の状態によらず本人に見せる)";
212
+ readonly self_ops_one_self: "コレクション {collection} の人の操作 self_ops は本人のエンドユーザーへの参照のフィールドがちょうど1つのコレクションだけ";
213
+ readonly self_ops_on_delete: "コレクション {collection} の人の操作 self_ops のコレクションの本人のエンドユーザーへの参照のフィールド {field} は on_delete を cascade か anonymize にする(人の削除で本人のレコードを残さない)";
214
+ readonly self_ops_unique: "コレクション {collection} の人の操作 self_ops のコレクションの一意の組 {key} は本人のエンドユーザーへの参照のフィールド {field} を含む(ほかの人の値とぶつけない)";
215
+ readonly self_writable_nested: "コレクション {collection} のフィールド {field}: 本人が書ける印 self_writable はまとまりの中に付けない";
216
+ readonly self_writable_blocked: "コレクション {collection} のフィールド {field}: {block, select, end_user {エンドユーザーへの参照のフィールド} object {まとまり} file {ファイルのフィールド} rich_text {本文のフィールド} staff {スタッフのフィールド} admin_only {管理者だけのフィールド} computed {計算のフィールド} other {連番のフィールド}}に本人が書ける印 self_writable は付けられない";
217
+ readonly self_writable_without_ops: "コレクション {collection} のフィールド {field}: 本人が書ける印 self_writable は人の操作 create_self か update_self を受けるコレクションだけ";
176
218
  };
177
- /** 製品で固定のフィールドとコレクションの表示名(media.ts のメディアのコレクション、legacy.ts の旧い形から作るフィールド) */
219
+ /** 製品で固定のフィールドとコレクションの表示名(filesCollection.ts の files のコレクション) */
178
220
  export declare const PRODUCT_FIELD_LABELS: {
221
+ readonly files: "ファイル";
222
+ readonly filesDescription: "見せたい点(hotspot)と切り抜き(crop)を画像ごとに1つ保持、切り抜く場所すべてで共通";
223
+ readonly kind: "種類";
224
+ readonly other: "その他";
179
225
  readonly mimeType: "形式";
180
226
  readonly mimeTypeDescription: "MIME タイプ";
181
227
  readonly size: "サイズ";
@@ -185,7 +231,6 @@ export declare const PRODUCT_FIELD_LABELS: {
185
231
  readonly alt: "代替テキスト";
186
232
  readonly altDescription: "使用する側の既定の値、使用する場所ごとに上書き可";
187
233
  readonly image: "画像";
188
- readonly imageDescription: "見せたい点(hotspot)と切り抜き(crop)を画像ごとに1つ保持、切り抜く場所すべてで共通";
189
234
  readonly video: "動画";
190
235
  readonly duration: "長さ";
191
236
  readonly durationDescription: "秒";