@tunasand/sdk 0.8.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.
- package/CHANGELOG.md +121 -0
- package/README.md +162 -143
- package/dist/analytics.js +76 -65
- package/dist/app.js +184 -163
- package/dist/apps-DIxAWBSZ.js +318 -0
- package/dist/astro-image.d.ts +1 -0
- package/dist/astro-image.js +33 -0
- package/dist/astro-server-Bwau8F6d.js +99 -0
- package/dist/astro-server.d.ts +1 -0
- package/dist/astro-server.js +1 -0
- package/dist/astro.d.ts +1 -0
- package/dist/astro.js +306 -0
- package/dist/bridge-Dv4NxGZ7.js +81 -0
- package/dist/bridge.js +1 -13
- package/dist/build-file-DNi0PHC5.js +31 -0
- package/dist/cli.js +6212 -8
- package/dist/{client-Derrexwr.js → client-C8STAw9T.js} +43 -24
- package/dist/code-N8pBUDbq.js +30 -0
- package/dist/code.d.ts +1 -0
- package/dist/code.js +1 -0
- package/dist/collection-nUz1RetA.js +264 -0
- package/dist/{declared-DuNMsdXw.js → declared-CE4a61qb.js} +35 -35
- package/dist/delivery.js +121 -114
- package/dist/dev-operations-Tutwi1On.js +46 -0
- package/dist/dev.js +9 -16
- package/dist/embeds-B-Dbn64k.js +29 -0
- package/dist/end-users.d.ts +1 -0
- package/dist/end-users.js +185 -0
- package/dist/endUsers-DODfjnv1.js +77 -0
- package/dist/{errorLabels-BgtQ_zUn.js → errorLabels-aT2bnMsO.js} +355 -235
- package/dist/i18n.js +4 -4
- package/dist/ids-DmtIoqBX.js +109 -0
- package/dist/integrations.js +95 -24
- package/dist/{ja-Du6ooL6i.js → ja-CrY_72Tn.js} +88 -44
- package/dist/{ja-CeHU0EaY.js → ja-axQPxMJ-.js} +3 -3
- package/dist/operations-CIB99rIY.js +95 -0
- package/dist/operations.d.ts +1 -0
- package/dist/operations.js +1 -0
- package/dist/{page-Bzrj24sJ.js → page-yo1cw1kW.js} +1 -1
- package/dist/preview.js +8 -1
- package/dist/{profile-1em_lcxq.js → profile-DBsXLvvI.js} +48 -48
- package/dist/rich-text.js +16 -16
- package/dist/{schema-WnobuwLg.js → schema-Dcg1ajnW.js} +496 -263
- package/dist/schema.js +66 -88
- package/dist/types/access/src/handoff.d.ts +19 -14
- package/dist/types/access/src/index.d.ts +2 -2
- package/dist/types/access/src/jws.d.ts +41 -0
- package/dist/types/access/src/oidc.d.ts +10 -2
- package/dist/types/access/src/signed.d.ts +0 -2
- package/dist/types/adapter-cloudflare/src/eventLog/viewSchema.d.ts +11 -0
- package/dist/types/contract/src/accountProfile.d.ts +7 -0
- package/dist/types/contract/src/apiKeys.d.ts +6 -2
- package/dist/types/contract/src/app.d.ts +15 -5
- package/dist/types/contract/src/appChannels.d.ts +114 -0
- package/dist/types/contract/src/appDefinition.d.ts +11 -5
- package/dist/types/contract/src/appDependencies.d.ts +87 -24
- package/dist/types/contract/src/appIdentities.d.ts +21 -0
- package/dist/types/contract/src/appInbound.d.ts +28 -0
- package/dist/types/contract/src/appMail.d.ts +106 -0
- package/dist/types/contract/src/appSecrets.d.ts +45 -0
- package/dist/types/contract/src/appServer.d.ts +408 -43
- package/dist/types/contract/src/approvals.d.ts +1 -1
- package/dist/types/contract/src/apps.d.ts +112 -55
- package/dist/types/contract/src/auditActions.d.ts +2 -2
- package/dist/types/contract/src/auditLabels.d.ts +111 -15
- package/dist/types/contract/src/authorize.d.ts +42 -14
- package/dist/types/contract/src/bridge.d.ts +34 -35
- package/dist/types/contract/src/consents.d.ts +32 -25
- package/dist/types/contract/src/deletion.d.ts +18 -0
- package/dist/types/contract/src/embeds.d.ts +16 -82
- package/dist/types/contract/src/{customerLabels.d.ts → endUserLabels.d.ts} +6 -9
- package/dist/types/contract/src/endUsers.d.ts +241 -0
- package/dist/types/contract/src/errorLabels.d.ts +63 -36
- package/dist/types/contract/src/errorLabelsEn.d.ts +46 -32
- package/dist/types/contract/src/errors.d.ts +28 -16
- package/dist/types/contract/src/eventSchemas.d.ts +70 -0
- package/dist/types/contract/src/eventTraces.d.ts +43 -0
- package/dist/types/contract/src/failureStatus.d.ts +14 -22
- package/dist/types/contract/src/fieldAccess.d.ts +8 -8
- package/dist/types/contract/src/formLabels.d.ts +3 -0
- package/dist/types/contract/src/forms.d.ts +4 -0
- package/dist/types/contract/src/grants.d.ts +26 -0
- package/dist/types/contract/src/headers.d.ts +5 -0
- package/dist/types/contract/src/hostingRpc.d.ts +23 -17
- package/dist/types/contract/src/identifiers.d.ts +45 -17
- package/dist/types/contract/src/ids.d.ts +18 -10
- package/dist/types/contract/src/import.d.ts +17 -16
- package/dist/types/contract/src/index.d.ts +52 -27
- package/dist/types/contract/src/integrationGraph.d.ts +83 -0
- package/dist/types/contract/src/issueLabels.d.ts +113 -81
- package/dist/types/contract/src/issueLabelsEn.d.ts +57 -41
- package/dist/types/contract/src/manage.d.ts +11 -7
- package/dist/types/contract/src/manageLabels.d.ts +2 -0
- package/dist/types/contract/src/manifestText.d.ts +66 -0
- package/dist/types/contract/src/messagePort.d.ts +208 -0
- package/dist/types/contract/src/migration.d.ts +2 -2
- package/dist/types/contract/src/notices.d.ts +38 -0
- package/dist/types/contract/src/operatorOperations.d.ts +0 -63
- package/dist/types/contract/src/outbound.d.ts +29 -0
- package/dist/types/contract/src/paths.d.ts +13 -0
- package/dist/types/contract/src/pending.d.ts +2 -0
- package/dist/types/contract/src/permissions.d.ts +7 -11
- package/dist/types/contract/src/perspective.d.ts +26 -0
- package/dist/types/contract/src/powers.d.ts +5 -0
- package/dist/types/contract/src/principal.d.ts +127 -56
- package/dist/types/contract/src/recordLabels.d.ts +6 -0
- package/dist/types/contract/src/roles.d.ts +7 -4
- package/dist/types/contract/src/ruleLabels.d.ts +16 -0
- package/dist/types/contract/src/ruleProblems.d.ts +16 -0
- package/dist/types/contract/src/schemaLabels.d.ts +8 -0
- package/dist/types/contract/src/settingProblems.d.ts +1 -1
- package/dist/types/contract/src/settings.d.ts +5 -7
- package/dist/types/contract/src/siteDeclaration.d.ts +7 -7
- package/dist/types/contract/src/siteIndex.d.ts +76 -0
- package/dist/types/contract/src/transfer.d.ts +1 -1
- package/dist/types/contract/src/trial.d.ts +4 -1
- package/dist/types/contract/src/versions.d.ts +1 -3
- package/dist/types/contract/src/viewEvent.d.ts +0 -9
- package/dist/types/contract/src/webhooks.d.ts +24 -3
- package/dist/types/contract/src/workflow.d.ts +13 -19
- package/dist/types/contract/src/workspaceItems.d.ts +20 -6
- package/dist/types/rich-text/src/html.d.ts +1 -1
- package/dist/types/rich-text/src/index.d.ts +8 -7
- package/dist/types/rich-text/src/labels/en.d.ts +1 -1
- package/dist/types/rich-text/src/labels/ja.d.ts +2 -2
- package/dist/types/rich-text/src/library.d.ts +1 -1
- package/dist/types/rich-text/src/media.d.ts +2 -0
- package/dist/types/rich-text/src/normalize.d.ts +1 -1
- package/dist/types/rich-text/src/problems.d.ts +5 -5
- package/dist/types/rich-text/src/profile.d.ts +10 -10
- package/dist/types/rich-text/src/render.d.ts +1 -1
- package/dist/types/rich-text/src/schema.d.ts +2 -2
- package/dist/types/rich-text/src/standard.d.ts +4 -4
- package/dist/types/rich-text/src/types.d.ts +2 -2
- package/dist/types/schema/src/audience.d.ts +1 -3
- package/dist/types/schema/src/capabilities.d.ts +18 -27
- package/dist/types/schema/src/changes.d.ts +3 -1
- package/dist/types/schema/src/collection.d.ts +138 -111
- package/dist/types/schema/src/defaultSchema.d.ts +8 -2
- package/dist/types/schema/src/fieldIds.d.ts +18 -0
- package/dist/types/schema/src/file.d.ts +22 -11
- package/dist/types/schema/src/fileRefs.d.ts +14 -0
- package/dist/types/schema/src/fileSignature.d.ts +20 -0
- package/dist/types/schema/src/filesCollection.d.ts +7 -0
- package/dist/types/schema/src/forms.d.ts +43 -0
- package/dist/types/schema/src/imageMetadata.d.ts +9 -0
- package/dist/types/schema/src/index.d.ts +18 -10
- package/dist/types/schema/src/input.d.ts +1 -1
- package/dist/types/schema/src/integrity.d.ts +8 -7
- package/dist/types/schema/src/kinds.d.ts +26 -0
- package/dist/types/schema/src/labels/en.d.ts +87 -46
- package/dist/types/schema/src/labels/ja.d.ts +89 -45
- package/dist/types/schema/src/mediaUrl.d.ts +26 -33
- package/dist/types/schema/src/page.d.ts +4 -4
- package/dist/types/schema/src/problems.d.ts +82 -41
- package/dist/types/schema/src/refs.d.ts +0 -9
- package/dist/types/schema/src/schema.d.ts +17 -12
- package/dist/types/schema/src/selfOps.d.ts +20 -19
- package/dist/types/schema/src/traits.d.ts +28 -0
- package/dist/types/schema/src/typesSource.d.ts +1 -1
- package/dist/types/schema/src/values.d.ts +5 -2
- package/dist/types/schema/src/widening.d.ts +3 -0
- package/dist/types/sdk/src/analytics.d.ts +2 -1
- package/dist/types/sdk/src/app.d.ts +40 -14
- package/dist/types/sdk/src/astro-image.d.ts +19 -0
- package/dist/types/sdk/src/astro-response.d.ts +6 -0
- package/dist/types/sdk/src/astro-server.d.ts +16 -0
- package/dist/types/sdk/src/astro.d.ts +19 -0
- package/dist/types/sdk/src/bridge.d.ts +2 -4
- package/dist/types/sdk/src/code.d.ts +61 -0
- package/dist/types/sdk/src/delegation.d.ts +13 -3
- package/dist/types/sdk/src/delivery/changes.d.ts +4 -4
- package/dist/types/sdk/src/delivery/client.d.ts +33 -22
- package/dist/types/sdk/src/delivery/fields.d.ts +3 -3
- package/dist/types/sdk/src/delivery/index.d.ts +3 -3
- package/dist/types/sdk/src/delivery/media.d.ts +5 -8
- package/dist/types/sdk/src/delivery/query.d.ts +15 -11
- package/dist/types/sdk/src/delivery/schema.d.ts +1 -1
- package/dist/types/sdk/src/delivery/values.d.ts +10 -14
- package/dist/types/sdk/src/delivery.d.ts +2 -2
- package/dist/types/sdk/src/dev-operations.d.ts +20 -0
- package/dist/types/sdk/src/dev.d.ts +6 -5
- package/dist/types/sdk/src/end-users.d.ts +190 -0
- package/dist/types/sdk/src/i18n.d.ts +2 -2
- package/dist/types/sdk/src/integrations.d.ts +14 -21
- package/dist/types/sdk/src/operations.d.ts +17 -0
- package/dist/types/sdk/src/preview.d.ts +2 -1
- package/dist/types/sdk/src/rich-text.d.ts +2 -2
- package/dist/types/sdk/src/schema.d.ts +1 -1
- package/dist/types/sdk/src/site/artifact.d.ts +64 -0
- package/dist/types/sdk/src/site/build-file.d.ts +30 -0
- package/dist/types/sdk/src/site/check-code.d.ts +14 -0
- package/dist/types/sdk/src/site/check-text.d.ts +19 -0
- package/dist/types/sdk/src/site/cli.d.ts +52 -0
- package/dist/types/sdk/src/site/content-type.d.ts +2 -0
- package/dist/types/sdk/src/site/labels.d.ts +14 -0
- package/dist/types/sdk/src/types.d.ts +1 -1
- package/dist/{types-B77qvqPJ.js → types-DkO2N7u2.js} +5 -6
- package/dist/types.js +1 -1
- package/dist/{typesSource-CWybQYus.js → typesSource-VJIxtN9b.js} +17 -15
- package/dist/workflow-CUpl6hO_.js +148 -0
- package/package.json +32 -6
- package/dist/apps-BxnJ1RlU.js +0 -435
- package/dist/bridge-DtHw9hS6.js +0 -74
- package/dist/collection-BEOxeISR.js +0 -189
- package/dist/customers-DTbL0qn6.js +0 -86
- package/dist/customers.d.ts +0 -1
- package/dist/customers.js +0 -185
- package/dist/embeds-B5V54Zur.js +0 -34
- package/dist/ids--RF7hGyC.js +0 -36
- package/dist/src-sazhzYui.js +0 -71
- package/dist/types/contract/src/customers.d.ts +0 -266
- package/dist/types/schema/src/legacy.d.ts +0 -2
- package/dist/types/schema/src/media.d.ts +0 -5
- package/dist/types/sdk/src/customers.d.ts +0 -184
|
@@ -1,92 +1,126 @@
|
|
|
1
|
-
import { c as formatMessage, f as problemText,
|
|
2
|
-
import { n as SCHEMA_PROBLEM_MESSAGES } from "./ja-
|
|
1
|
+
import { c as formatMessage, f as problemText, p as problemTextFactory, r as RICH_TEXT_PROBLEM_MESSAGES, u as problemMessage } from "./ja-axQPxMJ-.js";
|
|
2
|
+
import { n as SCHEMA_PROBLEM_MESSAGES } from "./ja-CrY_72Tn.js";
|
|
3
3
|
// ../schema/src/labels/en.ts
|
|
4
4
|
/** コンテンツスキーマの検査の問題の英語の文 */
|
|
5
5
|
const SCHEMA_PROBLEM_MESSAGES_EN = {
|
|
6
6
|
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)",
|
|
7
7
|
invalid_collection_id: "id must start with a lowercase letter and contain only lowercase letters, digits and underscores",
|
|
8
8
|
invalid_field_key: "key must start with a lowercase letter and contain only letters, digits, underscores and hyphens",
|
|
9
|
+
field_id_invalid: "internal field id must be a lowercase UUID v7",
|
|
10
|
+
field_id_duplicate: "internal field id is duplicated within the collection",
|
|
9
11
|
page_path_slash: "The page template must start with /",
|
|
10
12
|
og_path_slash: "The OG image template must start with /",
|
|
11
13
|
invalid_pattern: "The pattern is not a valid regular expression",
|
|
12
14
|
initial_not_option: "The initial value is not one of the options",
|
|
13
15
|
derive_not_option: "The derived value is not one of the options",
|
|
14
16
|
fixed_not_option: "The fixed value is not one of the options",
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
end_user_restrict: "End user fields cannot use restrict (it would block deletion requests from people)",
|
|
18
|
+
requests_single: "Requests can only be enabled on multiple reference fields",
|
|
19
|
+
grant_renamed: "The required entitlement of a collection was renamed to entitlement (grant is no longer accepted)",
|
|
20
|
+
publishing_renamed: "The old name publishing is not accepted (use publication; review is the content setting reviewCollections)",
|
|
17
21
|
duplicate_field_key: "Duplicate field key",
|
|
18
22
|
condition_invalid: "The field condition does not point to an option field and value at the same level",
|
|
19
23
|
page_condition_invalid: "The page condition does not point to an option field and value of the collection",
|
|
20
24
|
duplicate_collection_id: "Duplicate collection id",
|
|
25
|
+
collection_id_invalid: "Collection id must be a lowercase UUID",
|
|
26
|
+
reference_to_files: "Collection {collection}: a reference cannot point to the files collection (use a file field with accept)",
|
|
21
27
|
duplicate_collection_slug: "Duplicate collection slug",
|
|
22
28
|
reserved_key: "Collection {collection}: key {key} is the same as a system value (use another key)",
|
|
23
29
|
reserved_query_key: "Collection {collection}: key {key} is reserved for Delivery API filters (use another key)",
|
|
24
|
-
nested_rule: "Collection {collection}, field {field}: fields inside a group cannot have derive or
|
|
30
|
+
nested_rule: "Collection {collection}, field {field}: fields inside a group cannot have derive or fixed_by",
|
|
25
31
|
computed_nested: "Collection {collection}, field {field}: fields inside a group cannot be computed",
|
|
26
32
|
computed_from_not_body: "Collection {collection}, field {field}: the computed source {from} is not a body field of the same collection",
|
|
27
33
|
computed_type_mismatch: "Collection {collection}, field {field}: field type {type} does not match computed kind {kind}",
|
|
28
34
|
role_field_not_top: "Collection {collection}, role {role}: field {field} is not at the top level",
|
|
29
35
|
role_field_mismatch: "Collection {collection}, role {role}: field {field} ({type}) does not fit the role",
|
|
30
|
-
audience_nested_wider: "Collection {collection}, field {field}: the audience inside a group must be the same as the outer field or
|
|
31
|
-
|
|
32
|
-
audience_self_without_marker: "Collection {collection}: fields with the self audience need
|
|
33
|
-
|
|
36
|
+
audience_nested_wider: "Collection {collection}, field {field}: the audience inside a group must be the same as the outer field or none",
|
|
37
|
+
audience_end_user_field: "Collection {collection}, field {field}: the audience of an end user field must be self or none",
|
|
38
|
+
audience_self_without_marker: "Collection {collection}: fields with the self audience need an end user field marked self",
|
|
39
|
+
entitlement_not_reference: "Collection {collection}, required entitlement {entitlement}: not a top-level public access reference field",
|
|
34
40
|
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)",
|
|
35
41
|
template_id_placeholder: "Collection {collection}, template {template}: '{id}' is not allowed (use '{slug}')",
|
|
36
42
|
template_private_placeholder: "Collection {collection}, template {template}, '{'{key}'}': only public fields (the value appears in delivery and page paths)",
|
|
37
|
-
fixed_by_wider: "Collection {collection}, field {field}: the audience cannot be wider than the
|
|
43
|
+
fixed_by_wider: "Collection {collection}, field {field}: the audience cannot be wider than the fixed_by source (the source value would leak)",
|
|
38
44
|
count_reference_private: "Collection {collection}, reference count {key}: reference field {field} of collection {fromCollection} is not public (the count would leak values)",
|
|
39
45
|
count_reference_mismatch: "Collection {collection}, reference count {key}: reference field {field} of collection {fromCollection} does not point to this collection",
|
|
40
46
|
count_key_duplicate: "Collection {collection}: reference count {key} duplicates a field key",
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
anonymize_without_on_delete: "Collection {collection}, field {field}: anonymize fields require onDelete anonymize",
|
|
47
|
+
end_user_field_nested: "Collection {collection}, field {field}: end user fields cannot be inside a group",
|
|
48
|
+
on_delete_required: "Collection {collection}, field {field}: required fields cannot use on_delete {on_delete}",
|
|
49
|
+
on_delete_min_items: "Collection {collection}, field {field}: references with a minimum count cannot use on_delete {on_delete}",
|
|
50
|
+
anonymize_without_on_delete: "Collection {collection}, field {field}: anonymize fields require on_delete anonymize",
|
|
46
51
|
anonymize_field_missing: "Collection {collection}, field {field}: anonymize field {target} is not at the top level of the same collection",
|
|
47
52
|
anonymize_field_unclearable: "Collection {collection}, field {field}: anonymize field {target} ({type}) cannot be cleared",
|
|
48
53
|
anonymize_field_required: "Collection {collection}, field {field}: anonymize field {target} is required",
|
|
49
|
-
cascade_cycle: "
|
|
50
|
-
cascade_too_deep: "Collection {collection}:
|
|
51
|
-
|
|
54
|
+
cascade_cycle: "on_delete cascade forms a cycle: {cycle}",
|
|
55
|
+
cascade_too_deep: "Collection {collection}: on_delete cascade depth from people {depth, number} exceeds the limit {max, number}",
|
|
56
|
+
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)",
|
|
52
57
|
restrict_reachable: "Collection {collection}, field {field}: cannot restrict collection {to}, which is reachable from people by cascade (it would block deletion requests)",
|
|
53
|
-
on_delete_undeclared_reference: "Collection {collection}, field {field}: references to collection {to}, which is reachable from people by cascade, must declare
|
|
58
|
+
on_delete_undeclared_reference: "Collection {collection}, field {field}: references to collection {to}, which is reachable from people by cascade, must declare on_delete",
|
|
59
|
+
capability_required: "Collection {collection}: {declaration} needs the {capability} capability",
|
|
54
60
|
private_object: "Collection {collection} is private: it cannot use the object format",
|
|
55
|
-
|
|
61
|
+
private_publication: "Collection {collection} is private: turn off publishing",
|
|
56
62
|
private_pages: "Collection {collection} is private: it cannot have pages",
|
|
57
|
-
|
|
63
|
+
private_entitlement: "Collection {collection} is private: it cannot require an entitlement",
|
|
58
64
|
reference_target_missing: "Collection {collection}: reference target {to} is not in the schema",
|
|
59
65
|
component_unknown: "Collection {collection}, body field {field}: component {name} is neither a core component nor declared in components",
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
retention_days_undeclared: "Collection {collection}: collections with
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
end_user_on_delete_undeclared: "Collection {collection}, field {field}: end user fields must declare on_delete (cascade, anonymize or clear)",
|
|
67
|
+
end_user_in_object_collection: "Collection {collection}, field {field}: object collections cannot have end user fields (version history cannot be handled by deletion requests)",
|
|
68
|
+
retention_days_undeclared: "Collection {collection}: collections with self_ops must declare retention_days",
|
|
69
|
+
kind_declaration_invalid: "Collection {collection}: {kind} collections cannot declare {declaration}",
|
|
70
|
+
kind_declaration_required: "Collection {collection}: {kind} collections must declare {declaration}",
|
|
71
|
+
kind_field_missing: "Collection {collection}: field {field} in {declaration} does not exist",
|
|
72
|
+
kind_time_invalid: "Collection {collection}: time field {field} must be a date or datetime field",
|
|
73
|
+
kind_subject_invalid: "Collection {collection}: subject field {field} must be an end user field",
|
|
74
|
+
aggregate_dimensions_too_many: "Collection {collection}: aggregates can have up to {max} dimensions",
|
|
75
|
+
aggregate_dimension_person: "Collection {collection}: field {field} points to a person and cannot be an aggregate dimension",
|
|
76
|
+
aggregate_bucket_pair: "Collection {collection}: declare both time and bucket for an aggregate, or neither",
|
|
77
|
+
aggregate_measure_invalid: "Collection {collection}: measure field {field} must be a number field",
|
|
78
|
+
aggregate_field_undeclared: "Collection {collection}: aggregate field {field} must be the time, a dimension or a measure",
|
|
79
|
+
collection_kind_unavailable: "Collection {collection}: this {kind} declaration cannot be created yet",
|
|
80
|
+
audience_invalid: "Collection {collection}, field {field}: invalid audience (public, entitled, self or none)",
|
|
81
|
+
audience_undeclared: "Collection {collection}, field {field}: declare audience for added or changed fields (public, entitled, self or none)",
|
|
82
|
+
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)",
|
|
66
83
|
unique_list_only: "Collection {collection}: unique constraints are only for list collections",
|
|
67
|
-
unique_name_duplicate: "Collection {collection}: duplicate unique constraint name {key} (unique
|
|
84
|
+
unique_name_duplicate: "Collection {collection}: duplicate unique constraint name {key} (unique end user fields and sequences are named by the field key)",
|
|
68
85
|
unique_field_count: "Collection {collection}, unique constraint {key}: 1 to {max, number} fields",
|
|
69
86
|
unique_field_duplicate: "Collection {collection}, unique constraint {key}: duplicate field",
|
|
70
87
|
unique_field_not_top: "Collection {collection}, unique constraint {key}: field {field} is not at the top level",
|
|
71
|
-
unique_field_unsupported: "Collection {collection}, unique constraint {key}: field {field} ({type}) cannot be unique (single text, number, option, reference, date and
|
|
88
|
+
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)",
|
|
72
89
|
sequence_nested: "Collection {collection}, field {field}: sequences cannot be inside a group",
|
|
73
90
|
sequence_list_only: "Collection {collection}, field {field}: sequences are only for list collections",
|
|
74
91
|
sequence_plain: "Collection {collection}, field {field}: sequences cannot be required, computed or conditional (assigned on creation)",
|
|
75
92
|
transition_nested: "Collection {collection}, field {field}: transitions cannot be inside a group",
|
|
76
|
-
transition_field_kind: "Collection {collection}, field {field}: transitions are only for single option fields without derive or
|
|
93
|
+
transition_field_kind: "Collection {collection}, field {field}: transitions are only for single option fields without derive or fixed_by",
|
|
77
94
|
transition_to_not_option: "Collection {collection}, field {field}, transition {index, number}: target {to} is not one of the options",
|
|
78
95
|
transition_from_empty: "Collection {collection}, field {field}, transition {index, number}: no source values",
|
|
79
96
|
transition_from_not_option: "Collection {collection}, field {field}, transition {index, number}: source value {value} is not one of the options",
|
|
80
97
|
transition_no_actor: "Collection {collection}, field {field}, transition {index, number}: no one can make the transition",
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
98
|
+
form_private_list_only: "Collection {collection}: forms are only for private list collections (submissions are not delivered)",
|
|
99
|
+
form_with_self_ops: "Collection {collection}: a form and self_ops cannot be declared together",
|
|
100
|
+
form_delivered_field: "Collection {collection}, field {field}: a form collection cannot have delivered audiences (public, entitled)",
|
|
101
|
+
form_one_end_user: "Collection {collection}: a form submitted by end_user requires exactly one end user field",
|
|
102
|
+
form_required_missing: "Collection {collection}, field {field}: a field required on save is missing from the form",
|
|
103
|
+
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)",
|
|
104
|
+
form_field_duplicate: "Collection {collection}, form field {field}: duplicate",
|
|
105
|
+
form_required_when: "Collection {collection}, form field {field}: required_when must point to another select field of the form and its options",
|
|
106
|
+
form_hosts: "Collection {collection}, form field {field}: hosts are only for URL fields and need lowercase host names or site",
|
|
107
|
+
form_handled_field: "Collection {collection}, handled field {field}: must be a single-value select field",
|
|
108
|
+
form_handled_done: "Collection {collection}, handled field {field}: done values must be options other than the initial value",
|
|
109
|
+
form_handled_at_missing: "Collection {collection}, handled field {field}: a datetime field managed by form_handled_at is required",
|
|
110
|
+
form_handled_writable: "Collection {collection}, handled field {field}: submitters cannot write it",
|
|
111
|
+
form_managed_nested: "Collection {collection}, field {field}: managed cannot be inside a group",
|
|
112
|
+
form_managed_shape: "Collection {collection}, field {field}: {managed} must be a single-value {type} field without required or conditions",
|
|
113
|
+
form_managed_undeclared: "Collection {collection}, field {field}: no form declaration for {managed}",
|
|
114
|
+
form_managed_duplicate: "Collection {collection}, field {field}: only one field can be {managed}",
|
|
115
|
+
self_ops_private_only: "Collection {collection}: self_ops are only for private collections (values written by people and self values are not delivered)",
|
|
116
|
+
self_ops_list_only: "Collection {collection}: self_ops are only for list collections (object collections have a single record)",
|
|
117
|
+
self_ops_unpublished: "Collection {collection}: collections with self_ops cannot have publishing or a published field (self records are shown regardless of publishing)",
|
|
118
|
+
self_ops_one_self: "Collection {collection}: self_ops require exactly one self end user field",
|
|
119
|
+
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)",
|
|
120
|
+
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)",
|
|
121
|
+
self_writable_nested: "Collection {collection}, field {field}: self_writable cannot be set inside a group",
|
|
122
|
+
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}}",
|
|
123
|
+
self_writable_without_ops: "Collection {collection}, field {field}: self_writable requires a collection that accepts create_self or update_self",
|
|
90
124
|
field_key_reused: "Field \"{label}\": key {key} was a {type} field in a past version (values remain in records, use another key)",
|
|
91
125
|
field_removed: "Remove field \"{label}\" (values are kept and hidden)",
|
|
92
126
|
field_added: "Add field \"{label}\"",
|
|
@@ -94,29 +128,38 @@ const SCHEMA_PROBLEM_MESSAGES_EN = {
|
|
|
94
128
|
field_type_changed: "Change the type of field \"{label}\" from {from} to {to} (incompatible, create a new field and move the values)",
|
|
95
129
|
field_required: "Make field \"{label}\" required",
|
|
96
130
|
field_pii_narrowed: "Weaken the personal data class of field \"{label}\" (values remain in environment copies)",
|
|
131
|
+
field_managed_changed: "Change whether field \"{label}\" is managed (affects one submission per person and retention)",
|
|
97
132
|
field_tightened: "Tighten the value rules of field \"{label}\" (values that do not match must be fixed on the next save)",
|
|
98
133
|
option_removed: "Remove option \"{option}\" from field \"{label}\"",
|
|
99
134
|
option_added: "Add option \"{option}\" to field \"{label}\"",
|
|
100
135
|
field_changed: "Change the settings or order of field \"{label}\"",
|
|
136
|
+
field_key_changed: "Change the key of field \"{label}\" from {from} to {to} (the key in delivery responses changes)",
|
|
101
137
|
collection_label_changed: "Change the name or description of collection \"{label}\"",
|
|
102
138
|
collection_format_changed: "Change the format of collection \"{label}\" (create a new collection and move the records)",
|
|
103
|
-
|
|
104
|
-
|
|
139
|
+
collection_kind_changed: "Change the kind of collection \"{label}\" (create a new collection and move the records)",
|
|
140
|
+
collection_kind_declaration_changed: "Change the timeseries or aggregate declaration of collection \"{label}\"",
|
|
141
|
+
collection_publication_removed: "Turn off publishing for collection \"{label}\" (draft records also become public)",
|
|
142
|
+
collection_publication_added: "Turn on publishing for collection \"{label}\"",
|
|
105
143
|
collection_slug_mode: "Record slugs in collection \"{label}\" become {mode, select, editor {chosen by editors} other {automatic}}",
|
|
106
|
-
collection_slug_changed: "Change the slug of collection \"{label}\" from {from} to {to} (the delivery path becomes /
|
|
144
|
+
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)",
|
|
107
145
|
collection_roles_changed: "Change the field roles of collection \"{label}\"",
|
|
108
146
|
collection_private_changed: "Make collection \"{label}\" {private, select, yes {private} other {delivered}}",
|
|
109
147
|
collection_unlinked: "Collection \"{label}\" is no longer linked to people (records remain when excluded from environment copies)",
|
|
110
|
-
|
|
148
|
+
collection_entitlement_changed: "Change the required entitlement field of collection \"{label}\"",
|
|
111
149
|
collection_unique_added: "Add or change unique constraints of collection \"{label}\" (cannot save while duplicates remain)",
|
|
112
150
|
collection_unique_removed: "Remove unique constraints of collection \"{label}\"",
|
|
113
151
|
collection_pages_changed: "Change the page templates of collection \"{label}\"",
|
|
114
152
|
collection_counts_changed: "Change the reference counts of collection \"{label}\"",
|
|
115
153
|
collection_og_changed: "Change the OG image template of collection \"{label}\"",
|
|
116
|
-
collection_self_ops_added: "Add
|
|
117
|
-
collection_self_ops_removed: "Remove
|
|
154
|
+
collection_self_ops_added: "Add self_ops to collection \"{label}\" (consented installations can read and write on behalf of the end user)",
|
|
155
|
+
collection_self_ops_removed: "Remove self_ops from collection \"{label}\"",
|
|
156
|
+
collection_form_opened: "Add or widen the form of collection \"{label}\" (API keys with the submit permission can write)",
|
|
157
|
+
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)",
|
|
158
|
+
collection_form_changed: "Change the form of collection \"{label}\"",
|
|
118
159
|
collection_retention_shortened: "Set the retention of collection \"{label}\" to {days, number} days (expired records are deleted by the daily cleanup)",
|
|
119
160
|
collection_retention_changed: "Change the retention of collection \"{label}\"",
|
|
161
|
+
collection_trash_enabled: "Turn on the trash of collection \"{label}\"",
|
|
162
|
+
collection_trash_disabled: "Turn off the trash of collection \"{label}\"",
|
|
120
163
|
collection_publish_checks_changed: "Change the publish checks of collection \"{label}\"",
|
|
121
164
|
file_fixed: "The fields, format and publishing of collection \"{label}\" are fixed by the product (name and description can be changed)",
|
|
122
165
|
file_not_removable: "Collection \"{label}\" is fixed by the product and cannot be deleted",
|
|
@@ -124,7 +167,7 @@ const SCHEMA_PROBLEM_MESSAGES_EN = {
|
|
|
124
167
|
file_defined: "The fields and format of collection \"{label}\" are defined by the product",
|
|
125
168
|
collection_added: "Add collection \"{label}\"",
|
|
126
169
|
confidential_key_reused: "The key of field {field} was a confidential field ({type}) (values remain in records, use another key)",
|
|
127
|
-
audience_widened: "Widen the audience of field {field} from {from, select, public {public}
|
|
170
|
+
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)",
|
|
128
171
|
component_removed: "Remove the declaration of body component \"{label}\" (bodies using it are rejected on the next save)",
|
|
129
172
|
component_added: "Declare body component \"{label}\"",
|
|
130
173
|
component_changed: "Change the declaration of body component \"{label}\"",
|
|
@@ -167,16 +210,14 @@ const SCHEMA_PROBLEM_MESSAGES_EN = {
|
|
|
167
210
|
referenced_page_fields: "Publishing creates a page for {target}, so {fields} of {target} are required",
|
|
168
211
|
fixed_value: "For this {target}, set {field} of {collection} to {option}",
|
|
169
212
|
body_field_missing: "Collection {collection} has no body field {field}",
|
|
170
|
-
date_time_invalid: "Invalid date and time format"
|
|
171
|
-
comment_required: "Comment is required",
|
|
172
|
-
reject_note_required: "Reason for returning is required"
|
|
213
|
+
date_time_invalid: "Invalid date and time format"
|
|
173
214
|
};
|
|
174
215
|
// ../rich-text/src/labels/en.ts
|
|
175
216
|
const MARK = "{mark, select, strong {Bold} em {Italic} code {Code} strike {Strikethrough} mark {Highlight} sup {Superscript} sub {Subscript} other {Underline}}";
|
|
176
217
|
const STYLE = "{kind, select, color {Text color} background {Background color} other {Font size}}";
|
|
177
218
|
const WHERE = "{where, select, paragraph {paragraph} heading {heading} list {list} quote {quote} figure {figure} caption {caption} other {cell}}";
|
|
178
219
|
/** 本文の検査の問題の英語の文 */
|
|
179
|
-
const
|
|
220
|
+
const RICH_TEXT_PROBLEM_MESSAGES_EN = {
|
|
180
221
|
inline_component_here: "Inline components cannot be used here",
|
|
181
222
|
inline_component_unavailable: "Inline component {name} cannot be used",
|
|
182
223
|
marks_here: "Marks and links cannot be used here",
|
|
@@ -289,11 +330,14 @@ const ERROR_MESSAGES_EN = {
|
|
|
289
330
|
external_function: "external function",
|
|
290
331
|
external_screen: "external screen",
|
|
291
332
|
api_key: "API key",
|
|
292
|
-
|
|
333
|
+
read_token: "read token",
|
|
334
|
+
mail_domain: "sending domain",
|
|
335
|
+
channel: "channel",
|
|
336
|
+
channel_address: "channel address",
|
|
293
337
|
trash: "trash",
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
338
|
+
end_user: "end user",
|
|
339
|
+
end_user_identity: "end user identity",
|
|
340
|
+
entitlement: "end user entitlement",
|
|
297
341
|
app: "app",
|
|
298
342
|
installation: "installation",
|
|
299
343
|
invitation: "invitation",
|
|
@@ -301,8 +345,8 @@ const ERROR_MESSAGES_EN = {
|
|
|
301
345
|
},
|
|
302
346
|
codes: {
|
|
303
347
|
invalid_input: "The input is invalid.",
|
|
304
|
-
|
|
305
|
-
|
|
348
|
+
uuid_not_accepted: "Specify the 26-character ID of lowercase letters and digits, not a UUID.",
|
|
349
|
+
transition_unmet: "The submission requirements are not met.",
|
|
306
350
|
publish_unmet: "The publishing requirements are not met.",
|
|
307
351
|
save_unmet: "The saving requirements are not met.",
|
|
308
352
|
version_required: "The base version (version) is required.",
|
|
@@ -317,8 +361,8 @@ const ERROR_MESSAGES_EN = {
|
|
|
317
361
|
invalid_mcp_token: "The call from MCP is invalid.",
|
|
318
362
|
mcp_signature_invalid: "Cannot verify the call from the MCP server. Contact the operator.",
|
|
319
363
|
invalid_account_token: "The app account credential token is invalid. Replace it with the token shown on the screen.",
|
|
320
|
-
|
|
321
|
-
|
|
364
|
+
read_token_required: "An API key, read token or perspective ticket that can read unpublished versions is required.",
|
|
365
|
+
invalid_read_token: "The read token or ticket is invalid or expired.",
|
|
322
366
|
api_key_required: "An API key is required (Authorization: Bearer).",
|
|
323
367
|
invalid_api_key: "The API key is invalid.",
|
|
324
368
|
invalid_id_token: "The ID token is invalid. Get a new one and send it again.",
|
|
@@ -331,28 +375,28 @@ const ERROR_MESSAGES_EN = {
|
|
|
331
375
|
operator_read_only: "The operator support access is read-only, so changes are not allowed.",
|
|
332
376
|
not_trial: "This operation is only for projects with the trial flag.",
|
|
333
377
|
not_live: "This operation is only available in the live environment. Use the admin screen of the live environment.",
|
|
334
|
-
operator_closed: "This operation is outside what operator support access allows (accounts, roles, integrations, apps,
|
|
378
|
+
operator_closed: "This operation is outside what operator support access allows (accounts, roles, integrations, apps, end user IDs, permissions and so on).",
|
|
335
379
|
forbidden: "{target, select, none {You do not have permission for this operation.} other {You do not have permission for this operation on {target}.}}",
|
|
336
|
-
|
|
380
|
+
create_requires_publish: "{target, select, none {This} other {The {target}}} can only be created by accounts with publishing permission.",
|
|
337
381
|
no_linked_record: "Accounts without a linked {name} cannot do this.",
|
|
338
382
|
own_only: "You can only operate on your own {target, select, none {items} other {{target}}}.",
|
|
339
383
|
not_visible: "You cannot view unpublished {target, select, none {items} other {{target}}} of other people.",
|
|
340
|
-
|
|
384
|
+
edit_requires_publish: "Editing published records requires publishing permission.",
|
|
341
385
|
cannot_remove_self: "You cannot remove yourself from the link.",
|
|
342
386
|
cannot_change_owner: "The owner cannot be changed.",
|
|
343
387
|
not_found: "{target, select, none {The target} other {The {target}}} was not found.",
|
|
344
388
|
method_not_allowed: "This path does not accept this method.",
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
in_use: "{by, select, uses {Cannot delete because it is used in {count, number} items.} places {Cannot delete because it is used in {count, number} places.} outputs {Cannot delete because it is used by {count, number} planning outputs.} record {Cannot delete because it is used by {name, select, none {other content} other {{name}}}.} writers {Cannot delete because it is linked to {count, number} records.}
|
|
389
|
+
end_user_not_linked: "No end user is linked to this account.",
|
|
390
|
+
end_user_pending: "The link of this account becomes usable after review by the operator.",
|
|
391
|
+
in_use: "{by, select, uses {Cannot delete because it is used in {count, number} items.} places {Cannot delete because it is used in {count, number} places.} outputs {Cannot delete because it is used by {count, number} planning outputs.} record {Cannot delete because it is used by {name, select, none {other content} other {{name}}}.} writers {Cannot delete because it is linked to {count, number} records.} end_users {Cannot delete because {count, number} records belong to it.} accounts {Cannot delete because {count, number} accounts have this role.} app {Cannot delete because it is referenced by {count, number} {name, select, none {extension records} other {{name}}}.} other {Cannot delete because it is in use.}}",
|
|
348
392
|
duplicate_name: "The same name already exists.",
|
|
349
393
|
duplicate_email: "An account with the same email address already exists.",
|
|
350
394
|
duplicate_id: "This ID is already in use.",
|
|
351
395
|
duplicate_slug: "This slug is already in use.",
|
|
352
396
|
version_conflict: "This conflicted with another update. Load the latest version and try again.",
|
|
353
|
-
|
|
397
|
+
record_locked: "{name, select, none {Someone else} other {{name}}} is editing this in the CMS, so it cannot be saved. Saving becomes possible within 2 minutes after the editor is closed or another tab is selected.",
|
|
354
398
|
invalid_state: "This operation is not possible in the current state.",
|
|
355
|
-
|
|
399
|
+
still_published: "Unpublish published records before deleting them.",
|
|
356
400
|
last_admin: "The last administrator cannot be removed or demoted from the administrator role.",
|
|
357
401
|
exceeds_own: "You cannot grant permissions wider than your own role.",
|
|
358
402
|
reauth_required: "Log in again before approving.",
|
|
@@ -360,7 +404,7 @@ const ERROR_MESSAGES_EN = {
|
|
|
360
404
|
stale: "The content changed after the request. Request again.",
|
|
361
405
|
approval_closed: "This request can no longer be approved (applied, rejected, withdrawn or expired).",
|
|
362
406
|
cursor_expired: "The change log retention period has passed. Get all items again without cursor.",
|
|
363
|
-
already_linked: "{reason, select, identity {This account is already linked to another
|
|
407
|
+
already_linked: "{reason, select, identity {This account is already linked to another end user.} record {This account is already linked to a record in this project.} other {This end user is already linked to an account of the same issuer.}}",
|
|
364
408
|
run_done: "This import run is already complete. Start a new run.",
|
|
365
409
|
invalid_invite: "{reason, select, expired {The invitation has expired.} used {The invitation has already been used.} other {The invitation was not found.}}",
|
|
366
410
|
body_too_large: "The request body must be at most {bodyMaxMB, number} MB.",
|
|
@@ -379,51 +423,62 @@ const ERROR_MESSAGES_EN = {
|
|
|
379
423
|
no_draft: "There are no unpublished changes apart from the published version.",
|
|
380
424
|
not_in_review: "Not in review.",
|
|
381
425
|
request_handled: "This request has already been handled.",
|
|
426
|
+
requester_unauthorized: "The requester no longer has permission to request this operation.",
|
|
382
427
|
deleted: "Already deleted.",
|
|
383
428
|
not_deleted: "Cannot restore because it is not deleted.",
|
|
384
429
|
schema_confirm: "This includes changes with impact. Check the counts before saving.",
|
|
385
|
-
|
|
430
|
+
no_publication: "This collection has no workflow.",
|
|
386
431
|
no_review: "The workflow of this collection has no review.",
|
|
387
432
|
not_published: "Not published or scheduled.",
|
|
388
433
|
collection_rows: "Records remain. Check the counts before deleting.",
|
|
389
434
|
restore_conflict: "Cannot restore because {name, select, none {the same content} other {{name}}} already exists.",
|
|
435
|
+
restore_target_trashed: "Cannot restore because {name} is in the trash. Restore the referenced record first.",
|
|
390
436
|
collection_exists: "Cannot restore because a collection with the same id already exists.",
|
|
391
437
|
collection_missing: "Cannot restore because the collection is deleted. Restore the collection first.",
|
|
392
|
-
not_restorable: "Cannot restore because it was deleted by a personal deletion request
|
|
438
|
+
not_restorable: "Cannot restore because it was deleted by a personal deletion request.",
|
|
393
439
|
installation_state: "This operation is not possible in the current installation state.",
|
|
394
440
|
site_deploy: "The site cannot be uploaded now. Another upload is in progress, or the site is stopped or removed.",
|
|
395
|
-
|
|
441
|
+
site_check_failed: "The placement was discarded because the check right after it failed. The published site is unchanged. Upload a fix.",
|
|
442
|
+
deployment_stale: "The active deployment was changed by another operation. Reload and activate again.",
|
|
443
|
+
deployment_not_ready: "This deployment cannot be activated. Its placement failed or no longer exists.",
|
|
444
|
+
deployment_consent: "This deployment cannot be activated because consent for the capabilities it uses is missing.",
|
|
396
445
|
required_app: "Required standard features cannot be stopped or uninstalled.",
|
|
397
446
|
app_installed: "An app can be installed only once per project.",
|
|
398
447
|
app_dependencies: "Cannot satisfy the app dependencies. Check the reasons in conflicts.",
|
|
448
|
+
app_required_by: "Cannot uninstall because other installed apps depend on it: {name}.",
|
|
399
449
|
app_reinstalled: "The data of the old installation cannot be deleted because the same app has been reinstalled.",
|
|
400
450
|
app_managed: "This registration is managed by an app installation. Change it by consenting to a new app version.",
|
|
401
451
|
request_key_reused: "A record with another person, channel or purpose already exists for the same deduplication key.",
|
|
402
452
|
no_organization: "Cannot invite because the project does not belong to an organization. Ask the operator to add it to an organization.",
|
|
403
453
|
schema_changed: "Could not save because the schema changed. Reload the screen.",
|
|
404
|
-
|
|
454
|
+
end_user_inactive: "This end user is suspended or closed, so the operation is not possible.",
|
|
405
455
|
self_limit: "The limit of records per person has been reached.",
|
|
406
456
|
already_live: "This environment is already live.",
|
|
407
457
|
target_live: "The live environment cannot be deleted. Switch to another environment first.",
|
|
408
458
|
target_synthetic: "An environment with synthetic data cannot become live.",
|
|
459
|
+
target_anonymized: "A copy with personal information replaced or excluded cannot become live. Ask the operator for a copy that retains the values. You can apply only its schema.",
|
|
409
460
|
no_changes: "There are no differences from live.",
|
|
410
461
|
schema_values: "Cannot apply because the changes remove fields with values. Move the values in live and try again.",
|
|
411
462
|
environment_limit: "The number of environments has reached the plan limit.",
|
|
412
463
|
environment_busy: "This environment is in the middle of another operation. Wait a moment and try again.",
|
|
413
464
|
unregistered_table: "Cannot copy because some tables have no decided handling of personal information.",
|
|
414
465
|
not_frozen: "Writes to live are not stopped.",
|
|
415
|
-
approval_running: "An approved operation is running. Wait a moment and try again."
|
|
466
|
+
approval_running: "An approved operation is running. Wait a moment and try again.",
|
|
467
|
+
aggregate_read_only: "Aggregate collections are read-only. Only the rebuild writes their values.",
|
|
468
|
+
not_aggregate: "This is not an aggregate collection.",
|
|
469
|
+
condition_unmet: "The record given as the condition has changed or cannot be read.",
|
|
470
|
+
app_state_keys_full: "The number of app state keys has reached the limit."
|
|
416
471
|
},
|
|
417
472
|
own: {
|
|
418
473
|
profile: "You can only edit your own profile.",
|
|
419
474
|
portrait: "You can only change your own portrait."
|
|
420
475
|
},
|
|
421
|
-
|
|
476
|
+
no_link: { mcp: "Accounts without a linked {name} cannot use MCP." },
|
|
422
477
|
linkedRecord: "record",
|
|
423
478
|
titles: {
|
|
424
479
|
invalid_input: "Input error",
|
|
425
|
-
|
|
426
|
-
|
|
480
|
+
uuid_not_accepted: "Input error",
|
|
481
|
+
transition_unmet: "Cannot submit",
|
|
427
482
|
publish_unmet: "Cannot publish",
|
|
428
483
|
save_unmet: "Cannot save",
|
|
429
484
|
version_required: "Input error",
|
|
@@ -438,8 +493,8 @@ const ERROR_MESSAGES_EN = {
|
|
|
438
493
|
invalid_mcp_token: "Login error",
|
|
439
494
|
mcp_signature_invalid: "Login error",
|
|
440
495
|
invalid_account_token: "Login error",
|
|
441
|
-
|
|
442
|
-
|
|
496
|
+
read_token_required: "Login error",
|
|
497
|
+
invalid_read_token: "Login error",
|
|
443
498
|
api_key_required: "Login error",
|
|
444
499
|
invalid_api_key: "Login error",
|
|
445
500
|
invalid_id_token: "Login error",
|
|
@@ -454,26 +509,26 @@ const ERROR_MESSAGES_EN = {
|
|
|
454
509
|
not_trial: "Not allowed",
|
|
455
510
|
not_live: "Live environment only",
|
|
456
511
|
forbidden: "Not allowed",
|
|
457
|
-
|
|
512
|
+
create_requires_publish: "Not allowed",
|
|
458
513
|
no_linked_record: "Not allowed",
|
|
459
514
|
own_only: "Not allowed",
|
|
460
515
|
not_visible: "Not allowed",
|
|
461
|
-
|
|
516
|
+
edit_requires_publish: "Not allowed",
|
|
462
517
|
cannot_remove_self: "Not allowed",
|
|
463
518
|
cannot_change_owner: "Not allowed",
|
|
464
519
|
not_found: "Not found",
|
|
465
520
|
method_not_allowed: "Not possible",
|
|
466
|
-
|
|
467
|
-
|
|
521
|
+
end_user_not_linked: "Not found",
|
|
522
|
+
end_user_pending: "Pending review",
|
|
468
523
|
in_use: "Cannot delete",
|
|
469
524
|
duplicate_name: "Duplicate",
|
|
470
525
|
duplicate_email: "Duplicate",
|
|
471
526
|
duplicate_id: "Duplicate",
|
|
472
527
|
duplicate_slug: "Duplicate",
|
|
473
528
|
version_conflict: "Update conflict",
|
|
474
|
-
|
|
529
|
+
record_locked: "Being edited",
|
|
475
530
|
invalid_state: "Not possible",
|
|
476
|
-
|
|
531
|
+
still_published: "Cannot delete",
|
|
477
532
|
last_admin: "Not possible",
|
|
478
533
|
exceeds_own: "Not allowed",
|
|
479
534
|
reauth_required: "Log in again",
|
|
@@ -501,7 +556,7 @@ const ERROR_MESSAGES_EN = {
|
|
|
501
556
|
/** 失敗のコードと HTTP の状態 */
|
|
502
557
|
const FAILURE_STATUS = {
|
|
503
558
|
invalid_input: 400,
|
|
504
|
-
|
|
559
|
+
transition_unmet: 400,
|
|
505
560
|
publish_unmet: 400,
|
|
506
561
|
save_unmet: 400,
|
|
507
562
|
version_required: 400,
|
|
@@ -515,7 +570,7 @@ const FAILURE_STATUS = {
|
|
|
515
570
|
invalid_slug: 400,
|
|
516
571
|
reserved_slug: 400,
|
|
517
572
|
invalid_id: 400,
|
|
518
|
-
|
|
573
|
+
uuid_not_accepted: 400,
|
|
519
574
|
reserved_id: 400,
|
|
520
575
|
organization_required: 400,
|
|
521
576
|
same_environment: 400,
|
|
@@ -527,13 +582,13 @@ const FAILURE_STATUS = {
|
|
|
527
582
|
invalid_mcp_token: 401,
|
|
528
583
|
mcp_signature_invalid: 401,
|
|
529
584
|
invalid_account_token: 401,
|
|
530
|
-
|
|
585
|
+
read_token_required: 401,
|
|
531
586
|
api_key_required: 401,
|
|
532
587
|
invalid_api_key: 401,
|
|
533
588
|
invalid_id_token: 401,
|
|
534
589
|
invalid_app_token: 401,
|
|
535
590
|
account_not_found: 403,
|
|
536
|
-
|
|
591
|
+
invalid_read_token: 401,
|
|
537
592
|
api_key_forbidden: 403,
|
|
538
593
|
mcp_not_allowed: 403,
|
|
539
594
|
insufficient_scope: 403,
|
|
@@ -545,17 +600,17 @@ const FAILURE_STATUS = {
|
|
|
545
600
|
forbidden: 403,
|
|
546
601
|
mfa_required: 403,
|
|
547
602
|
cross_origin: 403,
|
|
548
|
-
|
|
603
|
+
create_requires_publish: 403,
|
|
549
604
|
no_linked_record: 403,
|
|
550
605
|
own_only: 403,
|
|
551
606
|
not_visible: 403,
|
|
552
|
-
|
|
607
|
+
edit_requires_publish: 403,
|
|
553
608
|
cannot_remove_self: 403,
|
|
554
609
|
cannot_change_owner: 403,
|
|
555
610
|
not_found: 404,
|
|
556
|
-
|
|
611
|
+
end_user_not_linked: 404,
|
|
557
612
|
method_not_allowed: 405,
|
|
558
|
-
|
|
613
|
+
end_user_pending: 409,
|
|
559
614
|
in_use: 409,
|
|
560
615
|
conflict: 409,
|
|
561
616
|
already_exists: 409,
|
|
@@ -565,9 +620,9 @@ const FAILURE_STATUS = {
|
|
|
565
620
|
duplicate_slug: 409,
|
|
566
621
|
slug_taken: 409,
|
|
567
622
|
version_conflict: 409,
|
|
568
|
-
|
|
623
|
+
record_locked: 409,
|
|
569
624
|
invalid_state: 409,
|
|
570
|
-
|
|
625
|
+
still_published: 409,
|
|
571
626
|
last_owner: 409,
|
|
572
627
|
last_admin: 409,
|
|
573
628
|
exceeds_own: 403,
|
|
@@ -578,6 +633,7 @@ const FAILURE_STATUS = {
|
|
|
578
633
|
already_live: 409,
|
|
579
634
|
target_live: 409,
|
|
580
635
|
target_synthetic: 409,
|
|
636
|
+
target_anonymized: 409,
|
|
581
637
|
cross_organization: 409,
|
|
582
638
|
target_busy: 409,
|
|
583
639
|
target_frozen: 409,
|
|
@@ -588,7 +644,7 @@ const FAILURE_STATUS = {
|
|
|
588
644
|
still_frozen: 409,
|
|
589
645
|
schema_values: 409,
|
|
590
646
|
confirm_required: 409,
|
|
591
|
-
|
|
647
|
+
unregistered_table: 409,
|
|
592
648
|
environment_limit_exceeded: 409,
|
|
593
649
|
cursor_expired: 410,
|
|
594
650
|
body_too_large: 413,
|
|
@@ -598,7 +654,7 @@ const FAILURE_STATUS = {
|
|
|
598
654
|
unavailable: 503,
|
|
599
655
|
writes_paused: 503,
|
|
600
656
|
environment_frozen: 503,
|
|
601
|
-
|
|
657
|
+
audit_pending: 503,
|
|
602
658
|
grants_not_revoked: 503,
|
|
603
659
|
notice_failed: 503,
|
|
604
660
|
job_failed: 500,
|
|
@@ -613,7 +669,7 @@ const NETWORK_ERROR = "network_error";
|
|
|
613
669
|
/** エラーのコードと HTTP の状態(failureStatus.ts の表の CMS の API の部分) */
|
|
614
670
|
const ERROR_STATUS = Object.fromEntries([
|
|
615
671
|
"invalid_input",
|
|
616
|
-
"
|
|
672
|
+
"transition_unmet",
|
|
617
673
|
"publish_unmet",
|
|
618
674
|
"save_unmet",
|
|
619
675
|
"version_required",
|
|
@@ -624,18 +680,18 @@ const ERROR_STATUS = Object.fromEntries([
|
|
|
624
680
|
"invalid_dimensions",
|
|
625
681
|
"https_required",
|
|
626
682
|
"invalid_style",
|
|
627
|
-
"
|
|
683
|
+
"uuid_not_accepted",
|
|
628
684
|
"login_required",
|
|
629
685
|
"invalid_mcp_token",
|
|
630
686
|
"mcp_signature_invalid",
|
|
631
687
|
"invalid_account_token",
|
|
632
|
-
"
|
|
688
|
+
"read_token_required",
|
|
633
689
|
"api_key_required",
|
|
634
690
|
"invalid_api_key",
|
|
635
691
|
"invalid_id_token",
|
|
636
692
|
"invalid_app_token",
|
|
637
693
|
"account_not_found",
|
|
638
|
-
"
|
|
694
|
+
"invalid_read_token",
|
|
639
695
|
"api_key_forbidden",
|
|
640
696
|
"mcp_not_allowed",
|
|
641
697
|
"insufficient_scope",
|
|
@@ -645,16 +701,16 @@ const ERROR_STATUS = Object.fromEntries([
|
|
|
645
701
|
"not_trial",
|
|
646
702
|
"not_live",
|
|
647
703
|
"forbidden",
|
|
648
|
-
"
|
|
704
|
+
"create_requires_publish",
|
|
649
705
|
"no_linked_record",
|
|
650
706
|
"own_only",
|
|
651
707
|
"not_visible",
|
|
652
|
-
"
|
|
708
|
+
"edit_requires_publish",
|
|
653
709
|
"cannot_remove_self",
|
|
654
710
|
"cannot_change_owner",
|
|
655
711
|
"not_found",
|
|
656
|
-
"
|
|
657
|
-
"
|
|
712
|
+
"end_user_not_linked",
|
|
713
|
+
"end_user_pending",
|
|
658
714
|
"method_not_allowed",
|
|
659
715
|
"in_use",
|
|
660
716
|
"duplicate_name",
|
|
@@ -662,9 +718,9 @@ const ERROR_STATUS = Object.fromEntries([
|
|
|
662
718
|
"duplicate_id",
|
|
663
719
|
"duplicate_slug",
|
|
664
720
|
"version_conflict",
|
|
665
|
-
"
|
|
721
|
+
"record_locked",
|
|
666
722
|
"invalid_state",
|
|
667
|
-
"
|
|
723
|
+
"still_published",
|
|
668
724
|
"last_admin",
|
|
669
725
|
"exceeds_own",
|
|
670
726
|
"reauth_required",
|
|
@@ -686,6 +742,7 @@ const ERROR_STATUS = Object.fromEntries([
|
|
|
686
742
|
"internal_error",
|
|
687
743
|
NETWORK_ERROR
|
|
688
744
|
].flatMap((code) => code === NETWORK_ERROR ? [] : [[code, FAILURE_STATUS[code]]]));
|
|
745
|
+
const PROBLEM_CONTENT_TYPE = "application/problem+json";
|
|
689
746
|
// ../contract/src/issueLabels.ts
|
|
690
747
|
/** 機能をまたいで共通の入力 */
|
|
691
748
|
const INPUT = {
|
|
@@ -696,7 +753,7 @@ const INPUT = {
|
|
|
696
753
|
slug_uuid: "スラッグに UUID の形は使えない",
|
|
697
754
|
url_format: "URL の形が不正",
|
|
698
755
|
infra_id: "ID の形が不正(英小文字と数字の26文字)",
|
|
699
|
-
|
|
756
|
+
uuid_not_accepted: "UUID の形の ID は受け付けない(英小文字と数字の26文字)",
|
|
700
757
|
https_only: "https の URL だけ",
|
|
701
758
|
body_not_json: "本文が JSON の形でない",
|
|
702
759
|
email_format: "メールアドレスの形式が不正"
|
|
@@ -716,7 +773,8 @@ const APPS = {
|
|
|
716
773
|
app_namespace: "名前空間は英小文字で始まる英小文字と数字の3〜32文字です",
|
|
717
774
|
app_namespace_taken: "この名前空間はすでに使われています(再利用できません)",
|
|
718
775
|
app_no_organization: "コンソールで管理していないプロジェクトでは、アプリを登録できません。必要なときは、管理者が運営に相談してください。",
|
|
719
|
-
|
|
776
|
+
app_collections: "既存のコレクションに当てるコレクションの当て先と、当てるフィールドを選んでください(フィールドは同じ型。当てないフィールドはインストールが足すので、同じキーのフィールドがあれば当ててください)",
|
|
777
|
+
app_slugs: "アプリのコレクションのスラッグがほかのコレクションと重なるか使えない形です。スラッグを指定してください",
|
|
720
778
|
app_not_installable: "このアプリはインストールできません(自分の組織のアプリと確認済みのアプリだけ)。アプリの一覧から選び直してください。",
|
|
721
779
|
app_no_registration: "このプロジェクトでは、アプリを追加できません。必要なときは、管理者が運営に相談してください。",
|
|
722
780
|
app_changed: "確認した後にアプリのバージョンか能力が変わりました。もう一度確認してください。",
|
|
@@ -724,15 +782,17 @@ const APPS = {
|
|
|
724
782
|
app_incompatible: "同じ世代の中で互換のない変更です。世代(major)を上げるか、変更を戻してください。",
|
|
725
783
|
app_incompatible_detail: "同じ世代の中で互換のない変更です。世代(major)を上げるか、変更を戻してください({detail})。",
|
|
726
784
|
app_key_private: "秘密鍵の部分(d など)を含む鍵は登録できません。公開鍵だけを送ってください。",
|
|
727
|
-
app_key_unsupported: "登録できるのは ES256(EC の P-256
|
|
785
|
+
app_key_unsupported: "登録できるのは ES256(EC の P-256)、RS256(RSA)、ML-DSA-44 の署名用の公開鍵だけです",
|
|
728
786
|
app_key_weak: "RSA の鍵は2048ビット以上にしてください",
|
|
729
787
|
app_key_kid: "kid は1〜128文字の文字列にしてください",
|
|
730
788
|
app_key_duplicate_kid: "同じ kid の鍵が複数あります",
|
|
789
|
+
channel_capabilities: "チャネルの能力は、種類の宣言の能力から1つ以上を選んでください",
|
|
790
|
+
channel_address: "アドレスは英小文字、数字、「.」「_」「-」のローカル部と、このプロジェクトで検証済みのドメインにしてください(アドレスを持つ種類だけ)",
|
|
791
|
+
channel_setting: "{key} はこの種類の設定にないか、値の形が合いません",
|
|
731
792
|
app_key_duplicate_key: "同じ鍵が複数あります(交換の鍵とアップロードの鍵には別の鍵を使ってください)",
|
|
732
793
|
deploy_artifact: "成果物の形が正しくありません",
|
|
733
|
-
deploy_artifact_required: "成果物(artifact
|
|
794
|
+
deploy_artifact_required: "成果物(artifact)を送ってください",
|
|
734
795
|
deploy_secrets: "秘密の値(secrets)は名前から文字列への JSON のオブジェクトにしてください",
|
|
735
|
-
deploy_version_not_found: "そのバージョンの成果物がありません",
|
|
736
796
|
deploy_binding: "変数か秘密の値の名前か値を受け付けられません",
|
|
737
797
|
artifact_too_large: "成果物が大きさの上限を超えています",
|
|
738
798
|
artifact_format: "成果物の形ではありません(tunasand site で組んでください)",
|
|
@@ -747,37 +807,38 @@ const APPS = {
|
|
|
747
807
|
binding_tunasand_value: "Tunasand の秘密の値か、それを含む値は使えません",
|
|
748
808
|
binding_too_many: "変数と秘密の値と資源の数が上限を超えています"
|
|
749
809
|
};
|
|
750
|
-
/**
|
|
751
|
-
const
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
810
|
+
/** エンドユーザー(field・collection は表示名) */
|
|
811
|
+
const END_USERS = {
|
|
812
|
+
end_user_invalid_date: "日付は YYYY-MM-DD の実在する日",
|
|
813
|
+
end_user_no_target_collection: "権利の対象のコレクションがない(コレクションの「要る権利」の参照の項目が指すコレクション)",
|
|
814
|
+
end_user_no_target: "権利の対象のレコードがない",
|
|
815
|
+
end_user_ends_before_start: "終了日が開始日より前",
|
|
816
|
+
end_user_ends_required: "終了日の指定が要る(対象のコレクションに期間(月)の設定がないか、対象のレコードの値が空)",
|
|
817
|
+
end_user_months_invalid: "対象のレコードの期間(月)が1から1200の整数でない(直すか終了日を指定する)",
|
|
818
|
+
end_user_ends_unchecked: "終了日は対象の期間(月)で決まる(対象が同じ実行の前のレコードのため、テスト実行では未確認)",
|
|
819
|
+
end_user_no_provider: "設定にない発行者",
|
|
820
|
+
end_user_not_configured: "エンドユーザーの機能が有効でないか、本人の証明の発行者がありません。管理者が設定のエンドユーザーで設定してください。",
|
|
821
|
+
end_user_read_log_not_configured: "本人のレコードの読み取りを記録する場所がないため、使えません。運営者に連絡してください。",
|
|
822
|
+
end_user_version_too_long: "設問のバージョンは64文字まで",
|
|
823
|
+
end_user_id_shape: "{field}はエンドユーザーの ID",
|
|
824
|
+
end_user_missing: "{field}のエンドユーザー {id} がない",
|
|
825
|
+
end_user_singleton: "{collection}の{field}(オブジェクト形式のコレクションのエンドユーザーへの参照のフィールドはエンドユーザーの削除で扱えない。項目を外してから消す)",
|
|
826
|
+
end_user_cascade_other: "{collection}の{field}(cascade で消すレコードが、ほかのエンドユーザーを指す)",
|
|
827
|
+
cascade_vanished: "{collection}(計画の後に cascade で消すレコードが消えた。もう一度消す)",
|
|
828
|
+
end_user_erasure_confirm: "確認のため、本文 confirm にエンドユーザーの ID をもう一度入れる",
|
|
829
|
+
deletion_too_large: "消すレコードと書き換えるレコードとバージョン履歴が {count, number} 件で、1回の削除に収まらない(指すレコードを先に減らす)",
|
|
830
|
+
end_user_statements_too_large: "1回の削除の文が {count, number} 件で、上限を超える(指すレコードとエンドユーザーの記録を先に減らす)",
|
|
831
|
+
end_user_undeclared_on_delete: "{collection}の{field}(エンドユーザーが消えたときの扱い onDelete の設定がない。スキーマで設定してから消す)",
|
|
832
|
+
consent_purpose: "目的は service・marketing か、エンドユーザーの設定で宣言した目的",
|
|
833
|
+
consent_address: "宛先の形がチャネルに合わない(email はメールアドレス、sms は電話番号。チャネルの ID は宛先を持たない)",
|
|
834
|
+
consent_target: "email と sms は address が要り、チャネルの ID は end_user_id が要る",
|
|
835
|
+
consent_channel: "チャネルは email、sms か、このプロジェクトのチャネルの ID",
|
|
776
836
|
consent_method: "出どころの種類で選べない取り方(アカウントは staff だけ)"
|
|
777
837
|
};
|
|
778
838
|
/** レコード(key は項目の key、labels は項目の表示名の並び、collection は表示名) */
|
|
779
839
|
const RECORDS = {
|
|
780
840
|
unfilterable_field: "{key}は絞り込みに使用できない項目",
|
|
841
|
+
undeclared_field: "{key}はコレクションにない項目",
|
|
781
842
|
unwritable_field: "{key}はこの資格で見られない項目のため書けない(見える範囲)",
|
|
782
843
|
self_unwritable: "{key}は本人が書けない項目",
|
|
783
844
|
unique_part_required: "{key}は1人1行の組の項目のため必須",
|
|
@@ -787,17 +848,20 @@ const RECORDS = {
|
|
|
787
848
|
record_no_review: "レビューなしのコレクション",
|
|
788
849
|
generated_slug: "このコレクションのスラッグは CMS が振るため指定できない",
|
|
789
850
|
unique_taken: "{labels}が同じレコードがすでにある",
|
|
851
|
+
transition_not_allowed: "{from}から{to}へは変更できない",
|
|
852
|
+
transition_create_not_allowed: "{to}で作成できない",
|
|
790
853
|
unique_duplicates: "{collection}に{labels}が同じレコードが{count, number}件ある(重複を直してから一意にする)",
|
|
791
854
|
publish_check_unavailable: "公開の前の検査 {check} を提供するアプリがオンでない",
|
|
792
|
-
|
|
855
|
+
table_field_limit: "{collection}のフィールドは{max}個まで(今は{fields}個)",
|
|
793
856
|
use_at: "{collection}の{field}{rest, select, none {} other {({rest})}}",
|
|
857
|
+
file_missing: "画像かファイル {id} がない(削除済みか、存在しない)",
|
|
794
858
|
public_in_private_field: "非公開のファイルだけの項目に公開の画像やファイルがある(この項目からアップロードし直す)"
|
|
795
859
|
};
|
|
796
860
|
/** ゴミ箱から戻せない理由の名前(reason は問題) */
|
|
797
861
|
const TRASH = {
|
|
798
862
|
trash_record: "{collection}のレコード {id}",
|
|
799
863
|
trash_unique_holder: "{collection}のレコード({reason})",
|
|
800
|
-
|
|
864
|
+
trash_end_user_missing: "{collection}の{field}が指すエンドユーザー {id}(エンドユーザーがない)"
|
|
801
865
|
};
|
|
802
866
|
/** スキーマ・設定・アプリ(parts は設定の部分の id: general・body・schema) */
|
|
803
867
|
const SETTINGS = {
|
|
@@ -817,6 +881,7 @@ const SETTINGS = {
|
|
|
817
881
|
const SETTING_VALUES = {
|
|
818
882
|
setting_text: "「{field}」に文字列を入力してください。",
|
|
819
883
|
setting_integer_min: "「{field}」は{min, number}以上の整数にしてください。",
|
|
884
|
+
setting_integer_max: "「{field}」は{max, number}以下の整数にしてください。",
|
|
820
885
|
setting_boolean: "「{field}」はオンかオフで指定してください。",
|
|
821
886
|
setting_text_list: "「{field}」は文字列の一覧にしてください。",
|
|
822
887
|
setting_choice: "「{field}」は次から選んでください: {choices}",
|
|
@@ -824,7 +889,7 @@ const SETTING_VALUES = {
|
|
|
824
889
|
setting_required: "「{field}」を1つ以上指定してください。",
|
|
825
890
|
setting_shape: "「{field}」の形が正しくありません。"
|
|
826
891
|
};
|
|
827
|
-
/**
|
|
892
|
+
/** コンテンツとエンドユーザーの取り込み(problem は値の問題、ids は ID の並び) */
|
|
828
893
|
const TRANSFER = {
|
|
829
894
|
unmapped_rows: "コレクション {collection} に対応表の前に取り込んだ同じ ID のレコード({ids}{more, plural, =0 {} other { ほか#件}})があり、取り込めない(対応表の前に取り込んだプロジェクトには取り込み直さない)",
|
|
830
895
|
screens_shape: "画面の設定の形が不正",
|
|
@@ -844,14 +909,15 @@ const TRANSFER = {
|
|
|
844
909
|
import_map_closed: "対応表の行が削除中か墓標",
|
|
845
910
|
import_map_no_key: "対応表の鍵を開けない(別のプロジェクトの DB をコピーした)",
|
|
846
911
|
import_map_raced: "同時の取り込みか人の編集で、対応表かレコードが先に変わった",
|
|
912
|
+
import_map_held: "ほかの持ち主がレコードを占有している",
|
|
847
913
|
import_duplicate_identity: "同じ紐付けが複数",
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
import_identity_taken: "{
|
|
851
|
-
|
|
852
|
-
|
|
914
|
+
import_duplicate_entitlement: "同じ権利(対象のコレクションと対象のレコード、または key)が複数",
|
|
915
|
+
import_entitlement_target_changed: "取り込んだ権利の対象は変えられない(key を変えて別の権利にする)",
|
|
916
|
+
import_identity_taken: "{endUser, select, none {紐付けがほかのエンドユーザーにある} other {紐付けがほかのエンドユーザー {endUser} にある}}",
|
|
917
|
+
import_suspended_in_conflict: "取り出し元の停止だけを当てた(ほかは衝突で書かない)",
|
|
918
|
+
import_suspends_in_conflict: "取り出し元の停止だけを当てる予定(ほかは衝突で書かない)",
|
|
853
919
|
import_overwritten: "取り込みの後の変更を、取り出し元の値で上書きした",
|
|
854
|
-
import_overwrite_note: "上書き(overwrite
|
|
920
|
+
import_overwrite_note: "上書き(overwrite)のエンドユーザーがいるときは理由 note が必要",
|
|
855
921
|
import_file_not_stored: "同じ内容の画像かファイルが保存されていない",
|
|
856
922
|
import_file_failed: "{reason, select, forbidden {画像とファイルを作成する権限がない} https_required {https の URL だけ} upstream_failed {取得できない} unsupported_image {対応していない画像の形式(PNG・JPEG・GIF・WebP)} unsupported_file {対応していないファイルの形式} file_too_large {大きさの上限を超える} other {取り込めない}}",
|
|
857
923
|
import_phase_unpublishable: "コレクションどうしの循環のステップは編集機能を持つコレクションだけ(1段目を下書きで作るため)"
|
|
@@ -872,19 +938,24 @@ const IMPORT_KINDS = {
|
|
|
872
938
|
import_kind_origin_missing: "元の ID を対応表で引けない",
|
|
873
939
|
import_kind_map_conflict: "対応表と行が合わない(取り込みの後に変わった・消えた)",
|
|
874
940
|
import_kind_map_unavailable: "対応表の鍵がない(SECRETS_KEY なし)",
|
|
875
|
-
import_kind_identity_taken: "
|
|
941
|
+
import_kind_identity_taken: "紐付けがほかのエンドユーザーにある"
|
|
876
942
|
};
|
|
877
943
|
/** 配信 API の入力(max は上限、path・token・key・name・op・raw は要求の中の値) */
|
|
878
944
|
const DELIVERY = {
|
|
879
945
|
delivery_path_count: "path は1〜{max, number}件",
|
|
880
946
|
delivery_path_format: "path は / で始まる配信 API の中のパス: {path}",
|
|
881
947
|
delivery_path_bundle: "path に一式は指定不可",
|
|
882
|
-
delivery_path_route_checked: "path
|
|
948
|
+
delivery_path_route_checked: "path にエンドユーザーの API は指定不可",
|
|
883
949
|
delivery_path_wildcard: "path の * は1つまで: {path}",
|
|
884
950
|
delivery_expanded_max: "展開の後の経路は{max, number}件まで",
|
|
885
951
|
delivery_limit_range: "limit は1〜{max, number}の整数",
|
|
886
952
|
delivery_since_invalid: "since が不正(前回の API レスポンスの next)",
|
|
887
953
|
delivery_at_format: "at は ISO 8601 の日時",
|
|
954
|
+
read_token_expiry: "expiresAt は今より後で、{max, number}日以内の日時",
|
|
955
|
+
delivery_at_past: "at は今以後の日時",
|
|
956
|
+
delivery_perspective_value: "perspective は published か latest",
|
|
957
|
+
delivery_perspective_combined: "perspective=latest・revision・at は1つだけ",
|
|
958
|
+
delivery_revision_list: "revision は1件の経路だけ",
|
|
888
959
|
delivery_singleton_list: "1件だけのコレクションに一覧の指定は不可",
|
|
889
960
|
delivery_fields_empty: "fields は空でない項目をコンマ区切り",
|
|
890
961
|
delivery_expand_depth: "展開の深さは{max, number}まで: {token}",
|
|
@@ -894,13 +965,14 @@ const DELIVERY = {
|
|
|
894
965
|
delivery_field_not_expandable: "展開できない項目: {key}",
|
|
895
966
|
delivery_expanded_not_selectable: "展開先のコレクション {collection} で選択できない項目: {key}",
|
|
896
967
|
delivery_single: "{name} は1つだけ",
|
|
968
|
+
reference_single: "{field}は1件だけ",
|
|
897
969
|
delivery_op_planned: "未実装の演算: {op}",
|
|
898
970
|
delivery_filter_format: "絞り込みは filter[key] か filter[key][演算]",
|
|
899
971
|
delivery_filter_nested_planned: "未実装の絞り込み: まとまりの中の項目 {key}",
|
|
900
972
|
delivery_field_not_filterable: "絞り込みできない項目: {key}",
|
|
901
973
|
delivery_op_not_allowed: "項目 {key} に使用できない演算: {op}",
|
|
902
974
|
delivery_filter_value: "項目 {key} の値が不正: {raw}",
|
|
903
|
-
delivery_ids_format: "ids は空でない id
|
|
975
|
+
delivery_ids_format: "ids は空でない id をパラメーターの繰り返しで{max, number}個まで",
|
|
904
976
|
delivery_offset_planned: "未実装の指定: offset(ページ送りは cursor)",
|
|
905
977
|
delivery_order_max: "並べ替えの key は{max, number}個まで",
|
|
906
978
|
delivery_field_not_sortable: "並べ替えできない項目: {name}",
|
|
@@ -918,7 +990,8 @@ const FORMS = {
|
|
|
918
990
|
form_invalid_choice: "選択肢にない値",
|
|
919
991
|
form_too_many: "{max, number}個まで",
|
|
920
992
|
form_too_few: "{min, number}個以上",
|
|
921
|
-
form_unknown_form: "フォームの名前が違う"
|
|
993
|
+
form_unknown_form: "フォームの名前が違う",
|
|
994
|
+
form_unwritable: "{key}は送信できない項目"
|
|
922
995
|
};
|
|
923
996
|
/** 連携(Webhook・外部関数・画面・API の鍵)と、外部関数の検査を完了できない理由(failure は失敗の理由: 問題か HTTP の状態などの文) */
|
|
924
997
|
const INTEGRATIONS = {
|
|
@@ -947,7 +1020,7 @@ const API_ISSUE_MESSAGES = {
|
|
|
947
1020
|
...INPUT,
|
|
948
1021
|
...ACCOUNTS,
|
|
949
1022
|
...APPS,
|
|
950
|
-
...
|
|
1023
|
+
...END_USERS,
|
|
951
1024
|
...RECORDS,
|
|
952
1025
|
...TRASH,
|
|
953
1026
|
...SETTINGS,
|
|
@@ -970,7 +1043,7 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
970
1043
|
slug_uuid: "Slug must not be in UUID form",
|
|
971
1044
|
url_format: "Invalid URL",
|
|
972
1045
|
infra_id: "Invalid ID (26 lowercase letters and digits)",
|
|
973
|
-
|
|
1046
|
+
uuid_not_accepted: "UUID-form IDs are not accepted (26 lowercase letters and digits)",
|
|
974
1047
|
https_only: "Only https URLs are allowed",
|
|
975
1048
|
body_not_json: "The request body is not JSON",
|
|
976
1049
|
email_format: "Invalid email address",
|
|
@@ -984,7 +1057,11 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
984
1057
|
app_namespace: "The namespace must be 3 to 32 lowercase letters and digits, starting with a letter",
|
|
985
1058
|
app_namespace_taken: "This namespace is already taken (namespaces cannot be reused)",
|
|
986
1059
|
app_no_organization: "Apps cannot be registered in a project that is not linked to a organization",
|
|
987
|
-
|
|
1060
|
+
app_collections: "Choose the existing collections to map and the fields to map (each field must have the same type; unmapped fields are added by the installation, so map any field that already uses the same key)",
|
|
1061
|
+
channel_capabilities: "Choose one or more channel capabilities from the kind declaration",
|
|
1062
|
+
channel_address: "Use a local part of lowercase letters, digits, \".\", \"_\" and \"-\" on a domain verified in this project (only for kinds with addresses)",
|
|
1063
|
+
channel_setting: "{key} is not a setting of this kind or has an invalid value",
|
|
1064
|
+
app_slugs: "A collection slug of the app is taken or invalid. Specify the slugs",
|
|
988
1065
|
app_not_installable: "This app cannot be installed (only apps of your own organization and reviewed apps)",
|
|
989
1066
|
app_no_registration: "Apps cannot be added to this project",
|
|
990
1067
|
app_changed: "The app version or capabilities changed after you reviewed them. Review them again",
|
|
@@ -992,15 +1069,14 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
992
1069
|
app_incompatible: "Incompatible change within the same major version. Bump the major version or revert the change",
|
|
993
1070
|
app_incompatible_detail: "Incompatible change within the same major version. Bump the major version or revert the change ({detail})",
|
|
994
1071
|
app_key_private: "Keys with private parts (such as d) cannot be registered. Send only the public key",
|
|
995
|
-
app_key_unsupported: "Only ES256 (EC P-256)
|
|
1072
|
+
app_key_unsupported: "Only ES256 (EC P-256), RS256 (RSA) or ML-DSA-44 public signing keys can be registered",
|
|
996
1073
|
app_key_weak: "RSA keys must be at least 2048 bits",
|
|
997
1074
|
app_key_kid: "kid must be a string of 1 to 128 characters",
|
|
998
1075
|
app_key_duplicate_kid: "Multiple keys share the same kid",
|
|
999
1076
|
app_key_duplicate_key: "The same key appears more than once (use different keys for exchange and upload)",
|
|
1000
1077
|
deploy_artifact: "The artifact is malformed",
|
|
1001
|
-
deploy_artifact_required: "Send
|
|
1078
|
+
deploy_artifact_required: "Send the artifact (artifact)",
|
|
1002
1079
|
deploy_secrets: "secrets must be a JSON object from names to strings",
|
|
1003
|
-
deploy_version_not_found: "No artifact exists for that version",
|
|
1004
1080
|
deploy_binding: "A variable or secret name or value is not accepted",
|
|
1005
1081
|
artifact_too_large: "The artifact exceeds the size limit",
|
|
1006
1082
|
artifact_format: "Not an artifact (build it with tunasand site)",
|
|
@@ -1014,34 +1090,35 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
1014
1090
|
binding_duplicate_name: "The same name is used by a variable and a secret",
|
|
1015
1091
|
binding_tunasand_value: "Tunasand secrets, or values containing them, cannot be used",
|
|
1016
1092
|
binding_too_many: "Too many variables, secrets and resources",
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1093
|
+
end_user_invalid_date: "The date must be a real day in YYYY-MM-DD",
|
|
1094
|
+
end_user_no_target_collection: "The entitlement target collection does not exist (the collection referenced by a collection’s required entitlement field)",
|
|
1095
|
+
end_user_no_target: "The entitlement target record does not exist",
|
|
1096
|
+
end_user_ends_before_start: "The end date is before the start date",
|
|
1097
|
+
end_user_ends_required: "An end date is required (the target collection has no period in months, or the target record has no value)",
|
|
1098
|
+
end_user_months_invalid: "The target record’s period in months is not an integer from 1 to 1200 (fix it or specify an end date)",
|
|
1099
|
+
end_user_ends_unchecked: "The end date follows the target’s period in months (not checked in a test run because the target is an earlier record of the same run)",
|
|
1100
|
+
end_user_no_provider: "The issuer is not in the settings",
|
|
1101
|
+
end_user_not_configured: "enabling end users, or an identity issuer",
|
|
1102
|
+
end_user_read_log_not_configured: "storage for the log of reads of personal records",
|
|
1103
|
+
end_user_version_too_long: "The question version must be at most 64 characters",
|
|
1104
|
+
end_user_id_shape: "{field} must be an end user ID",
|
|
1105
|
+
end_user_missing: "End user {id} of {field} does not exist",
|
|
1106
|
+
end_user_singleton: "{field} of {collection} (end user fields of object-format collections cannot be handled by end user deletion; remove the field first)",
|
|
1107
|
+
end_user_cascade_other: "{field} of {collection} (a record deleted by cascade points to another end user)",
|
|
1108
|
+
cascade_vanished: "{collection} (a record to delete by cascade disappeared after planning; delete again)",
|
|
1109
|
+
end_user_erasure_confirm: "For confirmation, enter the end user ID again in confirm",
|
|
1110
|
+
deletion_too_large: "{count, number} records, rewritten records and revisions do not fit in one deletion (reduce the referencing records first)",
|
|
1111
|
+
end_user_statements_too_large: "{count, number} statements exceed the limit for one deletion (reduce the referencing records and end user data first)",
|
|
1112
|
+
end_user_undeclared_on_delete: "{field} of {collection} (onDelete for deleted end users is not set; set it in the schema first)",
|
|
1113
|
+
consent_purpose: "The purpose must be service, marketing, or a purpose declared in the end user settings",
|
|
1114
|
+
consent_address: "The address does not match the channel (email address for email, phone number for sms; channel IDs take no address)",
|
|
1115
|
+
consent_target: "email and sms require address; channel IDs require end_user_id",
|
|
1116
|
+
consent_channel: "The channel must be email, sms, or the ID of a channel in this project",
|
|
1041
1117
|
consent_method: "This method is not available for the source kind (account is staff only)",
|
|
1042
1118
|
unfilterable_field: "{key} cannot be used as a filter",
|
|
1119
|
+
undeclared_field: "{key} is not a field of the collection",
|
|
1043
1120
|
unwritable_field: "{key} cannot be written because it is not visible to this credential (visibility)",
|
|
1044
|
-
self_unwritable: "{key} cannot be written by the
|
|
1121
|
+
self_unwritable: "{key} cannot be written by the end user",
|
|
1045
1122
|
unique_part_required: "{key} is required because it is part of a one-row-per-person key",
|
|
1046
1123
|
reference_unavailable: "The reference of {key} cannot be chosen (published records only)",
|
|
1047
1124
|
request_reject_note_required: "A rejection reason is required",
|
|
@@ -1049,14 +1126,17 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
1049
1126
|
record_no_review: "This collection has no review",
|
|
1050
1127
|
generated_slug: "Slugs in this collection are assigned by the CMS and cannot be specified",
|
|
1051
1128
|
unique_taken: "A record with the same {labels} already exists",
|
|
1129
|
+
transition_not_allowed: "Cannot change from {from} to {to}",
|
|
1130
|
+
transition_create_not_allowed: "Cannot create with {to}",
|
|
1052
1131
|
unique_duplicates: "{count, number} records in {collection} share the same {labels} (fix the duplicates before making it unique)",
|
|
1053
1132
|
publish_check_unavailable: "No enabled app provides the publish check {check}",
|
|
1054
|
-
|
|
1133
|
+
table_field_limit: "{collection} can have at most {max} fields (now {fields})",
|
|
1055
1134
|
use_at: "{field}{rest, select, none {} other { ({rest})}} of {collection}",
|
|
1135
|
+
file_missing: "Image or file {id} does not exist (it was deleted or never existed)",
|
|
1056
1136
|
public_in_private_field: "A field for private media only contains public images or files (upload them again from this field)",
|
|
1057
1137
|
trash_record: "record {id} of {collection}",
|
|
1058
1138
|
trash_unique_holder: "a record of {collection} ({reason})",
|
|
1059
|
-
|
|
1139
|
+
trash_end_user_missing: "end user {id} referenced by {field} of {collection} (the end user does not exist)",
|
|
1060
1140
|
renamed_replacement: "Save the replacement of options of a collection whose id changes separately from the id change",
|
|
1061
1141
|
project_name_required: "Project name is required",
|
|
1062
1142
|
project_slug_invalid: "Use lowercase letters, digits and hyphens; ID-shaped slugs are not allowed",
|
|
@@ -1070,6 +1150,7 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
1070
1150
|
config_missing: "Settings are missing from the DB of project {id} ({parts}; apply the project template).",
|
|
1071
1151
|
setting_text: "Enter text for \"{field}\".",
|
|
1072
1152
|
setting_integer_min: "\"{field}\" must be an integer of at least {min, number}.",
|
|
1153
|
+
setting_integer_max: "\"{field}\" must be an integer of at most {max, number}.",
|
|
1073
1154
|
setting_boolean: "\"{field}\" must be on or off.",
|
|
1074
1155
|
setting_text_list: "\"{field}\" must be a list of strings.",
|
|
1075
1156
|
setting_choice: "\"{field}\" must be one of: {choices}",
|
|
@@ -1094,14 +1175,15 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
1094
1175
|
import_map_closed: "The import map row is being deleted or is a tombstone",
|
|
1095
1176
|
import_map_no_key: "Cannot open the import map key (the DB was copied from another project)",
|
|
1096
1177
|
import_map_raced: "The import map or record changed first, by a concurrent import or an edit",
|
|
1178
|
+
import_map_held: "Another holder holds the record",
|
|
1097
1179
|
import_duplicate_identity: "The same identity appears more than once",
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
import_identity_taken: "{
|
|
1101
|
-
|
|
1102
|
-
|
|
1180
|
+
import_duplicate_entitlement: "The same entitlement (target collection and record, or key) appears more than once",
|
|
1181
|
+
import_entitlement_target_changed: "The target of an imported entitlement cannot change (use another key for a different entitlement)",
|
|
1182
|
+
import_identity_taken: "{endUser, select, none {The identity belongs to another end user} other {The identity belongs to another end user {endUser}}}",
|
|
1183
|
+
import_suspended_in_conflict: "Applied only the suspension from the source (other changes are not written because of the conflict)",
|
|
1184
|
+
import_suspends_in_conflict: "Will apply only the suspension from the source (other changes are not written because of the conflict)",
|
|
1103
1185
|
import_overwritten: "Changes after the import were overwritten with the source values",
|
|
1104
|
-
import_overwrite_note: "A reason note is required when
|
|
1186
|
+
import_overwrite_note: "A reason note is required when end users are overwritten (overwrite)",
|
|
1105
1187
|
import_file_not_stored: "No stored image or file has the same content",
|
|
1106
1188
|
import_file_failed: "{reason, select, forbidden {No permission to create images and files} https_required {Only https URLs are allowed} upstream_failed {Could not fetch it} unsupported_image {Unsupported image format (PNG, JPEG, GIF, WebP)} unsupported_file {Unsupported file format} file_too_large {Exceeds the size limit} other {Cannot be imported}}",
|
|
1107
1189
|
import_phase_unpublishable: "Steps of a cycle between collections require collections with editing (the first step creates drafts)",
|
|
@@ -1138,16 +1220,21 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
1138
1220
|
import_kind_origin_missing: "Source ID not found in the import map",
|
|
1139
1221
|
import_kind_map_conflict: "Row does not match the import map (changed or removed after import)",
|
|
1140
1222
|
import_kind_map_unavailable: "No key for the import map (SECRETS_KEY missing)",
|
|
1141
|
-
import_kind_identity_taken: "The identity belongs to another
|
|
1223
|
+
import_kind_identity_taken: "The identity belongs to another end user",
|
|
1142
1224
|
delivery_path_count: "path must have 1 to {max, number} entries",
|
|
1143
1225
|
delivery_path_format: "path must be a delivery API path starting with /: {path}",
|
|
1144
1226
|
delivery_path_bundle: "path cannot include the bundle",
|
|
1145
|
-
delivery_path_route_checked: "path cannot include the
|
|
1227
|
+
delivery_path_route_checked: "path cannot include the end user API",
|
|
1146
1228
|
delivery_path_wildcard: "path can have at most one *: {path}",
|
|
1147
1229
|
delivery_expanded_max: "At most {max, number} routes after expansion",
|
|
1148
1230
|
delivery_limit_range: "limit must be an integer from 1 to {max, number}",
|
|
1149
1231
|
delivery_since_invalid: "Invalid since (use next from the previous response)",
|
|
1150
1232
|
delivery_at_format: "at must be an ISO 8601 date-time",
|
|
1233
|
+
read_token_expiry: "expiresAt must be a future date-time within {max, number} days",
|
|
1234
|
+
delivery_at_past: "at must not be in the past",
|
|
1235
|
+
delivery_perspective_value: "perspective must be published or latest",
|
|
1236
|
+
delivery_perspective_combined: "Use only one of perspective=latest, revision and at",
|
|
1237
|
+
delivery_revision_list: "revision is only for a single record",
|
|
1151
1238
|
delivery_singleton_list: "A single-record collection cannot be listed",
|
|
1152
1239
|
delivery_fields_empty: "fields must be comma-separated non-empty fields",
|
|
1153
1240
|
delivery_expand_depth: "Expansion depth is at most {max, number}: {token}",
|
|
@@ -1157,13 +1244,14 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
1157
1244
|
delivery_field_not_expandable: "Field cannot be expanded: {key}",
|
|
1158
1245
|
delivery_expanded_not_selectable: "Field cannot be selected in the expanded collection {collection}: {key}",
|
|
1159
1246
|
delivery_single: "{name} can be given only once",
|
|
1247
|
+
reference_single: "{field} takes only one record",
|
|
1160
1248
|
delivery_op_planned: "Not implemented operator: {op}",
|
|
1161
1249
|
delivery_filter_format: "Filters are filter[key] or filter[key][operator]",
|
|
1162
1250
|
delivery_filter_nested_planned: "Not implemented filter: field inside a group {key}",
|
|
1163
1251
|
delivery_field_not_filterable: "Field cannot be filtered: {key}",
|
|
1164
1252
|
delivery_op_not_allowed: "Operator not allowed for field {key}: {op}",
|
|
1165
1253
|
delivery_filter_value: "Invalid value for field {key}: {raw}",
|
|
1166
|
-
delivery_ids_format: "ids must be up to {max, number}
|
|
1254
|
+
delivery_ids_format: "ids must be up to {max, number} non-empty ids, one per repeated parameter",
|
|
1167
1255
|
delivery_offset_planned: "Not implemented: offset (use cursor for paging)",
|
|
1168
1256
|
delivery_order_max: "At most {max, number} sort keys",
|
|
1169
1257
|
delivery_field_not_sortable: "Field cannot be sorted: {name}",
|
|
@@ -1178,16 +1266,17 @@ const API_ISSUE_MESSAGES_EN = {
|
|
|
1178
1266
|
form_invalid_choice: "Not one of the choices",
|
|
1179
1267
|
form_too_many: "At most {max, number} choices",
|
|
1180
1268
|
form_too_few: "At least {min, number} choices",
|
|
1181
|
-
form_unknown_form: "Unknown form name"
|
|
1269
|
+
form_unknown_form: "Unknown form name",
|
|
1270
|
+
form_unwritable: "{key} cannot be submitted"
|
|
1182
1271
|
};
|
|
1183
1272
|
// ../contract/src/problems.ts
|
|
1184
1273
|
const PROBLEM_MESSAGES = {
|
|
1185
|
-
...
|
|
1274
|
+
...RICH_TEXT_PROBLEM_MESSAGES,
|
|
1186
1275
|
...SCHEMA_PROBLEM_MESSAGES,
|
|
1187
1276
|
...API_ISSUE_MESSAGES
|
|
1188
1277
|
};
|
|
1189
1278
|
const PROBLEM_MESSAGES_EN = {
|
|
1190
|
-
...
|
|
1279
|
+
...RICH_TEXT_PROBLEM_MESSAGES_EN,
|
|
1191
1280
|
...SCHEMA_PROBLEM_MESSAGES_EN,
|
|
1192
1281
|
...API_ISSUE_MESSAGES_EN
|
|
1193
1282
|
};
|
|
@@ -1258,11 +1347,14 @@ const ERROR_MESSAGES = {
|
|
|
1258
1347
|
external_function: "カスタム検証",
|
|
1259
1348
|
external_screen: "カスタム画面",
|
|
1260
1349
|
api_key: "API キー",
|
|
1261
|
-
|
|
1350
|
+
read_token: "読み取りのトークン",
|
|
1351
|
+
mail_domain: "送信のドメイン",
|
|
1352
|
+
channel: "チャネル",
|
|
1353
|
+
channel_address: "チャネルのアドレス",
|
|
1262
1354
|
trash: "ゴミ箱",
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1355
|
+
end_user: "エンドユーザー",
|
|
1356
|
+
end_user_identity: "エンドユーザーの結び付け",
|
|
1357
|
+
entitlement: "エンドユーザーの権利",
|
|
1266
1358
|
app: "アプリ",
|
|
1267
1359
|
installation: "インストール",
|
|
1268
1360
|
invitation: "招待",
|
|
@@ -1271,8 +1363,8 @@ const ERROR_MESSAGES = {
|
|
|
1271
1363
|
/** コードごとの文 */
|
|
1272
1364
|
codes: {
|
|
1273
1365
|
invalid_input: "入力に誤りがあります。内容を確かめて直してください。",
|
|
1274
|
-
|
|
1275
|
-
|
|
1366
|
+
uuid_not_accepted: "ID の形が違います。UUID ではなく、英小文字と数字の26文字の ID を指定してください。",
|
|
1367
|
+
transition_unmet: "レビューを依頼する条件を満たしていません。各フィールドの理由を確かめて直してください。",
|
|
1276
1368
|
publish_unmet: "公開の条件を満たしていません。各フィールドの理由を確かめて直してください。",
|
|
1277
1369
|
save_unmet: "保存の条件を満たしていません。各フィールドの理由を確かめて直してください。",
|
|
1278
1370
|
version_required: "元にしたバージョン(version)が必要です。画面を読み込み直してから、もう一度保存してください。",
|
|
@@ -1287,8 +1379,8 @@ const ERROR_MESSAGES = {
|
|
|
1287
1379
|
invalid_mcp_token: "MCP からの呼び出しを確認できません。AI のコネクタから接続し直してください。",
|
|
1288
1380
|
mcp_signature_invalid: "MCP のサーバーからの呼び出しを確認できません。運営者に連絡してください。",
|
|
1289
1381
|
invalid_account_token: "アプリのアカウントの資格のトークンが無効です。画面のトークンで替え直してください。",
|
|
1290
|
-
|
|
1291
|
-
|
|
1382
|
+
read_token_required: "公開していない版の取得には、未公開の読み取りの権限を持つ API キー、読み取りのトークン、読む版の選択のチケットのどれかが必要です。",
|
|
1383
|
+
invalid_read_token: "読み取りのトークンかチケットが無効か、期限が切れています。設定の配信で、有効なトークンか確かめてください。",
|
|
1292
1384
|
api_key_required: "API キーが必要です。リクエストの Authorization: Bearer に API キーを付けてください。",
|
|
1293
1385
|
invalid_api_key: "API キーが無効です。設定の API キーで、失効していないキーを確かめてください。",
|
|
1294
1386
|
invalid_id_token: "ID トークンが無効です。取り直してから送ってください。",
|
|
@@ -1301,28 +1393,28 @@ const ERROR_MESSAGES = {
|
|
|
1301
1393
|
operator_read_only: "サポートのアクセスの許可が閲覧だけのため、変更できません。変更が要るときは、プロジェクトの管理者に許可の範囲の変更を依頼してください。",
|
|
1302
1394
|
not_trial: "検証用のフラグのプロジェクトだけの操作です。",
|
|
1303
1395
|
not_live: "本番の環境だけでできる操作です。本番の環境のワークスペースから操作してください。",
|
|
1304
|
-
operator_closed: "
|
|
1396
|
+
operator_closed: "サポートのアクセスでは変更できない操作です(アカウント、ロール、連携、アプリ、エンドユーザーの ID、許可など)。プロジェクトの管理者に依頼してください。",
|
|
1305
1397
|
forbidden: "{target, select, none {この操作の権限がありません。} other {{target}のこの操作の権限がありません。}}必要なときは、管理者にロールの見直しを依頼してください。",
|
|
1306
|
-
|
|
1398
|
+
create_requires_publish: "{target, select, none {対象} other {{target}}}は、公開の権限があるアカウントだけが作成できます。公開の権限があるメンバーに作成を依頼してください。",
|
|
1307
1399
|
no_linked_record: "{name}が結び付いていないアカウントは操作できません。管理者に、ユーザーと権限でアカウントと{name}を結び付けるよう依頼してください。",
|
|
1308
1400
|
own_only: "自分の{target, select, none {もの} other {{target}}}だけを操作できます。",
|
|
1309
1401
|
not_visible: "ほかの人の公開前の{target, select, none {対象} other {{target}}}は閲覧できません。",
|
|
1310
|
-
|
|
1402
|
+
edit_requires_publish: "公開中のレコードの編集には、公開の権限が必要です。公開の権限があるメンバーに編集を依頼してください。",
|
|
1311
1403
|
cannot_remove_self: "自分を結び付きから外すことはできません。ほかの管理者に依頼してください。",
|
|
1312
1404
|
cannot_change_owner: "本人を示すフィールドの値は変更できません。",
|
|
1313
1405
|
not_found: "{target, select, none {対象} other {{target}}}が見つかりません。削除された可能性があります。画面を読み込み直してください。",
|
|
1314
1406
|
method_not_allowed: "この経路はこのメソッドを受け付けません。",
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
in_use: "{by, select, uses {{count, number}件で使用中のため、削除できません。} places {{count, number}か所で使用中のため、削除できません。} outputs {{count, number}件の企画の成果物で使用中のため、削除できません。} record {{name, select, none {ほかの内容} other {{name}}}で使用中のため、削除できません。} writers {{count, number}件のレコードに結び付いているため、削除できません。}
|
|
1407
|
+
end_user_not_linked: "このアカウントに結び付くエンドユーザーがいません。管理者に、エンドユーザーとアカウントの結び付けを依頼してください。",
|
|
1408
|
+
end_user_pending: "このアカウントの結び付けは、運営の確認の後に使えます。確認が終わるまでお待ちください。",
|
|
1409
|
+
in_use: "{by, select, uses {{count, number}件で使用中のため、削除できません。} places {{count, number}か所で使用中のため、削除できません。} outputs {{count, number}件の企画の成果物で使用中のため、削除できません。} record {{name, select, none {ほかの内容} other {{name}}}で使用中のため、削除できません。} writers {{count, number}件のレコードに結び付いているため、削除できません。} end_users {{count, number}件のレコードが所属しているため、削除できません。} accounts {{count, number}件のアカウントがこのロールのため、削除できません。} app {{count, number}件の{name, select, none {アプリのデータ} other {{name}}}から参照されているため、削除できません。} other {使用中のため、削除できません。}}使っている所から外してから、もう一度削除してください。",
|
|
1318
1410
|
duplicate_name: "同じ名前がすでにあります。別の名前を付けてください。",
|
|
1319
1411
|
duplicate_email: "同じメールアドレスのアカウントがすでにあります。一覧のそのアカウントを編集してください。",
|
|
1320
1412
|
duplicate_id: "この ID はすでに使用されています。別の ID を指定してください。",
|
|
1321
1413
|
duplicate_slug: "このスラッグはすでに使用されています。別のスラッグを指定してください。",
|
|
1322
1414
|
version_conflict: "ほかの更新と重なりました。最新のバージョンを読み込んでやり直してください。",
|
|
1323
|
-
|
|
1415
|
+
record_locked: "{name, select, none {ほかの人} other {{name}}}が CMS で編集中のため、保存できません。編集画面を閉じるか別のタブに切り替えると、2分以内に保存できるようになります。",
|
|
1324
1416
|
invalid_state: "今の状態ではこの操作はできません。画面を読み込み直して、状態を確かめてください。",
|
|
1325
|
-
|
|
1417
|
+
still_published: "公開中のレコードは、非公開にしてから削除してください。",
|
|
1326
1418
|
last_admin: "最後の管理者は、外すことも管理者のロールから降ろすこともできません。先にほかの人を管理者にしてください。",
|
|
1327
1419
|
exceeds_own: "自分のロールより広い権限は付けられません。広い権限が要るときは、管理者に依頼してください。",
|
|
1328
1420
|
reauth_required: "承認の前に、もう一度ログインしてください。",
|
|
@@ -1330,7 +1422,7 @@ const ERROR_MESSAGES = {
|
|
|
1330
1422
|
stale: "申請の後に内容が変わりました。もう一度申請してください。",
|
|
1331
1423
|
approval_closed: "この申請はもう承認できません(反映済み、却下、取り下げ、期限切れのいずれか)。必要なときは、もう一度申請してください。",
|
|
1332
1424
|
cursor_expired: "変更の記録の保存の期間を過ぎました。cursor なしで全件を取り直してください。",
|
|
1333
|
-
already_linked: "{reason, select, identity {
|
|
1425
|
+
already_linked: "{reason, select, identity {このアカウントは、すでにほかのエンドユーザーに結び付いています。} record {このアカウントには、すでにこのプロジェクトのレコードが結び付いています。} other {このエンドユーザーは、すでに同じ発行者のアカウントに結び付いています。}}結び付けを替えるときは、先に今の結び付けを外してください。",
|
|
1334
1426
|
run_done: "この取り込みの実行は完了済みです。新しい実行でやり直してください。",
|
|
1335
1427
|
invalid_invite: "{reason, select, expired {招待の期限が過ぎています。} used {招待はすでに使われています。} other {招待が見つかりません。}}招待した人に、招待の送り直しを依頼してください。",
|
|
1336
1428
|
body_too_large: "送信する内容は{bodyMaxMB, number}MBまでです。内容を分けて送ってください。",
|
|
@@ -1350,40 +1442,51 @@ const ERROR_MESSAGES = {
|
|
|
1350
1442
|
no_draft: "公開中のバージョンと別の未公開の変更がありません。",
|
|
1351
1443
|
not_in_review: "レビュー待ちではありません。画面を読み込み直してください。",
|
|
1352
1444
|
request_handled: "この依頼はすでに対応済みです。",
|
|
1445
|
+
requester_unauthorized: "申請した人に、この操作を申請する権限がなくなっています。",
|
|
1353
1446
|
deleted: "すでに削除されています。",
|
|
1354
1447
|
not_deleted: "削除されていないため、復元できません。",
|
|
1355
1448
|
schema_confirm: "影響のある変更を含みます。件数を確認してから保存してください。",
|
|
1356
|
-
|
|
1449
|
+
no_publication: "このコレクションにはワークフローがありません。",
|
|
1357
1450
|
no_review: "このコレクションのワークフローにはレビューがありません。",
|
|
1358
1451
|
not_published: "公開中・予約中ではありません。",
|
|
1359
1452
|
collection_rows: "レコードが残っています。件数を確認してから削除してください。",
|
|
1360
1453
|
restore_conflict: "{name, select, none {同じ内容} other {{name}}}がすでにあるため、復元できません。先に今あるものを変更するか削除してください。",
|
|
1454
|
+
restore_target_trashed: "{name}がゴミ箱にあるため、復元できません。先に参照しているレコードを復元してください。",
|
|
1361
1455
|
collection_exists: "同じ ID のコレクションがすでにあるため、復元できません。先にそのコレクションの ID を変更してください。",
|
|
1362
1456
|
collection_missing: "コレクションが削除されているため、復元できません。先にコレクションを復元してください。",
|
|
1363
|
-
not_restorable: "
|
|
1457
|
+
not_restorable: "本人の削除の求めによる削除のため、復元できません。",
|
|
1364
1458
|
installation_state: "今のインストールの状態ではこの操作はできません。画面を読み込み直して、状態を確かめてください。",
|
|
1365
1459
|
site_deploy: "今はサイトを上げられません。ほかのアップロードの最中か、サイトが止められているか外されています。少し待ってから上げ直し、続くときは運営者に連絡してください。",
|
|
1366
|
-
|
|
1460
|
+
site_check_failed: "配置の直後の確認で外れたため、配置を取り消しました。公開中のサイトは変わりません。直したものを上げ直してください。",
|
|
1461
|
+
deployment_stale: "ほかの操作で有効なデプロイが変わりました。画面を読み込み直してから、有効にし直してください。",
|
|
1462
|
+
deployment_not_ready: "このデプロイは有効にできません。配置に失敗したか、配置が残っていません。",
|
|
1463
|
+
deployment_consent: "このデプロイが使う能力の同意が足りないため、有効にできません。アプリの同意を確かめてください。",
|
|
1367
1464
|
required_app: "止められない標準の機能は、停止もアンインストールもできません。",
|
|
1368
1465
|
app_installed: "アプリは1つのプロジェクトに1つだけインストールできます。",
|
|
1369
1466
|
app_dependencies: "依存のアプリをそろえられません。アプリの詳細で、足りないアプリと合わないアプリを確かめてください。",
|
|
1467
|
+
app_required_by: "依存するアプリ({name})が入っているため、アンインストールできません。先に依存するアプリをアンインストールしてください。",
|
|
1370
1468
|
app_reinstalled: "同じアプリを入れ直したインストールがあるため、古いインストールのデータは消せません。",
|
|
1371
1469
|
app_managed: "アプリのインストールが管理する登録です。変更はアプリの新しいバージョンの同意で行います。",
|
|
1372
1470
|
request_key_reused: "同じ重複を除くキーで、別の人かチャネルか目的の記録がすでにあります。別のキーで送ってください。",
|
|
1373
1471
|
no_organization: "組織に属していないプロジェクトのため、招待できません。運営者に組織への所属を頼んでください。",
|
|
1374
1472
|
schema_changed: "スキーマが変更されたため、保存できませんでした。画面を読み込み直してください。",
|
|
1375
|
-
|
|
1473
|
+
end_user_inactive: "このエンドユーザーは停止中のため、操作できません。エンドユーザーの画面で状態を確かめてください。",
|
|
1376
1474
|
self_limit: "1人あたりのレコードの数の上限に達しています。不要なレコードを削除してから作成してください。",
|
|
1377
1475
|
already_live: "この環境はすでに本番です。",
|
|
1378
1476
|
target_live: "本番の環境は削除できません。先にほかの環境へ切り替えてください。",
|
|
1379
1477
|
target_synthetic: "合成のデータの環境は本番にできません。本番にする環境を選び直してください。",
|
|
1478
|
+
target_anonymized: "個人の情報を仮の値に置き換えたか除いてコピーした環境は、本番に切り替えられません。運営者に、値を保つコピーを依頼してください。スキーマだけの反映はできます。",
|
|
1380
1479
|
no_changes: "本番との差がありません。",
|
|
1381
1480
|
schema_values: "値のある項目を消す変更を含むため、反映できません。本番で値を移してからやり直してください。",
|
|
1382
1481
|
environment_limit: "環境の数がプランの上限に達しています。不要な環境を削除してから作成してください。",
|
|
1383
1482
|
environment_busy: "この環境はほかの操作の途中です。少し待ってからやり直してください。",
|
|
1384
1483
|
unregistered_table: "個人の情報の扱いが決まっていない表があるため、コピーできません。運営者に連絡してください。",
|
|
1385
1484
|
not_frozen: "本番の書き込みは止まっていません。",
|
|
1386
|
-
approval_running: "承認した操作の実行中です。少し待ってからやり直してください。"
|
|
1485
|
+
approval_running: "承認した操作の実行中です。少し待ってからやり直してください。",
|
|
1486
|
+
aggregate_read_only: "集計のコレクションは読むだけです。値は作り直しの処理だけが書きます。",
|
|
1487
|
+
not_aggregate: "集計のコレクションではありません。",
|
|
1488
|
+
condition_unmet: "条件に指定したレコードが変わっているか、読み取れません。",
|
|
1489
|
+
app_state_keys_full: "アプリ用の状態のキーの数が上限に達しています。"
|
|
1387
1490
|
},
|
|
1388
1491
|
/** own_only の対象ごとの文(アプリの文は manifest の messages) */
|
|
1389
1492
|
own: {
|
|
@@ -1391,14 +1494,14 @@ const ERROR_MESSAGES = {
|
|
|
1391
1494
|
portrait: "自分の顔の画像だけを変更できます。"
|
|
1392
1495
|
},
|
|
1393
1496
|
/** no_linked_record の対象ごとの文(name は結び付くコレクションの表示名) */
|
|
1394
|
-
|
|
1497
|
+
no_link: { mcp: "{name}が結び付いていないアカウントは、MCP を使用できません。管理者に、ユーザーと権限でアカウントと{name}を結び付けるよう依頼してください。" },
|
|
1395
1498
|
/** no_linked_record の name が無いときの語 */
|
|
1396
1499
|
linkedRecord: "レコード",
|
|
1397
1500
|
/** コードごとの見出し */
|
|
1398
1501
|
titles: {
|
|
1399
1502
|
invalid_input: "入力エラー",
|
|
1400
|
-
|
|
1401
|
-
|
|
1503
|
+
uuid_not_accepted: "入力エラー",
|
|
1504
|
+
transition_unmet: "レビューを依頼できません",
|
|
1402
1505
|
publish_unmet: "公開できません",
|
|
1403
1506
|
save_unmet: "保存できません",
|
|
1404
1507
|
version_required: "入力エラー",
|
|
@@ -1413,8 +1516,8 @@ const ERROR_MESSAGES = {
|
|
|
1413
1516
|
invalid_mcp_token: "ログインエラー",
|
|
1414
1517
|
mcp_signature_invalid: "ログインエラー",
|
|
1415
1518
|
invalid_account_token: "ログインエラー",
|
|
1416
|
-
|
|
1417
|
-
|
|
1519
|
+
read_token_required: "ログインエラー",
|
|
1520
|
+
invalid_read_token: "ログインエラー",
|
|
1418
1521
|
api_key_required: "ログインエラー",
|
|
1419
1522
|
invalid_api_key: "ログインエラー",
|
|
1420
1523
|
invalid_id_token: "ログインエラー",
|
|
@@ -1429,26 +1532,26 @@ const ERROR_MESSAGES = {
|
|
|
1429
1532
|
not_trial: "権限がありません",
|
|
1430
1533
|
not_live: "本番の環境だけの操作です",
|
|
1431
1534
|
forbidden: "権限がありません",
|
|
1432
|
-
|
|
1535
|
+
create_requires_publish: "権限がありません",
|
|
1433
1536
|
no_linked_record: "権限がありません",
|
|
1434
1537
|
own_only: "権限がありません",
|
|
1435
1538
|
not_visible: "権限がありません",
|
|
1436
|
-
|
|
1539
|
+
edit_requires_publish: "権限がありません",
|
|
1437
1540
|
cannot_remove_self: "権限がありません",
|
|
1438
1541
|
cannot_change_owner: "権限がありません",
|
|
1439
1542
|
not_found: "見つかりません",
|
|
1440
1543
|
method_not_allowed: "操作できません",
|
|
1441
|
-
|
|
1442
|
-
|
|
1544
|
+
end_user_not_linked: "見つかりません",
|
|
1545
|
+
end_user_pending: "確認待ちです",
|
|
1443
1546
|
in_use: "削除できません",
|
|
1444
1547
|
duplicate_name: "重複しています",
|
|
1445
1548
|
duplicate_email: "重複しています",
|
|
1446
1549
|
duplicate_id: "重複しています",
|
|
1447
1550
|
duplicate_slug: "重複しています",
|
|
1448
1551
|
version_conflict: "更新が重なりました",
|
|
1449
|
-
|
|
1552
|
+
record_locked: "編集中です",
|
|
1450
1553
|
invalid_state: "操作できません",
|
|
1451
|
-
|
|
1554
|
+
still_published: "削除できません",
|
|
1452
1555
|
last_admin: "操作できません",
|
|
1453
1556
|
exceeds_own: "権限がありません",
|
|
1454
1557
|
reauth_required: "再認証が必要",
|
|
@@ -1494,7 +1597,7 @@ function argsOf(code, p, targets, problems, locale) {
|
|
|
1494
1597
|
/** コードと値から使う文(アプリの文、対象ごとの文、理由ごとの文、コードの文の順) */
|
|
1495
1598
|
function messageOf(code, p, messages, catalog) {
|
|
1496
1599
|
if (code === "own_only") return p.target && messages.own?.[p.target] || (has(catalog.own, p.target) ? catalog.own[p.target] : catalog.codes.own_only);
|
|
1497
|
-
if (code === "no_linked_record") return p.target && messages.
|
|
1600
|
+
if (code === "no_linked_record") return p.target && messages.no_link?.[p.target] || (has(catalog.no_link, p.target) ? catalog.no_link[p.target] : catalog.codes.no_linked_record);
|
|
1498
1601
|
if (code === "invalid_state" && has(catalog.states, p.reason)) return catalog.states[p.reason];
|
|
1499
1602
|
return catalog.codes[code];
|
|
1500
1603
|
}
|
|
@@ -1511,13 +1614,30 @@ const errorText = (code, params = {}, targets = {}) => errorLabel(code, params,
|
|
|
1511
1614
|
}, {}, ERROR_MESSAGES_EN, PROBLEM_MESSAGES_EN, "en");
|
|
1512
1615
|
/** 応答のエラーの文をカタログから作る(対象の表示名はカタログの表、ほかの言語の画面とアプリ向け) */
|
|
1513
1616
|
const errorMessageOf = (error, catalog = ERROR_MESSAGES) => errorLabel(error.code, error.params, catalog.targets, {}, catalog);
|
|
1514
|
-
/**
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1617
|
+
/**
|
|
1618
|
+
* type のないエラーの本文(アプリが返す本文。type は基盤が経路の応答に PROBLEM_TYPE_BASE から付ける、withProblemType)
|
|
1619
|
+
* - 公開の SDK に基盤のホスト名を含めないため、アプリの側では type を組み立てない(RFC 9457: type がなければ about:blank と同じ扱い)
|
|
1620
|
+
*/
|
|
1621
|
+
const problemBodyWithoutType = (code, requestId, fields = {}) => {
|
|
1622
|
+
const { detail, params, ...rest } = fields;
|
|
1623
|
+
return {
|
|
1624
|
+
title: ERROR_MESSAGES_EN.titles[code],
|
|
1625
|
+
status: ERROR_STATUS[code],
|
|
1626
|
+
detail: detail ?? errorText(code, params),
|
|
1627
|
+
code,
|
|
1628
|
+
request_id: requestId,
|
|
1629
|
+
...params && { params },
|
|
1630
|
+
...rest
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
/** エラーの応答(Content-Type は application/problem+json、状態は本文の status) */
|
|
1634
|
+
const problemResponse = (body, headers = {}) => new Response(JSON.stringify(body), {
|
|
1635
|
+
status: body.status,
|
|
1636
|
+
headers: {
|
|
1637
|
+
"content-type": PROBLEM_CONTENT_TYPE,
|
|
1638
|
+
...headers
|
|
1639
|
+
}
|
|
1520
1640
|
});
|
|
1521
1641
|
/** エラーのトーストの見出し(項目ごとの理由がすべて未入力なら必須項目のエラー、スキーマの文は「〜が未入力」で統一) */
|
|
1522
1642
|
const errorTitle = (code, issues = [], catalog = ERROR_MESSAGES) => code === "invalid_input" && issues.length > 0 && issues.every((i) => i.message.endsWith("未入力")) ? catalog.requiredTitle : catalog.titles[code];
|
|
1523
|
-
export { JSON_BODY_MAX as _,
|
|
1643
|
+
export { JSON_BODY_MAX as _, problemBodyWithoutType as a, SCHEMA_PROBLEM_MESSAGES_EN as b, PROBLEM_MESSAGES_EN as c, labelTableProblems as d, problemEnglish as f, apiIssueText as g, API_ISSUE_MESSAGES as h, errorTitle as i, importProblemLabel as l, API_ISSUE_MESSAGES_EN as m, errorMessageOf as n, problemResponse as o, problemLabel as p, errorText as r, PROBLEM_MESSAGES as s, ERROR_MESSAGES as t, issueLabel as u, ERROR_MESSAGES_EN as v, RICH_TEXT_PROBLEM_MESSAGES_EN as y };
|