@axonity-ai/mcp 0.17.1 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +105 -37
  2. package/dist/errors.js +45 -11
  3. package/dist/errors.js.map +1 -1
  4. package/dist/generated/listFilters.js +23 -1
  5. package/dist/generated/listFilters.js.map +1 -1
  6. package/dist/index.js +208 -26
  7. package/dist/index.js.map +1 -1
  8. package/dist/tools/access.d.ts +19 -0
  9. package/dist/tools/access.js +71 -0
  10. package/dist/tools/access.js.map +1 -0
  11. package/dist/tools/applications.d.ts +24 -0
  12. package/dist/tools/applications.js +145 -0
  13. package/dist/tools/applications.js.map +1 -0
  14. package/dist/tools/concepts.js +68 -3
  15. package/dist/tools/concepts.js.map +1 -1
  16. package/dist/tools/conventions.d.ts +2 -2
  17. package/dist/tools/conventions.js +105 -38
  18. package/dist/tools/conventions.js.map +1 -1
  19. package/dist/tools/dataSources.d.ts +5 -5
  20. package/dist/tools/dataSources.js +10 -9
  21. package/dist/tools/dataSources.js.map +1 -1
  22. package/dist/tools/dataTables.js +7 -5
  23. package/dist/tools/dataTables.js.map +1 -1
  24. package/dist/tools/entityContract.d.ts +44 -0
  25. package/dist/tools/entityContract.js +90 -0
  26. package/dist/tools/entityContract.js.map +1 -0
  27. package/dist/tools/extras.js +40 -2
  28. package/dist/tools/extras.js.map +1 -1
  29. package/dist/tools/knowledgeGraph.d.ts +28 -0
  30. package/dist/tools/knowledgeGraph.js +126 -0
  31. package/dist/tools/knowledgeGraph.js.map +1 -0
  32. package/dist/tools/queries.d.ts +18 -0
  33. package/dist/tools/queries.js +70 -0
  34. package/dist/tools/queries.js.map +1 -0
  35. package/dist/tools/triggers.js +69 -79
  36. package/dist/tools/triggers.js.map +1 -1
  37. package/dist/tools/validation.js +21 -3
  38. package/dist/tools/validation.js.map +1 -1
  39. package/dist/tools/workflowMutations.d.ts +18 -0
  40. package/dist/tools/workflowMutations.js +61 -5
  41. package/dist/tools/workflowMutations.js.map +1 -1
  42. package/package.json +1 -1
package/README.md CHANGED
@@ -40,7 +40,7 @@ tenant + scope on every call, so the connector is not a trust boundary.
40
40
 
41
41
  ## Tools
42
42
 
43
- 346 tools total. `axonity_conventions` (read this first) covers the authoring
43
+ 476 tools total. `axonity_conventions` (read this first) covers the authoring
44
44
  rules — drafts vs live, optimistic locking, per-entity fields, delete/restore,
45
45
  and how to tell a retryable error from one that will never succeed.
46
46
  `axonity_semantic_conventions` is its counterpart for one job only: building a
@@ -55,8 +55,9 @@ was kept here. A conformance test asserts their absence.
55
55
 
56
56
  ### The generic entity family
57
57
 
58
- Twelve entities — **workflow, agent, tool, skill, policy, reference_doc,
59
- persona, output_schema, prompt_snippet, flow, data_table, measure** — share one shape,
58
+ Thirteen entities — **workflow, agent, tool, skill, policy, reference_doc,
59
+ persona, output_schema, prompt_snippet, flow, data_table, measure,
60
+ application** — share one shape,
60
61
  though not every entity gets every verb (see the per-entity notes below for the
61
62
  exceptions):
62
63
 
@@ -73,8 +74,9 @@ exceptions):
73
74
  | `request_publish_<entity>` | Ask for a draft to be published — creates a pending approval; never publishes. |
74
75
 
75
76
  Exceptions: `persona` has no `create_persona` (create only via
76
- `create_agent_persona`). And `list_data_tables` answers **one page**, not the
77
- whole library — see Tables below.
77
+ `create_agent_persona`). And `list_data_tables` (like `list_measures` and
78
+ `list_applications`) answers **one page**, not the whole library — see Tables
79
+ below.
78
80
 
79
81
  Three more entities use the same verbs **without** the draft ones —
