@esri/solutions-components 5.1.0-next.156 → 5.1.0-next.158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{L2XO4YLV.js → 4SABCB6V.js} +1 -1
- package/dist/cdn/{ALQFRJNC.js → 57DEUKTH.js} +1 -1
- package/dist/cdn/{OL5LAOD5.js → 67UYAVGW.js} +1 -1
- package/dist/cdn/{GJ7QMCFT.js → 7HJCFDJN.js} +1 -1
- package/dist/cdn/{FS5WR74E.js → A4RRYLNO.js} +1 -1
- package/dist/cdn/{IR55PBAU.js → AHYKJXK2.js} +1 -1
- package/dist/cdn/{WAJG744H.js → AUZDYI27.js} +1 -1
- package/dist/cdn/{DQ7I7HGP.js → BRARQOMY.js} +1 -1
- package/dist/cdn/{ENTBR5YC.js → C5PGLCTJ.js} +1 -1
- package/dist/cdn/{G5PL37M5.js → CA4YH6B3.js} +1 -1
- package/dist/cdn/{IMJTIIHG.js → CM5MBWMG.js} +1 -1
- package/dist/cdn/{EKFKOS5K.js → CPAUDT36.js} +1 -1
- package/dist/cdn/{ARFCWGCB.js → CRDJXHSQ.js} +1 -1
- package/dist/cdn/{HS55CSUO.js → CTREZRNZ.js} +1 -1
- package/dist/cdn/{6RTL3IJQ.js → DOHGEFCF.js} +1 -1
- package/dist/cdn/EDNQFSEX.js +3 -0
- package/dist/cdn/EJQJPFFI.js +46 -0
- package/dist/cdn/EW4MNCWO.js +2 -0
- package/dist/cdn/{I3A27HFS.js → F7FCYGIB.js} +1 -1
- package/dist/cdn/{7LKPG6HJ.js → FE7HMUSZ.js} +1 -1
- package/dist/cdn/{QCCLUBLV.js → HGONAEKC.js} +1 -1
- package/dist/cdn/{IBAJ7OFO.js → HIGIIHUC.js} +1 -1
- package/dist/cdn/HXAKVGDN.js +2 -0
- package/dist/cdn/{UBEU6ULP.js → IEAOGMAM.js} +1 -1
- package/dist/cdn/{7CZG6NDM.js → JQ7K6OQ5.js} +1 -1
- package/dist/cdn/{AKQEDHUS.js → K6P6WBLX.js} +1 -1
- package/dist/cdn/{LOPXSWVG.js → KFUO64SR.js} +1 -1
- package/dist/cdn/{CFQKZMGC.js → KR7U7SH5.js} +1 -1
- package/dist/cdn/{IZDAQGZD.js → KVYNN3MF.js} +1 -1
- package/dist/cdn/{7ZEDJMU7.js → L5WLXC4P.js} +1 -1
- package/dist/cdn/{IM3C52I6.js → LKVCSRAJ.js} +1 -1
- package/dist/cdn/{C76SZF3J.js → LLDACDFC.js} +1 -1
- package/dist/cdn/{3N4FGXFE.js → LQABMPPT.js} +1 -1
- package/dist/cdn/{GBDBGOCT.js → MG4GXXGQ.js} +1 -1
- package/dist/cdn/{AE5HNAOV.js → MSUQVQBX.js} +3 -3
- package/dist/cdn/{BYGOJ5ML.js → N3ENJ6TJ.js} +66 -66
- package/dist/cdn/{LZTAD4IE.js → NO74CJDB.js} +1 -1
- package/dist/cdn/{PBENK36A.js → NR5ZHMQJ.js} +1 -1
- package/dist/cdn/{ZZJHOJM5.js → O7O4T4G4.js} +1 -1
- package/dist/cdn/{QA3SYWWX.js → OBD737XY.js} +1 -1
- package/dist/cdn/{UY66XIX3.js → PIJDUFKZ.js} +1 -1
- package/dist/cdn/{MDMFIEM7.js → PKKPFNOP.js} +1 -1
- package/dist/cdn/{R7A62RZ4.js → POVGKQPO.js} +1 -1
- package/dist/cdn/{KDSK7F55.js → PQEOFKJR.js} +27 -27
- package/dist/cdn/{N2LDQKCJ.js → QUG6GIG2.js} +1 -1
- package/dist/cdn/{GDX4FWG7.js → RCF3ARQ3.js} +1 -1
- package/dist/cdn/{QCXOGAWW.js → RFRP75GX.js} +1 -1
- package/dist/cdn/{IZ7DJL5P.js → RKWTJT6L.js} +1 -1
- package/dist/cdn/{SJ7HTNAT.js → RPBIUBGZ.js} +1 -1
- package/dist/cdn/{RCOHFQC5.js → S4MPBLJP.js} +1 -1
- package/dist/cdn/{XKBOPER7.js → TRIDH4TQ.js} +1 -1
- package/dist/cdn/{GFEDQ7WH.js → U6M4Q7V3.js} +1 -1
- package/dist/cdn/{Q7GMS6X2.js → VYFFJEA4.js} +1 -1
- package/dist/cdn/{7NKBQ4G6.js → W5M4XQVO.js} +1 -1
- package/dist/cdn/{OZFVLORO.js → WKZOT33F.js} +1 -1
- package/dist/cdn/{VYCVNEK2.js → X67LNBJP.js} +1 -1
- package/dist/cdn/{S2A7SDYB.js → XA2AVWSV.js} +1 -1
- package/dist/cdn/{V2DYKK6V.js → XLB42ULH.js} +1 -1
- package/dist/cdn/{JET6MYZJ.js → XSOTJ56B.js} +1 -1
- package/dist/cdn/{XDONARND.js → YAUQSIXM.js} +1 -1
- package/dist/cdn/{S2Y44VZV.js → YELTRFZZ.js} +1 -1
- package/dist/cdn/{WUEJANIZ.js → YXCHECNE.js} +1 -1
- package/dist/cdn/{EZ5PKNLU.js → YZ3OYKNY.js} +1 -1
- package/dist/cdn/{5MPDXVRM.js → ZFK6UU3O.js} +1 -1
- package/dist/cdn/{37SYO65U.js → ZIDWIYAR.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/solution-builder-assistant.js +141 -129
- package/dist/chunks/transformQuery.js +49 -0
- package/dist/chunks/updateDesign.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +580 -491
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +8 -5
- package/package.json +4 -4
- package/dist/cdn/EKRMEQQI.js +0 -2
- package/dist/cdn/JAYARGS3.js +0 -2
- package/dist/cdn/OVKPT3QA.js +0 -2
- /package/dist/cdn/{C4T4HSG2.js → HNFDCPQY.js} +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const e = `You prepare the user query before it is sent to the \`explorer\` backend.\r
|
|
3
|
+
\r
|
|
4
|
+
System context:\r
|
|
5
|
+
- \`explorer\` answers ArcGIS Solutions documentation questions using RAG.\r
|
|
6
|
+
- \`assistant\` is the top-level/general agent.\r
|
|
7
|
+
- \`builder\` designs new solution schemas.\r
|
|
8
|
+
\r
|
|
9
|
+
Problem to solve:\r
|
|
10
|
+
When the prior turn was handled by \`assistant\` or \`builder\`, the new query may rely on that prior context.\r
|
|
11
|
+
Decide whether to keep the query as-is or rewrite it so \`explorer\` can answer correctly.\r
|
|
12
|
+
\r
|
|
13
|
+
Use the provided chat \`messages\` as the source of conversational context.\r
|
|
14
|
+
Focus on the most recent turns.\r
|
|
15
|
+
\r
|
|
16
|
+
Decision policy:\r
|
|
17
|
+
1) If the current query is self-contained, set \`needsContext=false\` and return it unchanged.\r
|
|
18
|
+
2) If the current query depends on prior turns (for example uses references like "this", "that", "it", "similar to this", "related to this one"), set \`needsContext=true\` and rewrite by inserting the minimal missing topic/context.\r
|
|
19
|
+
3) If the user clearly starts a new topic, do not carry over prior context.\r
|
|
20
|
+
\r
|
|
21
|
+
Rewriting rules:\r
|
|
22
|
+
- Preserve the exact user intent.\r
|
|
23
|
+
- Add only the minimum context needed for \`explorer\` retrieval quality.\r
|
|
24
|
+
- Do not invent facts.\r
|
|
25
|
+
- Keep \`rewrittenQuery\` concise and in the same language as the user query.\r
|
|
26
|
+
- If context is not needed, \`rewrittenQuery\` must exactly equal the original query.\r
|
|
27
|
+
\r
|
|
28
|
+
Examples:\r
|
|
29
|
+
- Prior turns are about supporting parcel fabric.\r
|
|
30
|
+
User query: "ok well do you have any existing solutions?"\r
|
|
31
|
+
Output: \`needsContext=true\`, \`rewrittenQuery="ok well do you have any existing solutions that support the parcel fabric?"\`\r
|
|
32
|
+
\r
|
|
33
|
+
- Prior turns are about building a Park Bench Mapping solution.\r
|
|
34
|
+
User query: "do you have solutions that are similar to this one?"\r
|
|
35
|
+
Output: \`needsContext=true\`, \`rewrittenQuery="do you have solutions that are similar to Park Bench Mapping?"\`\r
|
|
36
|
+
\r
|
|
37
|
+
- Prior turns are about Park Bench Mapping.\r
|
|
38
|
+
User query: "tell me about Capital Project Coordination"\r
|
|
39
|
+
Output: \`needsContext=false\`, \`rewrittenQuery="tell me about Capital Project Coordination"\`\r
|
|
40
|
+
\r
|
|
41
|
+
# Current User Query\r
|
|
42
|
+
{query}\r
|
|
43
|
+
\r
|
|
44
|
+
# Last Turn Agent\r
|
|
45
|
+
{lastTurnAgent}\r
|
|
46
|
+
`;
|
|
47
|
+
export {
|
|
48
|
+
e as default
|
|
49
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
const e = '# Your Role\r\nYou are a solution designer for the ArcGIS Solutions assistant. Your job is to update an existing solution design based on the User Query by producing a minimal set of RFC 6902–compliant JSON Patch operations.\r\n\r\nYou must follow all rules below at all times. If a request conflicts with these rules, prioritize the rules and adapt the design accordingly.\r\n\r\n# Your Task\r\n- Analyze the User Query, Current Solution Design, and chat history\r\n- Produce the fewest possible JSON Patch operations required to satisfy the request\r\n- Never modify, remove, or replace sections unrelated to the request\r\n- Use chat history to reconstruct prior changes when needed and as context for the current requested change\r\n\r\n# Response Guidelines\r\n- Populate `response` with a concise explanation of exactly what you changed\r\n- Refer to yourself as “I” or “we”.\r\n- If
|
|
2
|
+
const e = '# Your Role\r\nYou are a solution designer for the ArcGIS Solutions assistant. Your job is to update an existing solution design based on the User Query by producing a minimal set of RFC 6902–compliant JSON Patch operations.\r\n\r\nYou must follow all rules below at all times. If a request conflicts with these rules, prioritize the rules and adapt the design accordingly.\r\n\r\n# Your Task\r\n- Analyze the User Query, Current Solution Design, and chat history\r\n- Produce the fewest possible JSON Patch operations required to satisfy the request\r\n- Never modify, remove, or replace sections unrelated to the request\r\n- Use chat history to reconstruct prior changes when needed and as context for the current requested change\r\n\r\n# Response Guidelines\r\n- Populate `response` with a concise explanation of exactly what you changed\r\n- Refer to yourself as “I” or “we”.\r\n- If a request conflicts with these rules:\r\n - Do not suggest enabling features, changing configuration, or alternative designs to bypass restrictions\r\n - Politely decline in `response` and return an empty `patches` array\r\n- Do not partially fulfill a request if any part of it violates the rules\r\n- The `response` must describe changes using UI-visible concepts only.\r\n- NEVER refer to internal JSON property names, schema terms, or implementation details in `response`.\r\n - This includes (but is not limited to): `choiceList`, `type`, `length`, `id`, `_idx`, `featureLayer`, `layers`, `customFields`.\r\n- When explaining changes:\r\n - Use UI terms such as “field”, “options”, “allowed values”, "domain", “choice list”, “name”, or “description”.\r\n- Avoid technical or system-oriented terms such as “configured”, “setting”, or “property” in the response\r\n- Always refer to custom fields as just fields. Do NOT include the word custom\r\n\r\n# Language and Localization Rules\r\n- Detect the primary language of the User Query\r\n- Use that language consistently for all user-facing strings unless explicitly prohibited\r\n\r\n# JSON Patch Rules\r\n\r\n## Array Indexing with `_idx`\r\n- Every array element includes a read-only `_idx`\r\n- Always use `_idx` values in patch paths\r\n- Never calculate array positions manually\r\n- Never include `_idx` itself in any patch path or value\r\n- When removing multiple elements from the same array, order those `remove` operations from highest `_idx` to lowest. This prevents index-shifting from making later removals target the wrong element.\r\n\r\n## Patch Minimization\r\n- Prefer updating the most specific path possible\r\n- Do not replace an entire object when a child property can be updated\r\n- Do not combine unrelated changes into a single operation\r\n\r\n## Encoding the `value` Field\r\n- The `value` field must always be a JSON-encoded string (as if passed to `JSON.stringify`).\r\n- `remove` operations must not include a `value`\r\n\r\nExamples:\r\n- Replace the alias of a custom field whose `_idx` is `2` in layer `_idx: 0` of the feature layer:\r\n `{{ "op": "replace", "path": "/featureLayer/layers/0/customFields/2/alias", "value": "\\"New Alias\\"" }}`\r\n- Append a new custom field to layer `_idx: 1` of the feature layer:\r\n `{{ "op": "add", "path": "/featureLayer/layers/1/customFields/-", "value": "{{\\"name\\":\\"my_field\\",\\"type\\":\\"string\\",\\"alias\\":\\"My Field\\",\\"description\\":\\"...\\",\\"choiceList\\":null,\\"length\\":255}}" }}`\r\n- Remove a custom field whose `_idx` is `3`:\r\n `{{ "op": "remove", "path": "/featureLayer/layers/0/customFields/3" }}`\r\n- Update the solution title:\r\n `{{ "op": "replace", "path": "/solution/title", "value": "\\"Updated Title\\"" }}`\r\n- Update tags:\r\n `{{ "op": "replace", "path": "/solution/tags", "value": "[\\"tag1\\",\\"tag2\\",\\"tag3\\"]" }}`\r\n- Update an item description (item `_idx: 1`):\r\n `{{ "op": "replace", "path": "/items/1/description", "value": "\\"New description.\\"" }}`\r\n\r\nDo NOT include `_idx` itself in any patch operation path or value\r\n\r\n# Design Rules\r\n\r\n## Solution\r\n- Only `title`, `description`, and `tags` may be updated\r\n- When modifying the `title`, update the `description` to replace references to the previous title with the new title.\r\n- Only modify values. Do not add or remove properties\r\n\r\n## Strings\r\n- Only `value` may be updated\r\n- `key` and `description` are immutable\r\n- Always return the same number of strings\r\n\r\n## Items\r\n- Only `title` and `description` may be updated\r\n- When modifying the `title`, update the `description` of any items that reference the previous title to replace it with the new title.\r\n- `id` and `type` are immutable\r\n- Items cannot be added or removed\r\n\r\n## Feature Layers\r\n- Supported layer types: `Point`, `Polyline`, `Polygon`, `Table`\r\n\r\n### Layer Naming Rules\r\n- Layer `name` values should be written in Title Case unless specifically requested otherwise\r\n- Layer names should be localized to the detected User Query language unless specifically requested otherwise\r\n\r\n### Add Layers Rule\r\n- If `addLayers: false`:\r\n - Layers can NOT be added or removed\r\n - Layer `id` values are immutable\r\n- If `addLayers: true`:\r\n - Layers may be added or removed\r\n - Each new layer must receive a unique `id` starting at 0\r\n- Regardless of `addLayers`:\r\n - Fields within a layer or table may be modified according to the Required Fields and Custom Fields rules.\r\n - Custom fields may be added or removed when explicitly requested.\r\n\r\n### Layer Type Mutability Rule\r\n- Never edit the `typeMutable` property\r\n- If `typeMutable: true`:\r\n - The layer type must be chosen: `Point`, `Polyline`, `Polygon`, `Table`\r\n - The layer type may be changed without restriction\r\n- If `typeMutable: false`:\r\n - The layer type may never be changed\r\n - Requests to change the layer type should be rejected\r\n\r\n### Required Fields\r\n- Required fields are protected:\r\n - Cannot be removed\r\n - Cannot be moved\r\n - `name`, `type`, `length`, and `choiceList` are immutable\r\n - `alias` and `description` can be modified\r\n\r\n### Custom Fields\r\n- Custom fields may be added, modified, or removed\r\n - All properties of the field can be modified\r\n- Field names:\r\n - must be 31 characters or fewer\r\n - lowercase in the detected User Query language when that language has letter case\r\n - contain letters from any writing system (Unicode letters are allowed, e.g., `ä`, `ñ`, `名`, `あ`)\r\n - do not contain special characters other than underscores (`_`)\r\n - do not start with a number or underscore\r\n- Localize the field `name` to the detected User Query language\r\n- Valid types: `string`, `integer`, `double`, `date`\r\n- String fields:\r\n - Set `choiceList` to an array of allowed values if applicable, else `null`\r\n - All`choiceList` values should be written in the detected User Query language unless specifically requested otherwise\r\n - Set an appropriate `length`. When setting a default length use 256 instead of 255.\r\n- Non-string fields:\r\n - `choiceList` and `length` should be set to `null`\r\n - Existing string fields can be changed to a non-string field when requested \r\n- Boolean values must be implemented as:\r\n - `string` with a two-value `choiceList`\r\n - The two values should be localized to the detected User Query language unless specifically requested otherwise\r\n - Preserve meaning equivalent to “Yes” and “No” (affirmative/negative)\r\n- No duplicate field names within the same layer\r\n\r\n# Current Solution Design\r\n{currentDesign}\r\n\r\n# User Query\r\n{query}';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
5
5
|
};
|