80
82
  **data_source, table_relationship, dashboard**. None is versioned: a change is
@@ -91,7 +93,8 @@ backend applies it before the rows come back:
91
93
  `list_prompt_snippets({ deleted? })`,
92
94
  `list_data_tables({ name?, status?, isDynamic? })`,
93
95
  `list_data_sources({ enabled? })`,
94
- `list_table_relationships({ tableId? })`.
96
+ `list_table_relationships({ tableId? })`,
97
+ `list_applications({ name? })`.
95
98
 
96
99
  That table is **generated** from the pinned schema's own query parameters
97
100
  (`npm run generate:filters` → `src/generated/listFilters.ts`), not hand-listed.
@@ -117,10 +120,24 @@ Plus:
117
120
  value is discoverable without a release here. `operations` is an index by
118
121
  default; pass `types` for a command's live payload schema. `rulesVersion` is
119
122
  a content hash over all seven — same hash, nothing to re-fetch.
123
+ - `get_entity_authoring_contract` — the platform's **create contract per
124
+ entity kind** (tools with each type's implementation, agents, personas,
125
+ knowledge, schemas, tables, toolboxes, secrets, starts), read live from
126
+ `GET /api/v1/authoring/entity-contracts` (axonity-flow#2103):
127
+ `{ kinds, contracts, rulesVersion }`, per kind the create/update fields and
128
+ the `publish.rules` that stop it going live. Pass `kinds` to narrow it (sent
129
+ as `?kinds=a,b`; an unknown kind is the platform's 422). On a backend that
130
+ does not serve it yet it says so plainly; it never falls back to a copy. The
131
+ per-entity notes in `axonity_conventions` are marked subordinate to it.
120
132
  - `apply_workflow_mutations` for structural workflow edits (add steps, connect
121
133
  edges) via mutation commands, sequenced and version-threaded for you.
122
134
  - `replace_workflow_document` for one-shot full-document replacement in a single
123
135
  atomic PUT.
136
+ - Both end with the platform's **catalog-checked verdict**: the connector runs
137
+ `validate_workflow` on the stored workflow after the write and returns it,
138
+ verbatim, as `validation` (`catalogChecked`, `launchable`, every issue). The
139
+ write's own `launchable` is structural only. None of the platform's checks
140
+ asks whether the editor can draw the document (#65).
124
141
  - `read_workflow_trigger_parameters` — how to start the workflow:
125
142
  `{ triggers, constants }`, every start with its own parameters and a `pinned`
126
143
  flag marking the values the author owns.
@@ -129,7 +146,8 @@ Plus:
129
146
 
130
147
  ### Version history, rollback, and version-level delete
131
148
 
132
- For the eleven versioned entities (including `flow` and `data_table`):
149
+ For the versioned entities (including `flow`, `data_table`, `measure` and
150
+ `application`):
133
151
 
134
152
  | Tool | What it does |
135
153
  |------|--------------|
@@ -156,7 +174,12 @@ across these routes — the tool parameter names say which.
156
174
  - **Connectors** (a tool of type `connector`): `create_connector`,
157
175
  `update_connector` — `authConfig` must be placeholders only; a human fills real
158
176
  secrets in Axonity. (`create_tool`/`update_tool` carry the same guard, so a
159
- connector authored either way is covered.)
177
+ connector authored either way is covered.) A connector **must declare
178
+ `implementation.effect`** (`reads` | `acts`) before it can be published; a
179
+ draft saves without it and the approval refuses it. `responseMapping:
180
+ { type: "file", filename? }` keeps the answer as a file of the run and
181
+ returns `{ fileId, filename, contentType, sizeBytes }`, which Digitize
182
+ documents and a sub-workflow's file parameter take.
160
183
  - **Toolboxes** (the group a tool is filed under): `list_toolboxes`,
161
184
  `create_toolbox`, `update_toolbox`, `delete_toolbox`, `set_toolbox_tools`,
162
185
  `assign_tool_toolbox`, `set_toolbox_auth`, `list_toolbox_dependent_tools`.
@@ -255,10 +278,11 @@ across these routes — the tool parameter names say which.
255
278
  would yield), `toolId` (whether a row exists) and `isLive` (whether a run
256
279
  can reach it) separately — an author who ticked "may add rows" and has not
257
280
  published has granted nothing yet.
258
- - **The semantic model** (`data_source`, `data_table` with provenance,
259
- `table_relationship`, `measure`, concepts, `dashboard`): a workspace
260
- connects a warehouse such as BigQuery, dynamic tables are filled from it on
261
- a schedule, measures define the numbers over those tables, concepts say
281
+ - **The semantic model** (`data_source`, `query`, `data_table`,
282
+ `table_relationship`, `measure`, concepts and their links, `dashboard`): a
283
+ workspace connects a warehouse such as BigQuery, named queries read it,
284
+ dynamic tables are filled by those queries on a schedule, measures define
285
+ the numbers over those tables, concepts say
262
286
  what each word and number means, and dashboards show the measures. Read
263
287
  `axonity_semantic_conventions` before building one — the platform serves
264
288
  those rules.
@@ -273,12 +297,24 @@ across these routes — the tool parameter names say which.
273
297
  `query_data_source` runs read-only SQL with capped rows (`truncated` says
274
298
  when rows were left out); a 422 is the query being refused, a 502 is the
275
299
  warehouse.
276
- - **There is no sync object.** A dynamic table carries its own
277
- `provenance` — `{ sourceId, sql, grain, keyColumns, mode, cron, timezone,
278
- enabled }` — on `create_data_table` / `update_data_table`, so a changed
279
- query is published like a changed column. `refresh_data_table` fills it
280
- now instead of at its next turn (it does not wait for the result; read
281
- the table's `fill` afterwards).
300
+ - **A query is its own versioned entity** (`query`): the generic family
301
+ plus the version tools, `request_publish_query`, `test_query` (run it
302
+ once with values; it suggests the `returns`), `read_query_usage` (the
303
+ read tool its publication mints, and which agents hold it) and
304
+ `list_query_live_versions`. It carries the SQL, the source, the grain,
305
+ its typed `parameters` and its described `returns`.
306
+ - **There is no sync object, and no `provenance`.** A table says what fills
307
+ it in `filledBy` — `author`, `workflow` or `query` — and a query-filled
308
+ table names its query in `fillingQueryId` and when it runs in `rhythm`
309
+ (`{ cron, timezone, keyColumns, mode, enabled }`). Only a table filled by
310
+ a query or a workflow is dynamic, and only a dynamic table can be read by
311
+ a measure. `refresh_data_table` fills it now instead of at its next turn
312
+ (it does not wait for the result; read the table's `fill` afterwards).
313
+ - **Concept links**: a concept's `refersTo` points at one thing;
314
+ `link_concept`, `unlink_concept` and `list_concept_links` hang the same
315
+ word on every column, table, measure, value or query that means it. The
316
+ links are rows of the `concept_links` table and go live when that table
317
+ is published.
282
318
  - **A measure is its own versioned entity**: the generic family plus the
283
319
  version tools, `request_publish_measure`, and `list_measure_live_versions`.
284
320
  It names the concept it means in `concept`, and the questions it answers
@@ -317,6 +353,42 @@ across these routes — the tool parameter names say which.
317
353
  tile). Plus `duplicate_dashboard`.
318
354
  - A reference doc has no `semanticKind` any more; the platform refuses it
319
355
  and the other retired fields and says where each one went.
356
+ - **Applications** (`application`): a program an agent operates through an
357
+ executor — a Windows program (`win32`) or a website (`web`) — with its
358
+ `limits`, what the agent may never do in it (processes, windows, keys,
359
+ buttons, folders, domains, secrets by name). The generic family and the
360
+ version tools, and `request_publish_application`: an executor receives only
361
+ the published limits, so only a human makes them live.
362
+ - **Executors**: `set_application_executors` / `read_application_executors`
363
+ choose the machines an application runs on (the whole set at once);
364
+ `list_executors`, `read_executor`, `read_executor_applications` and
365
+ `list_executor_commands` only read. Registering or revoking an executor
366
+ is a human's job — it mints a token, and no tool here ever returns one.
367
+ - **What it has learned**: `list_application_knowledge` (elements,
368
+ instructions, lessons, one page at a time) and
369
+ `list_application_knowledge_versions`; `forget_application_knowledge`,
370
+ `restore_application_knowledge` and `write_application_knowledge` to
371
+ correct it. Linking executors and changing knowledge are reserved for a
372
+ workspace administrator on the platform, and a service token always
373
+ counts as a member, so today those answer with a refusal that says so.
374
+ - **Who may read what** (labels, audiences, roles): every policy, skill,
375
+ reference doc and table carries a label — `level` (public, internal,
376
+ confidential) and `audienceIds`, whom it is meant for. `list_audiences` /
377
+ `read_audience` give the ids to put there, `list_roles` / `read_role` say
378
+ what each role reads and maintains, and `read_member_roles` which roles a
379
+ colleague holds. Leave the label out and it gets the default (internal, for
380
+ Staff); `level: null` makes a thing readable by nobody. Narrowing a label is
381
+ always allowed; widening it is a colleague's act, and the refusal says so.
382
+ An agent's `clearance` is set by an administrator; a workflow's by its
383
+ author, through the publish approval. Managing audiences and roles is not
384
+ here yet.
385
+ - **The knowledge graph** (Cortex), read with the token's own clearance:
386
+ `search_knowledge_graph`, `list_knowledge_topics`, `list_topic_facts`,
387
+ `read_fact` (passages, sources, certainty, validity, which run taught it),
388
+ `read_source`, `list_knowledge_tree`, `list_related_topics` and
389
+ `list_archived_facts`. Looking only: confirming, correcting, archiving or
390
+ relabelling a fact ends with a person. With the module off, every call says
391
+ so in plain words.
320
392
  - `list_deleted_prompt_snippets` calls `/api/v1/prompt-snippets/deleted`; the
321
393
  backend returns it as `{ items: [... ] }`, and the tool forwards that response
322
394
  unchanged.
@@ -336,8 +408,9 @@ across these routes — the tool parameter names say which.
336
408
 
337
409
  `list_/create_/delete_` for **webhook triggers** (plus
338
410
  `rotate_webhook_trigger`), **cron schedules**, and **conditional triggers**
339
- (plus `update_conditional_trigger`). Trigger deletes are **hard** deletes with
340
- no restore, and a webhook token is shown **once** at create or rotate.
411
+ (plus `update_conditional_trigger` and `list_tenant_conditional_triggers`).
412
+ Trigger deletes are **hard** deletes with no restore, and a webhook token is
413
+ shown **once** at create or rotate.
341
414
 
342
415
  **A schedule is a claim you can now check.** `run_cron_schedule_now` fires one
343
416
  immediately *without* moving `nextFireAt` — testing a schedule must not consume
@@ -357,23 +430,18 @@ trigger must exist in the **published** document. Rule shapes come from
357
430
  `get_workflow_authoring_spec` → `scheduleRuleKinds`; this connector names none
358
431
  of its own.
359
432
 
360
- **A conditional trigger without a check starts the workflow every beat.** It
361
- wakes on its interval and, with nothing set, runs whether or not there was
362
- anything to do — a mailbox on fifteen minutes makes ninety-six empty runs a
363
- day. `checkKind` decides instead, and it is a gate ahead of the run being
364
- created: `"automatic"` is one tool call plus one rule on its answer, no model.
365
- Its `checkConfig` is `{ toolId, inputs?, rule: { field, op, value } }`, where
366
- `field` names a key of the *tool's* answer. `"agent"` is reserved for a model
367
- judging the condition and is refused today.
368
-
369
- Set it on `create_conditional_trigger` or on an existing trigger with
370
- `update_conditional_trigger` — everything authored before checks existed has
371
- none, which `list_conditional_triggers` shows as `checkKind: null`. **To take a
372
- check off, send `checkKind: ""`**: the empty string clears the kind and its
373
- config together, where omitting the field leaves it standing. The connector
374
- does not judge a check — the backend validates it with the same function the
375
- dispatcher runs when the trigger fires, so a setting that saves is one that
376
- runs, and a bad one comes back as a refusal naming what to fix.
433
+ **A conditional start is authored in the workflow, not on its row.** The
434
+ trigger element (`typeId: "conditional-poll"`, a UUID `id`) carries
435
+ `conditionText`, `repeatIntervalMinutes` and the **check** (`checkKind` plus
436
+ that kind's settings) on its `config`, written with `apply_workflow_mutations`.
437
+ Publishing the workflow creates or updates the row from the document, and
438
+ removes the rows whose element is gone. The platform **refuses** a check sent to
439
+ `create_/update_conditional_trigger` — so those tools no longer take one, and
440
+ `create_conditional_trigger` (rarely what you want) now sends the `workflowId`
441
+ the platform's body schema requires. Without a check, every beat starts the
442
+ workflow: a mailbox on fifteen minutes makes ninety-six empty runs a day.
443
+ `"automatic"` decides with no model (a plan, its outputs, and a `startsWhen`
444
+ rule); `"agent"` makes the beat a run whose first step asks an agent.
377
445
 
378
446
  ### Runs — evaluating what you built
379
447
 
package/dist/errors.js CHANGED
@@ -167,21 +167,51 @@ export class AuthError extends AxonityApiError {
167
167
  * cannot…" here sends it and its human to the token settings for something no
168
168
  * token setting fixes (#78).
169
169
  */
170
- const ADMIN_ONLY_SENTENCE = /only administrators/i;
170
+ const ADMIN_ONLY_SENTENCE = /only (administrators|an administrator)\b/i;
171
+ /**
172
+ * The platform's sentence when a whole MODULE is off in the workspace
173
+ * ("Cortex is switched off in this workspace…"). Not the token's fault and not
174
+ * the call's: the advice is the opposite of the scope advice, so it gets its
175
+ * own words (axonity-mcp#88).
176
+ */
177
+ const MODULE_OFF_SENTENCE = /is switched off in this workspace/i;
178
+ /**
179
+ * The platform's refusal to WIDEN a label — make knowledge readable for more
180
+ * people. Widening is publishing, and only a colleague who maintains the
181
+ * audiences may do it; a token never can, whatever its scopes (axonity-mcp#88).
182
+ */
183
+ const WIDENING_SENTENCE = /widen(ing)? a label/i;
184
+ /** The 403 explanation for a refusal whose body says why. */
185
+ function forbiddenExplanation(said) {
186
+ if (MODULE_OFF_SENTENCE.test(said)) {
187
+ return ("Forbidden (403): MODULE SWITCHED OFF. This part of Axonity is switched " +
188
+ "off in this workspace, so nothing in it can be read or changed — this " +
189
+ "is not a mistake in your call and not a limit of your token. Tell your " +
190
+ "human: a platform administrator can switch it on.");
191
+ }
192
+ if (WIDENING_SENTENCE.test(said)) {
193
+ return ("Forbidden (403): WIDENING A LABEL. Making something readable for more " +
194
+ "people (a lower level, or an audience added) is publishing it, and only " +
195
+ "a colleague who maintains those audiences may do that — never an agent " +
196
+ "or a token. Narrowing is always allowed. Keep the label as it is, or ask " +
197
+ "a colleague to widen it in Axonity.");
198
+ }
199
+ if (ADMIN_ONLY_SENTENCE.test(said)) {
200
+ return ("Forbidden (403): ADMINISTRATOR ONLY. This action is reserved for a " +
201
+ "workspace administrator, and a service token always counts as a " +
202
+ "member — so no token can do it, whatever its scopes. This is not a " +
203
+ "mistake in your call and retrying will not help. Tell your human: " +
204
+ "an administrator can do it in Axonity.");
205
+ }
206
+ return ("Forbidden (403): this service token is not allowed to perform that action. " +
207
+ "A read-only token cannot create, update, delete, or request-publish, and no " +
208
+ "token may publish directly — use request_publish_* and let a human approve.");
209
+ }
171
210
  /** 403 — the token lacks the scope for this action (e.g. read-only on a write). */
172
211
  export class ForbiddenError extends AxonityApiError {
173
212
  constructor(body) {
174
213
  const env = asEnvelope(body);
175
- const adminOnly = ADMIN_ONLY_SENTENCE.test(describeBody(body) ?? "");
176
- super(withDetail(adminOnly
177
- ? "Forbidden (403): ADMINISTRATOR ONLY. This action is reserved for a " +
178
- "workspace administrator, and a service token always counts as a " +
179
- "member — so no token can do it, whatever its scopes. This is not a " +
180
- "mistake in your call and retrying will not help. Tell your human: " +
181
- "an administrator can do it in Axonity."
182
- : "Forbidden (403): this service token is not allowed to perform that action. " +
183
- "A read-only token cannot create, update, delete, or request-publish, and no " +
184
- "token may publish directly — use request_publish_* and let a human approve.", body), 403, body, env?.code ?? "forbidden", env?.retryable ?? false);
214
+ super(withDetail(forbiddenExplanation(describeBody(body) ?? ""), body), 403, body, env?.code ?? "forbidden", env?.retryable ?? false);
185
215
  this.name = "ForbiddenError";
186
216
  }
187
217
  }
@@ -297,6 +327,10 @@ export const ROUTES_ADDED_IN = [
297
327
  pattern: /^\/api\/v1\/workflows\/operations$/,
298
328
  addedBy: "axonity-flow#802 (the mutation catalog over HTTP)",
299
329
  },
330
+ {
331
+ pattern: /^\/api\/v1\/authoring\/entity-contracts$/,
332
+ addedBy: "axonity-flow#2103 (the create contract per entity over HTTP)",
333
+ },
300
334
  ];
301
335
  /** The skew error for this call, or undefined when the status says nothing. */
302
336
  export function skewErrorFor(method, path, status, body) {
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAkCH,4FAA4F;AAC5F,MAAM,CAAC,MAAM,eAAe,GAA2B,IAAI,GAAG,CAAC;IAC7D,kBAAkB;IAClB,cAAc;IACd,8BAA8B;CAC/B,CAAC,CAA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amic",
93
93
  type: "boolean",
94
- description: "true: only tables a workflow may change. false: only reference data the author maintains. Omit for both.",
94
+ description: "true: only tables whose rows change without an author typing them. false: only reference data the author maintains. Omit for both. Derived from filledBy, which is the more precise question.",
95
+ },
96
+ {
97
+ arg: "filledBy",
98
+ query: "filled_by",
99
+ type: "string",
100
+ description: "Only tables filled this way: author, workflow or query. A value outside the three is refused rather than silently ignored.",
95
101
  },
96
102
  ],
97
103
  "data_source": [
@@ -118,5 +124,21 @@ export const LIST_FILTERS = {
118
124
  description: "Only the measures that read this table — what a table page shows.",
119
125
  },
120
126
  ],
127
+ "application": [
128
+ {
129
+ arg: "name",
130
+ query: "name",
131
+ type: "string",
132
+ description: "Only the application with exactly this name.",
133
+ },
134
+ ],
135
+ "query": [
136
+ {
137
+ arg: "dataSourceId",
138
+ query: "dataSourceId",
139
+ type: "string",
140
+ description: "Only the queries that read this source.",
141
+ },
142
+ ],
121
143
  };
122
144
  //# sourceMappingURL=listFilters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"listFilters.js","sourceRoot":"","sources":["../../src/generated/listFilters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,MAAM,CAAC,MAAM,YAAY,GAAiC;IACxD,UAAU,EAAE;QACV;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,sGAAsG;SACzG;QACD;YACE,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,kFAAkF;SACrF;KACF;IACD,OAAO,EAAE;QACP;YACE,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,uNAAuN;SAC1N;KACF;IACD,QAAQ,EAAE;QACR;YACE,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,QAAQ;YACd,WAA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ACF,CAAC"}
1
+ {"version":3,"file":"listFilters.js","sourceRoot":"","sources":["../../src/generated/listFilters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,MAAM,CAAC,MAAM,YAAY,GAAiC;IACxD,UAAU,EAAE;QACV;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,sGAAsG;SACzG;QACD;YACE,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,kFAAkF;SACrF;KACF;IACD,OAAO,EAAE;QACP;YACE,GAAG,EAAE,eAAe;YACpB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,uNAAuN;SAC1N;KACF;IACD,QAAQ,EAAE;QACR;YACE,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,0PAA0P;SAC7P;QACD;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,uGAAuG;SAC1G;KACF;IACD,eAAe,EAAE;QACf;YACE,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,0PAA0P;SAC7P;QACD;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,uGAAuG;SAC1G;KACF;IACD,gBAAgB,EAAE;QAChB;YACE,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,SAAS;YACf,WAAW,EACT,oKAAoK;SACvK;KACF;IACD,YAAY,EAAE;QACZ;YACE,GAAG,EAAE,MAAM;YACX,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,gO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