monday-cli 0.2.0 → 0.4.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 +675 -2
- package/README.md +223 -31
- package/dist/api/assets.d.ts +326 -0
- package/dist/api/assets.d.ts.map +1 -0
- package/dist/api/assets.js +519 -0
- package/dist/api/assets.js.map +1 -0
- package/dist/api/board-favorites.d.ts +329 -0
- package/dist/api/board-favorites.d.ts.map +1 -0
- package/dist/api/board-favorites.js +353 -0
- package/dist/api/board-favorites.js.map +1 -0
- package/dist/api/board-mutation-result.d.ts +9 -5
- package/dist/api/board-mutation-result.d.ts.map +1 -1
- package/dist/api/board-mutation-result.js +9 -5
- package/dist/api/board-mutation-result.js.map +1 -1
- package/dist/api/board-relation-validation.d.ts +161 -0
- package/dist/api/board-relation-validation.d.ts.map +1 -0
- package/dist/api/board-relation-validation.js +317 -0
- package/dist/api/board-relation-validation.js.map +1 -0
- package/dist/api/cache.d.ts +14 -5
- package/dist/api/cache.d.ts.map +1 -1
- package/dist/api/cache.js +8 -10
- package/dist/api/cache.js.map +1 -1
- package/dist/api/column-mapping.js +2 -2
- package/dist/api/column-mapping.js.map +1 -1
- package/dist/api/column-mutation-result.d.ts +9 -5
- package/dist/api/column-mutation-result.d.ts.map +1 -1
- package/dist/api/column-mutation-result.js +9 -5
- package/dist/api/column-mutation-result.js.map +1 -1
- package/dist/api/column-types.d.ts +37 -14
- package/dist/api/column-types.d.ts.map +1 -1
- package/dist/api/column-types.js +47 -6
- package/dist/api/column-types.js.map +1 -1
- package/dist/api/column-values.d.ts +234 -31
- package/dist/api/column-values.d.ts.map +1 -1
- package/dist/api/column-values.js +560 -124
- package/dist/api/column-values.js.map +1 -1
- package/dist/api/cross-board-search.d.ts +501 -0
- package/dist/api/cross-board-search.d.ts.map +1 -0
- package/dist/api/cross-board-search.js +547 -0
- package/dist/api/cross-board-search.js.map +1 -0
- package/dist/api/dev-conventions.d.ts +1038 -0
- package/dist/api/dev-conventions.d.ts.map +1 -0
- package/dist/api/dev-conventions.js +1556 -0
- package/dist/api/dev-conventions.js.map +1 -0
- package/dist/api/documents.d.ts +519 -0
- package/dist/api/documents.d.ts.map +1 -0
- package/dist/api/documents.js +586 -0
- package/dist/api/documents.js.map +1 -0
- package/dist/api/dry-run.d.ts +32 -5
- package/dist/api/dry-run.d.ts.map +1 -1
- package/dist/api/dry-run.js +149 -32
- package/dist/api/dry-run.js.map +1 -1
- package/dist/api/errors.d.ts.map +1 -1
- package/dist/api/errors.js +28 -7
- package/dist/api/errors.js.map +1 -1
- package/dist/api/group-mutation-result.d.ts +9 -5
- package/dist/api/group-mutation-result.d.ts.map +1 -1
- package/dist/api/group-mutation-result.js +9 -5
- package/dist/api/group-mutation-result.js.map +1 -1
- package/dist/api/item-history-projection.d.ts +919 -0
- package/dist/api/item-history-projection.d.ts.map +1 -0
- package/dist/api/item-history-projection.js +1104 -0
- package/dist/api/item-history-projection.js.map +1 -0
- package/dist/api/item-mutation-execute.d.ts +82 -0
- package/dist/api/item-mutation-execute.d.ts.map +1 -0
- package/dist/api/item-mutation-execute.js +199 -0
- package/dist/api/item-mutation-execute.js.map +1 -0
- package/dist/api/item-watch.d.ts +263 -0
- package/dist/api/item-watch.d.ts.map +1 -0
- package/dist/api/item-watch.js +709 -0
- package/dist/api/item-watch.js.map +1 -0
- package/dist/api/multipart-transport.d.ts +223 -0
- package/dist/api/multipart-transport.d.ts.map +1 -0
- package/dist/api/multipart-transport.js +274 -0
- package/dist/api/multipart-transport.js.map +1 -0
- package/dist/api/notifications.d.ts +156 -0
- package/dist/api/notifications.d.ts.map +1 -0
- package/dist/api/notifications.js +215 -0
- package/dist/api/notifications.js.map +1 -0
- package/dist/api/oauth-test-helper.d.ts +64 -0
- package/dist/api/oauth-test-helper.d.ts.map +1 -0
- package/dist/api/oauth-test-helper.js +179 -0
- package/dist/api/oauth-test-helper.js.map +1 -0
- package/dist/api/oauth.d.ts +198 -0
- package/dist/api/oauth.d.ts.map +1 -0
- package/dist/api/oauth.js +471 -0
- package/dist/api/oauth.js.map +1 -0
- package/dist/api/parallel-dispatch.d.ts +155 -0
- package/dist/api/parallel-dispatch.d.ts.map +1 -0
- package/dist/api/parallel-dispatch.js +243 -0
- package/dist/api/parallel-dispatch.js.map +1 -0
- package/dist/api/partial-success-bulk.d.ts +480 -0
- package/dist/api/partial-success-bulk.d.ts.map +1 -0
- package/dist/api/partial-success-bulk.js +436 -0
- package/dist/api/partial-success-bulk.js.map +1 -0
- package/dist/api/partial-success-mutation.d.ts +13 -1
- package/dist/api/partial-success-mutation.d.ts.map +1 -1
- package/dist/api/partial-success-mutation.js +5 -1
- package/dist/api/partial-success-mutation.js.map +1 -1
- package/dist/api/people.d.ts +54 -1
- package/dist/api/people.d.ts.map +1 -1
- package/dist/api/people.js +27 -3
- package/dist/api/people.js.map +1 -1
- package/dist/api/probes.d.ts +487 -0
- package/dist/api/probes.d.ts.map +1 -0
- package/dist/api/probes.js +881 -0
- package/dist/api/probes.js.map +1 -0
- package/dist/api/raw-document.d.ts.map +1 -1
- package/dist/api/raw-document.js +2 -2
- package/dist/api/raw-document.js.map +1 -1
- package/dist/api/raw-write.d.ts +12 -4
- package/dist/api/raw-write.d.ts.map +1 -1
- package/dist/api/raw-write.js +32 -14
- package/dist/api/raw-write.js.map +1 -1
- package/dist/api/resolution-context.d.ts +23 -11
- package/dist/api/resolution-context.d.ts.map +1 -1
- package/dist/api/resolution-context.js +53 -12
- package/dist/api/resolution-context.js.map +1 -1
- package/dist/api/resolution-pass.d.ts +30 -1
- package/dist/api/resolution-pass.d.ts.map +1 -1
- package/dist/api/resolution-pass.js +36 -1
- package/dist/api/resolution-pass.js.map +1 -1
- package/dist/api/resolve-client.d.ts +22 -0
- package/dist/api/resolve-client.d.ts.map +1 -1
- package/dist/api/resolve-client.js +9 -1
- package/dist/api/resolve-client.js.map +1 -1
- package/dist/api/response-root.d.ts +92 -46
- package/dist/api/response-root.d.ts.map +1 -1
- package/dist/api/response-root.js +93 -41
- package/dist/api/response-root.js.map +1 -1
- package/dist/api/tag-directory.d.ts +154 -0
- package/dist/api/tag-directory.d.ts.map +1 -0
- package/dist/api/tag-directory.js +325 -0
- package/dist/api/tag-directory.js.map +1 -0
- package/dist/api/time-tracking.d.ts +165 -0
- package/dist/api/time-tracking.d.ts.map +1 -0
- package/dist/api/time-tracking.js +135 -0
- package/dist/api/time-tracking.js.map +1 -0
- package/dist/api/transport.js +3 -3
- package/dist/api/transport.js.map +1 -1
- package/dist/api/usage.d.ts +190 -0
- package/dist/api/usage.d.ts.map +1 -0
- package/dist/api/usage.js +194 -0
- package/dist/api/usage.js.map +1 -0
- package/dist/api/users-fan-out-mutation.d.ts.map +1 -1
- package/dist/api/users-fan-out-mutation.js +10 -5
- package/dist/api/users-fan-out-mutation.js.map +1 -1
- package/dist/api/webhooks.d.ts +357 -0
- package/dist/api/webhooks.d.ts.map +1 -0
- package/dist/api/webhooks.js +333 -0
- package/dist/api/webhooks.js.map +1 -0
- package/dist/cli/envelope-out.d.ts +18 -1
- package/dist/cli/envelope-out.d.ts.map +1 -1
- package/dist/cli/envelope-out.js +16 -2
- package/dist/cli/envelope-out.js.map +1 -1
- package/dist/cli/program.d.ts.map +1 -1
- package/dist/cli/program.js +120 -1
- package/dist/cli/program.js.map +1 -1
- package/dist/cli/run.d.ts +32 -0
- package/dist/cli/run.d.ts.map +1 -1
- package/dist/cli/run.js +3 -0
- package/dist/cli/run.js.map +1 -1
- package/dist/commands/account/tags.d.ts +37 -0
- package/dist/commands/account/tags.d.ts.map +1 -0
- package/dist/commands/account/tags.js +84 -0
- package/dist/commands/account/tags.js.map +1 -0
- package/dist/commands/auth/login.d.ts +14 -0
- package/dist/commands/auth/login.d.ts.map +1 -0
- package/dist/commands/auth/login.js +314 -0
- package/dist/commands/auth/login.js.map +1 -0
- package/dist/commands/auth/logout.d.ts +28 -0
- package/dist/commands/auth/logout.d.ts.map +1 -0
- package/dist/commands/auth/logout.js +94 -0
- package/dist/commands/auth/logout.js.map +1 -0
- package/dist/commands/board/archive.d.ts.map +1 -1
- package/dist/commands/board/archive.js +14 -14
- package/dist/commands/board/archive.js.map +1 -1
- package/dist/commands/board/column-create.d.ts +9 -8
- package/dist/commands/board/column-create.d.ts.map +1 -1
- package/dist/commands/board/column-create.js +61 -51
- package/dist/commands/board/column-create.js.map +1 -1
- package/dist/commands/board/column-delete.d.ts.map +1 -1
- package/dist/commands/board/column-delete.js +15 -16
- package/dist/commands/board/column-delete.js.map +1 -1
- package/dist/commands/board/column-update.d.ts.map +1 -1
- package/dist/commands/board/column-update.js +23 -22
- package/dist/commands/board/column-update.js.map +1 -1
- package/dist/commands/board/create.d.ts.map +1 -1
- package/dist/commands/board/create.js +14 -17
- package/dist/commands/board/create.js.map +1 -1
- package/dist/commands/board/delete.d.ts.map +1 -1
- package/dist/commands/board/delete.js +12 -15
- package/dist/commands/board/delete.js.map +1 -1
- package/dist/commands/board/describe.d.ts.map +1 -1
- package/dist/commands/board/describe.js +30 -0
- package/dist/commands/board/describe.js.map +1 -1
- package/dist/commands/board/duplicate.d.ts.map +1 -1
- package/dist/commands/board/duplicate.js +12 -13
- package/dist/commands/board/duplicate.js.map +1 -1
- package/dist/commands/board/favorites.d.ts +33 -0
- package/dist/commands/board/favorites.d.ts.map +1 -0
- package/dist/commands/board/favorites.js +74 -0
- package/dist/commands/board/favorites.js.map +1 -0
- package/dist/commands/board/find.d.ts +1 -1
- package/dist/commands/board/group-archive.d.ts.map +1 -1
- package/dist/commands/board/group-archive.js +12 -16
- package/dist/commands/board/group-archive.js.map +1 -1
- package/dist/commands/board/group-create.d.ts.map +1 -1
- package/dist/commands/board/group-create.js +9 -19
- package/dist/commands/board/group-create.js.map +1 -1
- package/dist/commands/board/group-delete.d.ts.map +1 -1
- package/dist/commands/board/group-delete.js +12 -16
- package/dist/commands/board/group-delete.js.map +1 -1
- package/dist/commands/board/group-duplicate.d.ts.map +1 -1
- package/dist/commands/board/group-duplicate.js +12 -16
- package/dist/commands/board/group-duplicate.js.map +1 -1
- package/dist/commands/board/group-update.d.ts.map +1 -1
- package/dist/commands/board/group-update.js +12 -11
- package/dist/commands/board/group-update.js.map +1 -1
- package/dist/commands/board/list.d.ts +1 -1
- package/dist/commands/board/update.d.ts.map +1 -1
- package/dist/commands/board/update.js +16 -11
- package/dist/commands/board/update.js.map +1 -1
- package/dist/commands/cache/list.d.ts +2 -0
- package/dist/commands/cache/list.d.ts.map +1 -1
- package/dist/commands/cache/list.js +2 -2
- package/dist/commands/cache/list.js.map +1 -1
- package/dist/commands/completion.d.ts +188 -0
- package/dist/commands/completion.d.ts.map +1 -0
- package/dist/commands/completion.js +418 -0
- package/dist/commands/completion.js.map +1 -0
- package/dist/commands/dev/_shared.d.ts +40 -0
- package/dist/commands/dev/_shared.d.ts.map +1 -0
- package/dist/commands/dev/_shared.js +104 -0
- package/dist/commands/dev/_shared.js.map +1 -0
- package/dist/commands/dev/configure.d.ts +36 -0
- package/dist/commands/dev/configure.d.ts.map +1 -0
- package/dist/commands/dev/configure.js +145 -0
- package/dist/commands/dev/configure.js.map +1 -0
- package/dist/commands/dev/discover.d.ts +34 -0
- package/dist/commands/dev/discover.d.ts.map +1 -0
- package/dist/commands/dev/discover.js +117 -0
- package/dist/commands/dev/discover.js.map +1 -0
- package/dist/commands/dev/doctor.d.ts +39 -0
- package/dist/commands/dev/doctor.d.ts.map +1 -0
- package/dist/commands/dev/doctor.js +91 -0
- package/dist/commands/dev/doctor.js.map +1 -0
- package/dist/commands/dev/epic/items.d.ts +24 -0
- package/dist/commands/dev/epic/items.d.ts.map +1 -0
- package/dist/commands/dev/epic/items.js +103 -0
- package/dist/commands/dev/epic/items.js.map +1 -0
- package/dist/commands/dev/epic/list.d.ts +36 -0
- package/dist/commands/dev/epic/list.d.ts.map +1 -0
- package/dist/commands/dev/epic/list.js +120 -0
- package/dist/commands/dev/epic/list.js.map +1 -0
- package/dist/commands/dev/release/list.d.ts +21 -0
- package/dist/commands/dev/release/list.d.ts.map +1 -0
- package/dist/commands/dev/release/list.js +73 -0
- package/dist/commands/dev/release/list.js.map +1 -0
- package/dist/commands/dev/sprint/current.d.ts +24 -0
- package/dist/commands/dev/sprint/current.d.ts.map +1 -0
- package/dist/commands/dev/sprint/current.js +90 -0
- package/dist/commands/dev/sprint/current.js.map +1 -0
- package/dist/commands/dev/sprint/items.d.ts +34 -0
- package/dist/commands/dev/sprint/items.d.ts.map +1 -0
- package/dist/commands/dev/sprint/items.js +118 -0
- package/dist/commands/dev/sprint/items.js.map +1 -0
- package/dist/commands/dev/sprint/list.d.ts +41 -0
- package/dist/commands/dev/sprint/list.d.ts.map +1 -0
- package/dist/commands/dev/sprint/list.js +104 -0
- package/dist/commands/dev/sprint/list.js.map +1 -0
- package/dist/commands/dev/task/block.d.ts +29 -0
- package/dist/commands/dev/task/block.d.ts.map +1 -0
- package/dist/commands/dev/task/block.js +106 -0
- package/dist/commands/dev/task/block.js.map +1 -0
- package/dist/commands/dev/task/done.d.ts +30 -0
- package/dist/commands/dev/task/done.d.ts.map +1 -0
- package/dist/commands/dev/task/done.js +113 -0
- package/dist/commands/dev/task/done.js.map +1 -0
- package/dist/commands/dev/task/list.d.ts +42 -0
- package/dist/commands/dev/task/list.d.ts.map +1 -0
- package/dist/commands/dev/task/list.js +227 -0
- package/dist/commands/dev/task/list.js.map +1 -0
- package/dist/commands/dev/task/start.d.ts +29 -0
- package/dist/commands/dev/task/start.d.ts.map +1 -0
- package/dist/commands/dev/task/start.js +90 -0
- package/dist/commands/dev/task/start.js.map +1 -0
- package/dist/commands/doc/get.d.ts +46 -0
- package/dist/commands/doc/get.d.ts.map +1 -0
- package/dist/commands/doc/get.js +95 -0
- package/dist/commands/doc/get.js.map +1 -0
- package/dist/commands/doc/list.d.ts +83 -0
- package/dist/commands/doc/list.d.ts.map +1 -0
- package/dist/commands/doc/list.js +248 -0
- package/dist/commands/doc/list.js.map +1 -0
- package/dist/commands/emit.d.ts.map +1 -1
- package/dist/commands/emit.js +5 -3
- package/dist/commands/emit.js.map +1 -1
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +141 -0
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/item/archive.d.ts.map +1 -1
- package/dist/commands/item/archive.js +11 -0
- package/dist/commands/item/archive.js.map +1 -1
- package/dist/commands/item/clear.d.ts.map +1 -1
- package/dist/commands/item/clear.js +15 -0
- package/dist/commands/item/clear.js.map +1 -1
- package/dist/commands/item/create.d.ts.map +1 -1
- package/dist/commands/item/create.js +41 -8
- package/dist/commands/item/create.js.map +1 -1
- package/dist/commands/item/delete.d.ts.map +1 -1
- package/dist/commands/item/delete.js +11 -0
- package/dist/commands/item/delete.js.map +1 -1
- package/dist/commands/item/duplicate.d.ts.map +1 -1
- package/dist/commands/item/duplicate.js +12 -0
- package/dist/commands/item/duplicate.js.map +1 -1
- package/dist/commands/item/history.d.ts +60 -0
- package/dist/commands/item/history.d.ts.map +1 -0
- package/dist/commands/item/history.js +309 -0
- package/dist/commands/item/history.js.map +1 -0
- package/dist/commands/item/list.d.ts.map +1 -1
- package/dist/commands/item/list.js +16 -13
- package/dist/commands/item/list.js.map +1 -1
- package/dist/commands/item/move.d.ts.map +1 -1
- package/dist/commands/item/move.js +41 -7
- package/dist/commands/item/move.js.map +1 -1
- package/dist/commands/item/search.d.ts +99 -15
- package/dist/commands/item/search.d.ts.map +1 -1
- package/dist/commands/item/search.js +480 -36
- package/dist/commands/item/search.js.map +1 -1
- package/dist/commands/item/set.d.ts.map +1 -1
- package/dist/commands/item/set.js +52 -8
- package/dist/commands/item/set.js.map +1 -1
- package/dist/commands/item/time-track/start.d.ts +61 -0
- package/dist/commands/item/time-track/start.d.ts.map +1 -0
- package/dist/commands/item/time-track/start.js +138 -0
- package/dist/commands/item/time-track/start.js.map +1 -0
- package/dist/commands/item/time-track/stop.d.ts +32 -0
- package/dist/commands/item/time-track/stop.d.ts.map +1 -0
- package/dist/commands/item/time-track/stop.js +97 -0
- package/dist/commands/item/time-track/stop.js.map +1 -0
- package/dist/commands/item/update.d.ts +2 -0
- package/dist/commands/item/update.d.ts.map +1 -1
- package/dist/commands/item/update.js +164 -113
- package/dist/commands/item/update.js.map +1 -1
- package/dist/commands/item/upload.d.ts +108 -0
- package/dist/commands/item/upload.d.ts.map +1 -0
- package/dist/commands/item/upload.js +370 -0
- package/dist/commands/item/upload.js.map +1 -0
- package/dist/commands/item/upsert.d.ts.map +1 -1
- package/dist/commands/item/upsert.js +48 -1
- package/dist/commands/item/upsert.js.map +1 -1
- package/dist/commands/item/watch.d.ts +90 -0
- package/dist/commands/item/watch.d.ts.map +1 -0
- package/dist/commands/item/watch.js +342 -0
- package/dist/commands/item/watch.js.map +1 -0
- package/dist/commands/notification/send.d.ts +60 -0
- package/dist/commands/notification/send.d.ts.map +1 -0
- package/dist/commands/notification/send.js +147 -0
- package/dist/commands/notification/send.js.map +1 -0
- package/dist/commands/parse-argv.d.ts.map +1 -1
- package/dist/commands/parse-argv.js +14 -4
- package/dist/commands/parse-argv.js.map +1 -1
- package/dist/commands/raw/index.d.ts.map +1 -1
- package/dist/commands/raw/index.js +13 -15
- package/dist/commands/raw/index.js.map +1 -1
- package/dist/commands/run-by-id-lookup.d.ts.map +1 -1
- package/dist/commands/run-by-id-lookup.js +2 -2
- package/dist/commands/run-by-id-lookup.js.map +1 -1
- package/dist/commands/schema/index.d.ts +2 -0
- package/dist/commands/schema/index.d.ts.map +1 -1
- package/dist/commands/status.d.ts +120 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +365 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/update/body-source.d.ts.map +1 -1
- package/dist/commands/update/body-source.js +2 -2
- package/dist/commands/update/body-source.js.map +1 -1
- package/dist/commands/update/create.d.ts +2 -3
- package/dist/commands/update/create.d.ts.map +1 -1
- package/dist/commands/update/create.js +15 -3
- package/dist/commands/update/create.js.map +1 -1
- package/dist/commands/update/delete.d.ts.map +1 -1
- package/dist/commands/update/delete.js +11 -0
- package/dist/commands/update/delete.js.map +1 -1
- package/dist/commands/update/edit.d.ts.map +1 -1
- package/dist/commands/update/edit.js +11 -0
- package/dist/commands/update/edit.js.map +1 -1
- package/dist/commands/update/list.d.ts.map +1 -1
- package/dist/commands/update/list.js +15 -12
- package/dist/commands/update/list.js.map +1 -1
- package/dist/commands/update/reply.d.ts.map +1 -1
- package/dist/commands/update/reply.js +11 -0
- package/dist/commands/update/reply.js.map +1 -1
- package/dist/commands/update/toggle.d.ts.map +1 -1
- package/dist/commands/update/toggle.js +13 -0
- package/dist/commands/update/toggle.js.map +1 -1
- package/dist/commands/update/upload.d.ts +69 -0
- package/dist/commands/update/upload.d.ts.map +1 -0
- package/dist/commands/update/upload.js +235 -0
- package/dist/commands/update/upload.js.map +1 -0
- package/dist/commands/usage.d.ts +58 -0
- package/dist/commands/usage.d.ts.map +1 -0
- package/dist/commands/usage.js +94 -0
- package/dist/commands/usage.js.map +1 -0
- package/dist/commands/webhook/create.d.ts +74 -0
- package/dist/commands/webhook/create.d.ts.map +1 -0
- package/dist/commands/webhook/create.js +150 -0
- package/dist/commands/webhook/create.js.map +1 -0
- package/dist/commands/webhook/delete.d.ts +46 -0
- package/dist/commands/webhook/delete.d.ts.map +1 -0
- package/dist/commands/webhook/delete.js +141 -0
- package/dist/commands/webhook/delete.js.map +1 -0
- package/dist/commands/webhook/list.d.ts +23 -0
- package/dist/commands/webhook/list.d.ts.map +1 -0
- package/dist/commands/webhook/list.js +68 -0
- package/dist/commands/webhook/list.js.map +1 -0
- package/dist/commands/workspace/create.d.ts.map +1 -1
- package/dist/commands/workspace/create.js +16 -0
- package/dist/commands/workspace/create.js.map +1 -1
- package/dist/commands/workspace/delete.d.ts.map +1 -1
- package/dist/commands/workspace/delete.js +13 -13
- package/dist/commands/workspace/delete.js.map +1 -1
- package/dist/commands/workspace/list.d.ts +1 -1
- package/dist/commands/workspace/update.d.ts.map +1 -1
- package/dist/commands/workspace/update.js +15 -15
- package/dist/commands/workspace/update.js.map +1 -1
- package/dist/config/credentials.d.ts +189 -0
- package/dist/config/credentials.d.ts.map +1 -0
- package/dist/config/credentials.js +300 -0
- package/dist/config/credentials.js.map +1 -0
- package/dist/config/profiles.d.ts +125 -0
- package/dist/config/profiles.d.ts.map +1 -0
- package/dist/config/profiles.js +227 -0
- package/dist/config/profiles.js.map +1 -0
- package/dist/types/global-flags.d.ts +1 -1
- package/dist/types/global-flags.d.ts.map +1 -1
- package/dist/types/global-flags.js +28 -16
- package/dist/types/global-flags.js.map +1 -1
- package/dist/types/ids.d.ts +4 -0
- package/dist/types/ids.d.ts.map +1 -1
- package/dist/types/ids.js +12 -3
- package/dist/types/ids.js.map +1 -1
- package/dist/utils/errors.d.ts +57 -3
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +69 -2
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/fs.d.ts +35 -0
- package/dist/utils/fs.d.ts.map +1 -0
- package/dist/utils/fs.js +36 -0
- package/dist/utils/fs.js.map +1 -0
- package/dist/utils/json.d.ts +60 -0
- package/dist/utils/json.d.ts.map +1 -0
- package/dist/utils/json.js +86 -0
- package/dist/utils/json.js.map +1 -0
- package/dist/utils/mime.d.ts +24 -0
- package/dist/utils/mime.d.ts.map +1 -0
- package/dist/utils/mime.js +64 -0
- package/dist/utils/mime.js.map +1 -0
- package/dist/utils/output/envelope.d.ts +30 -0
- package/dist/utils/output/envelope.d.ts.map +1 -1
- package/dist/utils/output/envelope.js +26 -0
- package/dist/utils/output/envelope.js.map +1 -1
- package/dist/utils/output/ndjson.d.ts +90 -3
- package/dist/utils/output/ndjson.d.ts.map +1 -1
- package/dist/utils/output/ndjson.js +33 -0
- package/dist/utils/output/ndjson.js.map +1 -1
- package/dist/utils/redact.d.ts.map +1 -1
- package/dist/utils/redact.js +31 -0
- package/dist/utils/redact.js.map +1 -1
- package/dist/utils/signal.d.ts +42 -0
- package/dist/utils/signal.d.ts.map +1 -0
- package/dist/utils/signal.js +45 -0
- package/dist/utils/signal.js.map +1 -0
- package/package.json +2 -1
- package/dist/commands/account/client-helper.d.ts +0 -37
- package/dist/commands/account/client-helper.d.ts.map +0 -1
- package/dist/commands/account/client-helper.js +0 -55
- package/dist/commands/account/client-helper.js.map +0 -1
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
* a fresh `FetchTransport` is built per command invocation, so each
|
|
25
25
|
* call sees the live config (same as the SDK's per-call client).
|
|
26
26
|
*/
|
|
27
|
+
import { type Transport } from './transport.js';
|
|
28
|
+
import { type MultipartTransport } from './multipart-transport.js';
|
|
27
29
|
import { MondayClient, type MondayResponse } from './client.js';
|
|
28
30
|
import { type GlobalFlags } from '../types/global-flags.js';
|
|
29
31
|
import type { Complexity, DataSource } from '../utils/output/envelope.js';
|
|
@@ -54,6 +56,26 @@ export interface ResolvedClient {
|
|
|
54
56
|
* through `toEmit` below.
|
|
55
57
|
*/
|
|
56
58
|
readonly apiVersion: string;
|
|
59
|
+
/**
|
|
60
|
+
* The underlying `Transport` (the same instance the client is
|
|
61
|
+
* built over). Exposed so commands that bypass `MondayClient`'s
|
|
62
|
+
* typed surface — like `monday usage`'s `fetchUsage`, which calls
|
|
63
|
+
* the raw transport via its own internal client to keep the probe
|
|
64
|
+
* vs. command code paths sharing one Transport contract — don't
|
|
65
|
+
* have to rebuild the transport via duplicating the
|
|
66
|
+
* env → flag → SDK-pin precedence.
|
|
67
|
+
*/
|
|
68
|
+
readonly transport: Transport;
|
|
69
|
+
/**
|
|
70
|
+
* Multipart-transport seam for v0.4-M31 asset-upload verbs
|
|
71
|
+
* (`item upload` / `update upload`). Mirrors `transport` for the
|
|
72
|
+
* JSON path: `ctx.multipartTransport` (test injection) wins;
|
|
73
|
+
* otherwise built fresh from the same resolved endpoint / token /
|
|
74
|
+
* version / timeout the JSON transport uses. Action bodies that
|
|
75
|
+
* don't upload files leave this slot untouched — building the
|
|
76
|
+
* multipart transport is cheap (no I/O until `request()`).
|
|
77
|
+
*/
|
|
78
|
+
readonly multipart: MultipartTransport;
|
|
57
79
|
/**
|
|
58
80
|
* Builds the `EmitFromNetworkResult` shape for a given network
|
|
59
81
|
* response — closes over the resolved `apiVersion` so call sites
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-client.d.ts","sourceRoot":"","sources":["../../src/api/resolve-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;
|
|
1
|
+
{"version":3,"file":"resolve-client.d.ts","sourceRoot":"","sources":["../../src/api/resolve-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,YAAY,EAEZ,KAAK,cAAc,EACpB,MAAM,aAAa,CAAC;AAErB,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IACvC,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC;;;;;;;OAOG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;;;;;;;OAQG;IACH,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B;;;;;;;;OAQG;IACH,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC;;;;;;;;OAQG;IACH,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,qBAAqB,CAAC;CAC5E;AAED,eAAO,MAAM,aAAa,GACxB,KAAK,UAAU,EACf,aAAa,OAAO,KACnB,cAwDF,CAAC"}
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
* call sees the live config (same as the SDK's per-call client).
|
|
26
26
|
*/
|
|
27
27
|
import { createFetchTransport } from './transport.js';
|
|
28
|
+
import { createMultipartFetchTransport, } from './multipart-transport.js';
|
|
28
29
|
import { MondayClient, PINNED_API_VERSION, } from './client.js';
|
|
29
30
|
import { loadConfig } from '../config/load.js';
|
|
30
31
|
import { parseGlobalFlags, } from '../types/global-flags.js';
|
|
@@ -43,6 +44,13 @@ export const resolveClient = (ctx, programOpts) => {
|
|
|
43
44
|
apiVersion,
|
|
44
45
|
timeoutMs,
|
|
45
46
|
});
|
|
47
|
+
const multipart = ctx.multipartTransport ??
|
|
48
|
+
createMultipartFetchTransport({
|
|
49
|
+
endpoint: config.apiUrl,
|
|
50
|
+
apiToken: config.apiToken,
|
|
51
|
+
apiVersion,
|
|
52
|
+
timeoutMs,
|
|
53
|
+
});
|
|
46
54
|
const client = new MondayClient({
|
|
47
55
|
transport,
|
|
48
56
|
signal: ctx.signal,
|
|
@@ -65,6 +73,6 @@ export const resolveClient = (ctx, programOpts) => {
|
|
|
65
73
|
complexity: response.complexity,
|
|
66
74
|
cacheAgeSeconds: null,
|
|
67
75
|
});
|
|
68
|
-
return { client, globalFlags, apiVersion, toEmit };
|
|
76
|
+
return { client, globalFlags, apiVersion, transport, multipart, toEmit };
|
|
69
77
|
};
|
|
70
78
|
//# sourceMappingURL=resolve-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-client.js","sourceRoot":"","sources":["../../src/api/resolve-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"resolve-client.js","sourceRoot":"","sources":["../../src/api/resolve-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,oBAAoB,EAAkB,MAAM,gBAAgB,CAAC;AACtE,OAAO,EACL,6BAA6B,GAE9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,YAAY,EACZ,kBAAkB,GAEnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,gBAAgB,GAEjB,MAAM,0BAA0B,CAAC;AAkElC,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,GAAe,EACf,WAAoB,EACJ,EAAE;IAClB,MAAM,WAAW,GAAG,gBAAgB,CAAC,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IAC3D,MAAM,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAEnC,4DAA4D;IAC5D,MAAM,UAAU,GACd,WAAW,CAAC,UAAU,IAAI,MAAM,CAAC,UAAU,IAAI,kBAAkB,CAAC;IAEpE,iEAAiE;IACjE,iEAAiE;IACjE,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,IAAI,MAAM,CAAC,gBAAgB,CAAC;IAEjE,MAAM,SAAS,GACb,GAAG,CAAC,SAAS;QACb,oBAAoB,CAAC;YACnB,QAAQ,EAAE,MAAM,CAAC,MAAM;YACvB,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,UAAU;YACV,SAAS;SACV,CAAC,CAAC;IAEL,MAAM,SAAS,GACb,GAAG,CAAC,kBAAkB;QACtB,6BAA6B,CAAC;YAC5B,QAAQ,EAAE,MAAM,CAAC,MAAM;YACvB,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,UAAU;YACV,SAAS;SACV,CAAC,CAAC;IAEL,MAAM,MAAM,GAAG,IAAI,YAAY,CAAC;QAC9B,SAAS;QACT,MAAM,EAAE,GAAG,CAAC,MAAM;QAClB,OAAO,EAAE,WAAW,CAAC,KAAK;QAC1B,OAAO,EAAE,WAAW,CAAC,OAAO;KAC7B,CAAC,CAAC;IAEH,+DAA+D;IAC/D,+DAA+D;IAC/D,8DAA8D;IAC9D,iEAAiE;IACjE,mEAAmE;IACnE,wDAAwD;IACxD,4DAA4D;IAC5D,sCAAsC;IACtC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IACnC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAE3B,MAAM,MAAM,GAAG,CAAI,QAA2B,EAAyB,EAAE,CAAC,CAAC;QACzE,MAAM,EAAE,MAAM;QACd,UAAU;QACV,UAAU,EAAE,QAAQ,CAAC,UAAU;QAC/B,eAAe,EAAE,IAAI;KACtB,CAAC,CAAC;IAEH,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;AAC3E,CAAC,CAAC"}
|
|
@@ -1,65 +1,111 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Response-root field assertion (R41
|
|
2
|
+
* Response-root field assertion (R41 + R42 lifts, v0.2-plan §22).
|
|
3
3
|
*
|
|
4
4
|
* Distinguishes "key absent" (response-shape drift →
|
|
5
5
|
* `internal_error`, whole-call) from "value null" (resource missing
|
|
6
|
-
* /
|
|
7
|
-
* F1 + round-3 F1 pinned the contract; R41
|
|
8
|
-
* that workspace add-users / workspace remove-users / board
|
|
9
|
-
* users each
|
|
6
|
+
* / per-record idiomatic null → `not_found`, per-record). Codex M14
|
|
7
|
+
* round-2 F1 + round-3 F1 pinned the contract; R41 lifted the inline
|
|
8
|
+
* check that workspace add-users / workspace remove-users / board
|
|
9
|
+
* add-users each shipped verbatim; R42 (post-v0.2 cleanup window)
|
|
10
|
+
* extends the same helper across the ~32 single-target mutation
|
|
11
|
+
* verbs that previously conflated the two cases (or left the
|
|
12
|
+
* missing-key path silent — projector-only null-handling treated
|
|
13
|
+
* "key absent" the same as "value null").
|
|
10
14
|
*
|
|
11
|
-
* **
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* missing-root-key vs null-value distinction. R42 (retroactive
|
|
15
|
-
* sweep across pre-M14 mutation verbs) handles unifying them; R41
|
|
16
|
-
* stays scoped to the M14 + M15 partial-success-fan-out family.
|
|
15
|
+
* **Two modes** controlled by `nullHandling` (required — keep the
|
|
16
|
+
* caller explicit so a future site doesn't silently inherit the
|
|
17
|
+
* wrong behaviour):
|
|
17
18
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
19
|
+
* - `'caller_handles'` (single-target verbs, R42): only check key
|
|
20
|
+
* presence. The caller's downstream projector handles null-value
|
|
21
|
+
* per-noun semantics — most M5b/M9-M12 verbs throw `not_found`
|
|
22
|
+
* from the projector for `null` (Monday's idiomatic missing-
|
|
23
|
+
* payload signal); item set throws `internal_error` for `null`
|
|
24
|
+
* per its M5b decision (an item that exists must always return a
|
|
25
|
+
* payload from `change_*`). Either way, R42's missing-key check
|
|
26
|
+
* surfaces FIRST and produces a uniform `internal_error` for
|
|
27
|
+
* schema drift, regardless of the noun's null-value choice.
|
|
20
28
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
29
|
+
* - `'throw_not_found'` (partial-success-fan-out verbs, R41): also
|
|
30
|
+
* check `data[key]` for null/undefined and throw `not_found` so
|
|
31
|
+
* `dispatchSequential` slots it into the per-record failure
|
|
32
|
+
* array (whereas `internal_error` propagates and aborts the
|
|
33
|
+
* whole call). The `notFoundTarget` field shapes the not_found
|
|
34
|
+
* message phrasing and details.
|
|
35
|
+
*
|
|
36
|
+
* **Used by:**
|
|
37
|
+
* - `'throw_not_found'` mode: `users-fan-out-mutation.ts`
|
|
38
|
+
* (wraps board add-users / workspace add-users / workspace
|
|
39
|
+
* remove-users via `dispatchSequential`).
|
|
40
|
+
* - `'caller_handles'` mode (R42 sweep): every single-target
|
|
41
|
+
* mutation verb across M5b → M17 (item set / clear / update,
|
|
42
|
+
* item create / archive / delete / duplicate / move / upsert,
|
|
43
|
+
* update create / reply / edit / delete / toggle, board create
|
|
44
|
+
* / update / archive / delete / duplicate / add-users, column-
|
|
45
|
+
* create / update / delete, group-create / update / archive /
|
|
46
|
+
* duplicate / delete). M15-M17 sites inline the check
|
|
47
|
+
* verbatim pre-R42; the lift consolidates that boilerplate
|
|
48
|
+
* onto this helper. Pre-M14 (M5b/M9-M12) sites had no inline
|
|
49
|
+
* missing-key check; R42 adds it as net-new behaviour, picking
|
|
50
|
+
* up the M14 contract distinction proactively.
|
|
51
|
+
*
|
|
52
|
+
* **Not used by:** `update clear-all` per-target dispatch — that
|
|
53
|
+
* site uses `assertUpdateMutationPresent` (api/update-mutation-
|
|
54
|
+
* result.ts) which has a different contract (treats null +
|
|
55
|
+
* undefined uniformly as `not_found`, pre-dating M14's
|
|
56
|
+
* distinction). Migrating it is a separate question for v0.3
|
|
57
|
+
* (the two helpers may usefully merge).
|
|
28
58
|
*/
|
|
29
59
|
export interface AssertResponseFieldPresentInputs {
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
|
|
60
|
+
/**
|
|
61
|
+
* The response data object. Accepted as `unknown` so callers can
|
|
62
|
+
* pass `response.data` (typed via per-verb wire interfaces like
|
|
63
|
+
* `ChangeSimpleResponse`) without casting at every site; the
|
|
64
|
+
* helper runtime-narrows to a `Record<string, unknown>` once.
|
|
65
|
+
*/
|
|
66
|
+
readonly data: unknown;
|
|
67
|
+
/** The mutation root key name (e.g. `'archive_item'`). */
|
|
33
68
|
readonly key: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* GraphQL operation name
|
|
37
|
-
*
|
|
69
|
+
/**
|
|
70
|
+
* The operation label for `internal_error` messages — typically
|
|
71
|
+
* the GraphQL operation name (PascalCase). Distinct from `key`
|
|
72
|
+
* (snake_case mutation field).
|
|
73
|
+
*/
|
|
38
74
|
readonly operationLabel: string;
|
|
39
|
-
/**
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
75
|
+
/**
|
|
76
|
+
* Detail map echoed in the `internal_error` thrown when `key` is
|
|
77
|
+
* absent. Caller supplies the full set — for two-target partial-
|
|
78
|
+
* success-fan-out verbs that's `{[scopeKey]: scopeId, [targetKey]: targetId}`;
|
|
79
|
+
* for single-target verbs it's just `{[idKey]: idValue}` (or a
|
|
80
|
+
* pair like `{board_id, item_id}` for two-tuple wire signatures).
|
|
81
|
+
* The schema-drift `hint` is appended automatically.
|
|
82
|
+
*/
|
|
83
|
+
readonly details: Readonly<Record<string, unknown>>;
|
|
84
|
+
/**
|
|
85
|
+
* Behaviour when `data[key]` is null/undefined. See module doc
|
|
86
|
+
* for the per-mode contract.
|
|
87
|
+
*/
|
|
88
|
+
readonly nullHandling: 'caller_handles' | 'throw_not_found';
|
|
89
|
+
/** Required iff `nullHandling === 'throw_not_found'`. */
|
|
90
|
+
readonly notFoundTarget?: {
|
|
91
|
+
readonly key: string;
|
|
92
|
+
readonly id: string;
|
|
93
|
+
};
|
|
50
94
|
}
|
|
51
95
|
/**
|
|
52
96
|
* Throws `ApiError('internal_error')` when `key` is absent from
|
|
53
|
-
* `data
|
|
54
|
-
*
|
|
55
|
-
*
|
|
97
|
+
* `data` (schema drift). When `nullHandling === 'throw_not_found'`,
|
|
98
|
+
* also throws `ApiError('not_found')` if `data[key]` is null /
|
|
99
|
+
* undefined (per-record idiomatic missing). Returns void on success.
|
|
56
100
|
*
|
|
57
101
|
* Distinct error codes per the M14 round-2 F1 / round-3 F1
|
|
58
|
-
* contract — `dispatchSequential` re-throws `internal_error`
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
102
|
+
* contract — `dispatchSequential` re-throws `internal_error` (whole-
|
|
103
|
+
* call schema drift) but lets `not_found` land in the per-record
|
|
104
|
+
* slot. Without this distinction, a per-record not_found could be
|
|
105
|
+
* produced from a schema-drift response, masking the contract
|
|
106
|
+
* violation; agents writing recovery loops keyed off `error.code`
|
|
107
|
+
* would treat schema drift as "this resource doesn't exist" and
|
|
108
|
+
* skip the failure rather than reporting it.
|
|
63
109
|
*/
|
|
64
110
|
export declare const assertResponseFieldPresent: (inputs: AssertResponseFieldPresentInputs) => void;
|
|
65
111
|
//# sourceMappingURL=response-root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-root.d.ts","sourceRoot":"","sources":["../../src/api/response-root.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"response-root.d.ts","sourceRoot":"","sources":["../../src/api/response-root.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AASH,MAAM,WAAW,gCAAgC;IAC/C;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,0DAA0D;IAC1D,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,gBAAgB,GAAG,iBAAiB,CAAC;IAC5D,yDAAyD;IACzD,QAAQ,CAAC,cAAc,CAAC,EAAE;QAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;CACzE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,GACrC,QAAQ,gCAAgC,KACvC,IAsDF,CAAC"}
|
|
@@ -1,61 +1,113 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Response-root field assertion (R41
|
|
2
|
+
* Response-root field assertion (R41 + R42 lifts, v0.2-plan §22).
|
|
3
3
|
*
|
|
4
4
|
* Distinguishes "key absent" (response-shape drift →
|
|
5
5
|
* `internal_error`, whole-call) from "value null" (resource missing
|
|
6
|
-
* /
|
|
7
|
-
* F1 + round-3 F1 pinned the contract; R41
|
|
8
|
-
* that workspace add-users / workspace remove-users / board
|
|
9
|
-
* users each
|
|
6
|
+
* / per-record idiomatic null → `not_found`, per-record). Codex M14
|
|
7
|
+
* round-2 F1 + round-3 F1 pinned the contract; R41 lifted the inline
|
|
8
|
+
* check that workspace add-users / workspace remove-users / board
|
|
9
|
+
* add-users each shipped verbatim; R42 (post-v0.2 cleanup window)
|
|
10
|
+
* extends the same helper across the ~32 single-target mutation
|
|
11
|
+
* verbs that previously conflated the two cases (or left the
|
|
12
|
+
* missing-key path silent — projector-only null-handling treated
|
|
13
|
+
* "key absent" the same as "value null").
|
|
10
14
|
*
|
|
11
|
-
* **
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* missing-root-key vs null-value distinction. R42 (retroactive
|
|
15
|
-
* sweep across pre-M14 mutation verbs) handles unifying them; R41
|
|
16
|
-
* stays scoped to the M14 + M15 partial-success-fan-out family.
|
|
15
|
+
* **Two modes** controlled by `nullHandling` (required — keep the
|
|
16
|
+
* caller explicit so a future site doesn't silently inherit the
|
|
17
|
+
* wrong behaviour):
|
|
17
18
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
19
|
+
* - `'caller_handles'` (single-target verbs, R42): only check key
|
|
20
|
+
* presence. The caller's downstream projector handles null-value
|
|
21
|
+
* per-noun semantics — most M5b/M9-M12 verbs throw `not_found`
|
|
22
|
+
* from the projector for `null` (Monday's idiomatic missing-
|
|
23
|
+
* payload signal); item set throws `internal_error` for `null`
|
|
24
|
+
* per its M5b decision (an item that exists must always return a
|
|
25
|
+
* payload from `change_*`). Either way, R42's missing-key check
|
|
26
|
+
* surfaces FIRST and produces a uniform `internal_error` for
|
|
27
|
+
* schema drift, regardless of the noun's null-value choice.
|
|
20
28
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
29
|
+
* - `'throw_not_found'` (partial-success-fan-out verbs, R41): also
|
|
30
|
+
* check `data[key]` for null/undefined and throw `not_found` so
|
|
31
|
+
* `dispatchSequential` slots it into the per-record failure
|
|
32
|
+
* array (whereas `internal_error` propagates and aborts the
|
|
33
|
+
* whole call). The `notFoundTarget` field shapes the not_found
|
|
34
|
+
* message phrasing and details.
|
|
35
|
+
*
|
|
36
|
+
* **Used by:**
|
|
37
|
+
* - `'throw_not_found'` mode: `users-fan-out-mutation.ts`
|
|
38
|
+
* (wraps board add-users / workspace add-users / workspace
|
|
39
|
+
* remove-users via `dispatchSequential`).
|
|
40
|
+
* - `'caller_handles'` mode (R42 sweep): every single-target
|
|
41
|
+
* mutation verb across M5b → M17 (item set / clear / update,
|
|
42
|
+
* item create / archive / delete / duplicate / move / upsert,
|
|
43
|
+
* update create / reply / edit / delete / toggle, board create
|
|
44
|
+
* / update / archive / delete / duplicate / add-users, column-
|
|
45
|
+
* create / update / delete, group-create / update / archive /
|
|
46
|
+
* duplicate / delete). M15-M17 sites inline the check
|
|
47
|
+
* verbatim pre-R42; the lift consolidates that boilerplate
|
|
48
|
+
* onto this helper. Pre-M14 (M5b/M9-M12) sites had no inline
|
|
49
|
+
* missing-key check; R42 adds it as net-new behaviour, picking
|
|
50
|
+
* up the M14 contract distinction proactively.
|
|
51
|
+
*
|
|
52
|
+
* **Not used by:** `update clear-all` per-target dispatch — that
|
|
53
|
+
* site uses `assertUpdateMutationPresent` (api/update-mutation-
|
|
54
|
+
* result.ts) which has a different contract (treats null +
|
|
55
|
+
* undefined uniformly as `not_found`, pre-dating M14's
|
|
56
|
+
* distinction). Migrating it is a separate question for v0.3
|
|
57
|
+
* (the two helpers may usefully merge).
|
|
28
58
|
*/
|
|
29
59
|
import { ApiError } from '../utils/errors.js';
|
|
60
|
+
const SCHEMA_DRIFT_HINT = "this is a schema-drift error in Monday's GraphQL response; " +
|
|
61
|
+
'verify the mutation declaration and update the response ' +
|
|
62
|
+
"schema if Monday's contract has changed.";
|
|
30
63
|
/**
|
|
31
64
|
* Throws `ApiError('internal_error')` when `key` is absent from
|
|
32
|
-
* `data
|
|
33
|
-
*
|
|
34
|
-
*
|
|
65
|
+
* `data` (schema drift). When `nullHandling === 'throw_not_found'`,
|
|
66
|
+
* also throws `ApiError('not_found')` if `data[key]` is null /
|
|
67
|
+
* undefined (per-record idiomatic missing). Returns void on success.
|
|
35
68
|
*
|
|
36
69
|
* Distinct error codes per the M14 round-2 F1 / round-3 F1
|
|
37
|
-
* contract — `dispatchSequential` re-throws `internal_error`
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
70
|
+
* contract — `dispatchSequential` re-throws `internal_error` (whole-
|
|
71
|
+
* call schema drift) but lets `not_found` land in the per-record
|
|
72
|
+
* slot. Without this distinction, a per-record not_found could be
|
|
73
|
+
* produced from a schema-drift response, masking the contract
|
|
74
|
+
* violation; agents writing recovery loops keyed off `error.code`
|
|
75
|
+
* would treat schema drift as "this resource doesn't exist" and
|
|
76
|
+
* skip the failure rather than reporting it.
|
|
42
77
|
*/
|
|
43
78
|
export const assertResponseFieldPresent = (inputs) => {
|
|
44
|
-
const { data, key, operationLabel,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
79
|
+
const { data, key, operationLabel, details, nullHandling, notFoundTarget } = inputs;
|
|
80
|
+
// Defensive narrow — the wire-schema parse upstream typically
|
|
81
|
+
// guarantees object-shape, but pre-M14 sites pass `response.data`
|
|
82
|
+
// directly without a wire-schema parse, so a malformed (non-
|
|
83
|
+
// object) response surfaces here rather than crashing on a later
|
|
84
|
+
// property access. Matched against `internal_error` since it's
|
|
85
|
+
// the same class of contract violation as a missing root key.
|
|
86
|
+
if (typeof data !== 'object' || data === null) {
|
|
87
|
+
throw new ApiError('internal_error', `Monday's ${operationLabel} response data is not object-shaped`, { details: { ...details, hint: SCHEMA_DRIFT_HINT } });
|
|
88
|
+
}
|
|
89
|
+
const record = data;
|
|
90
|
+
if (!(key in record)) {
|
|
91
|
+
throw new ApiError('internal_error', `Monday's ${operationLabel} response is missing the ${key} root field`, { details: { ...details, hint: SCHEMA_DRIFT_HINT } });
|
|
55
92
|
}
|
|
56
|
-
|
|
93
|
+
if (nullHandling === 'caller_handles')
|
|
94
|
+
return;
|
|
95
|
+
const raw = record[key];
|
|
57
96
|
if (raw === null || raw === undefined) {
|
|
58
|
-
|
|
97
|
+
// 'throw_not_found' mode requires notFoundTarget to shape the
|
|
98
|
+
// per-record message + details. The type system marks it
|
|
99
|
+
// optional (since 'caller_handles' mode doesn't need it), but
|
|
100
|
+
// logically required here — surface a defensive internal_error
|
|
101
|
+
// if a future caller omits it in 'throw_not_found' mode.
|
|
102
|
+
/* c8 ignore next 7 — defensive: every 'throw_not_found' caller
|
|
103
|
+
supplies notFoundTarget; a future regression that omits it
|
|
104
|
+
fails loudly here rather than producing a half-shaped
|
|
105
|
+
not_found. */
|
|
106
|
+
if (notFoundTarget === undefined) {
|
|
107
|
+
throw new ApiError('internal_error', `assertResponseFieldPresent: 'throw_not_found' mode requires notFoundTarget`, { details: { ...details, hint: SCHEMA_DRIFT_HINT } });
|
|
108
|
+
}
|
|
109
|
+
const noun = notFoundTarget.key.replace(/_id$/u, '');
|
|
110
|
+
throw new ApiError('not_found', `Monday returned no payload from ${key} for ${noun} ${notFoundTarget.id}`, { details: { [notFoundTarget.key]: notFoundTarget.id } });
|
|
59
111
|
}
|
|
60
112
|
};
|
|
61
113
|
//# sourceMappingURL=response-root.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-root.js","sourceRoot":"","sources":["../../src/api/response-root.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"response-root.js","sourceRoot":"","sources":["../../src/api/response-root.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,iBAAiB,GACrB,6DAA6D;IAC7D,0DAA0D;IAC1D,0CAA0C,CAAC;AAoC7C;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,MAAwC,EAClC,EAAE;IACR,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,GACxE,MAAM,CAAC;IAET,8DAA8D;IAC9D,kEAAkE;IAClE,6DAA6D;IAC7D,iEAAiE;IACjE,+DAA+D;IAC/D,8DAA8D;IAC9D,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,MAAM,IAAI,QAAQ,CAChB,gBAAgB,EAChB,YAAY,cAAc,qCAAqC,EAC/D,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,CACrD,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,IAA+B,CAAC;IAC/C,IAAI,CAAC,CAAC,GAAG,IAAI,MAAM,CAAC,EAAE,CAAC;QACrB,MAAM,IAAI,QAAQ,CAChB,gBAAgB,EAChB,YAAY,cAAc,4BAA4B,GAAG,aAAa,EACtE,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,CACrD,CAAC;IACJ,CAAC;IAED,IAAI,YAAY,KAAK,gBAAgB;QAAE,OAAO;IAE9C,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACxB,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtC,8DAA8D;QAC9D,yDAAyD;QACzD,8DAA8D;QAC9D,+DAA+D;QAC/D,yDAAyD;QACzD;;;wBAGgB;QAChB,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,QAAQ,CAChB,gBAAgB,EAChB,4EAA4E,EAC5E,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,CACrD,CAAC;QACJ,CAAC;QACD,MAAM,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrD,MAAM,IAAI,QAAQ,CAChB,WAAW,EACX,mCAAmC,GAAG,QAAQ,IAAI,IAAI,cAAc,CAAC,EAAE,EAAE,EACzE,EAAE,OAAO,EAAE,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,cAAc,CAAC,EAAE,EAAE,EAAE,CACzD,CAAC;IACJ,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-account tag-directory lookup helper for the v0.3-M19 `tags`
|
|
3
|
+
* friendly translator. Mirrors the `userByEmail` user-directory
|
|
4
|
+
* pattern in `src/api/resolvers.ts:191–402` (the existing precedent —
|
|
5
|
+
* there is no standalone `user-directory.ts` module; the user-
|
|
6
|
+
* directory cache / lookup / refresh-on-miss machinery lives inside
|
|
7
|
+
* `resolvers.ts`).
|
|
8
|
+
*
|
|
9
|
+
* **Two surfaces.**
|
|
10
|
+
*
|
|
11
|
+
* - `loadAccountTags({client, env?, noCache?})` — full-directory
|
|
12
|
+
* reader. Cache-then-live: prefers a fresh on-disk
|
|
13
|
+
* `account_tags/index.json` cache entry; falls through to a live
|
|
14
|
+
* `account { tags { id name } }` query on miss / expiry / `noCache`,
|
|
15
|
+
* and writes the response back to the cache. Also exposes
|
|
16
|
+
* `complexity: Complexity | null` for the live-fetch leg, mirroring
|
|
17
|
+
* `BoardMetadataLoadResult` so `monday account tags --verbose` can
|
|
18
|
+
* report budget like other cache-backed reads.
|
|
19
|
+
*
|
|
20
|
+
* - `resolveTags({client, input, env?, noCache?})` — name-list →
|
|
21
|
+
* tag-id resolver. Splits the input on commas, trims, deduplicates,
|
|
22
|
+
* NFC + case-fold matches against the cache; on any miss, refreshes
|
|
23
|
+
* the directory once (live `account.tags` re-fetch) and re-checks.
|
|
24
|
+
* Residual misses surface as `tag_not_found` per cli-design §6.5
|
|
25
|
+
* with `details.tags: misses[]` in array form (Decision 1, closed
|
|
26
|
+
* at `4c652d5`). Returns `{ ids, misses, source, cacheAgeSeconds }`
|
|
27
|
+
* so the caller can populate `meta.source` + `meta.cache_age_seconds`
|
|
28
|
+
* per cli-design §6.1.
|
|
29
|
+
*
|
|
30
|
+
* **Cache shape.** Per-account scope (`{ kind: 'accountTags' }` cache
|
|
31
|
+
* key, no per-board fan-out — Monday's data model scopes tags to the
|
|
32
|
+
* account, not the workspace). On-disk path
|
|
33
|
+
* `account_tags/index.json`; mode `0600` per the cache layer's existing
|
|
34
|
+
* security contract.
|
|
35
|
+
*
|
|
36
|
+
* **Refresh on miss.** A `--set tags=foo` call against a cache that
|
|
37
|
+
* doesn't list `foo` re-fetches the account directory, upserts, and
|
|
38
|
+
* re-checks before surfacing `tag_not_found`. Mirrors the
|
|
39
|
+
* `userByEmail` cache-then-live-refresh-then-error sequence verbatim.
|
|
40
|
+
*/
|
|
41
|
+
import type { MondayClient } from './client.js';
|
|
42
|
+
import type { Complexity } from '../utils/output/envelope.js';
|
|
43
|
+
/**
|
|
44
|
+
* Per-account tag entry. Shape mirrors `UserDirectoryEntry` from
|
|
45
|
+
* `resolvers.ts` (numeric-string id + display name); Monday's
|
|
46
|
+
* `tags` field on the account node returns `{ id, name }` per the
|
|
47
|
+
* GraphQL schema.
|
|
48
|
+
*
|
|
49
|
+
* The `id` field is constrained to a decimal non-negative integer
|
|
50
|
+
* string (NOT just any non-empty string) for the same reason the
|
|
51
|
+
* user directory does it: callers convert it to a JS number for
|
|
52
|
+
* the wire payload (`{ tag_ids: [N1, N2] }`), and a loose
|
|
53
|
+
* `z.string().min(1)` would let `"0x2a"` / `"1e3"` / `"42 "` into
|
|
54
|
+
* the cache where they'd silently corrupt every later
|
|
55
|
+
* `Number(id)` conversion.
|
|
56
|
+
*/
|
|
57
|
+
export interface AccountTag {
|
|
58
|
+
readonly id: string;
|
|
59
|
+
readonly name: string;
|
|
60
|
+
}
|
|
61
|
+
export interface ResolveTagsInputs {
|
|
62
|
+
/**
|
|
63
|
+
* The Monday GraphQL client. Required because the cache-then-
|
|
64
|
+
* live sequence falls through to a live account-tag directory
|
|
65
|
+
* reload (via `loadAccountTags`) when the input list contains
|
|
66
|
+
* a name not in the cache, and re-checks the input names
|
|
67
|
+
* against the freshly-loaded set before surfacing
|
|
68
|
+
* `tag_not_found` for any residual misses. Mirrors
|
|
69
|
+
* `UserByEmailInputs.client` in `resolvers.ts:238`.
|
|
70
|
+
*/
|
|
71
|
+
readonly client: MondayClient;
|
|
72
|
+
readonly input: string;
|
|
73
|
+
readonly env?: NodeJS.ProcessEnv;
|
|
74
|
+
readonly noCache?: boolean;
|
|
75
|
+
}
|
|
76
|
+
export interface ResolveTagsResult {
|
|
77
|
+
readonly ids: readonly number[];
|
|
78
|
+
readonly misses: readonly string[];
|
|
79
|
+
readonly source: 'cache' | 'live' | 'mixed';
|
|
80
|
+
/**
|
|
81
|
+
* Age of the cache entry the resolver read from when `source` is
|
|
82
|
+
* `'cache'` (full cache hit, no live refresh) or `'mixed'` (cache
|
|
83
|
+
* had some matches, live refresh covered the rest — the cache
|
|
84
|
+
* leg's age is preserved as the worst-case staleness the agent
|
|
85
|
+
* observed). `null` for `'live'` (no cache leg fired — empty
|
|
86
|
+
* cache or `noCache: true`). Surfaced into `meta.cache_age_seconds`
|
|
87
|
+
* via the translator-source aggregation pathway, matching the
|
|
88
|
+
* broader §6.1 mixed-source/cache-age contract.
|
|
89
|
+
*/
|
|
90
|
+
readonly cacheAgeSeconds: number | null;
|
|
91
|
+
}
|
|
92
|
+
export interface LoadAccountTagsInputs {
|
|
93
|
+
/**
|
|
94
|
+
* The Monday GraphQL client. Required because `loadAccountTags`
|
|
95
|
+
* may bypass the cache (e.g. `monday account tags --refresh` if
|
|
96
|
+
* that flag ships at M19 implementation) and always hits the live
|
|
97
|
+
* directory on a cache miss. Mirrors `UserByEmailInputs.client`.
|
|
98
|
+
*/
|
|
99
|
+
readonly client: MondayClient;
|
|
100
|
+
readonly env?: NodeJS.ProcessEnv;
|
|
101
|
+
readonly noCache?: boolean;
|
|
102
|
+
}
|
|
103
|
+
export interface LoadAccountTagsResult {
|
|
104
|
+
readonly tags: readonly AccountTag[];
|
|
105
|
+
readonly source: 'cache' | 'live';
|
|
106
|
+
readonly cacheAgeSeconds: number | null;
|
|
107
|
+
/**
|
|
108
|
+
* `meta.complexity` payload from the live request when one ran;
|
|
109
|
+
* `null` for cache hits and for non-`--verbose` live calls (Monday
|
|
110
|
+
* doesn't include `complexity` unless the operation selects it).
|
|
111
|
+
* Surfacing this here is what lets cache-backed commands report
|
|
112
|
+
* accurate complexity in `--verbose` mode (mirrors
|
|
113
|
+
* `BoardMetadataLoadResult.complexity` from `board-metadata.ts`).
|
|
114
|
+
*/
|
|
115
|
+
readonly complexity: Complexity | null;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Loads the full per-account tag directory. Used by `monday account
|
|
119
|
+
* tags` (the read verb that resolves the §6.5 `tag_not_found.details
|
|
120
|
+
* .hint` forward-reference) and by `resolveTags`'s refresh-on-miss
|
|
121
|
+
* path. Cache-then-live: prefers a fresh on-disk entry; falls
|
|
122
|
+
* through to a live `account.tags` query on miss / expiry /
|
|
123
|
+
* `noCache`. Cache writes are best-effort (disk full / permission
|
|
124
|
+
* flips don't block the lookup).
|
|
125
|
+
*/
|
|
126
|
+
export declare const loadAccountTags: (inputs: LoadAccountTagsInputs) => Promise<LoadAccountTagsResult>;
|
|
127
|
+
/**
|
|
128
|
+
* Resolves a comma-split tag-name list against the per-account
|
|
129
|
+
* directory. Returns numeric tag IDs for the matched names and
|
|
130
|
+
* carries the misses through so the caller can construct a
|
|
131
|
+
* `tag_not_found` error envelope with `details.tags: misses[]` per
|
|
132
|
+
* cli-design §6.5 (`4c652d5`).
|
|
133
|
+
*
|
|
134
|
+
* **Three-step lookup** mirroring `userByEmail`:
|
|
135
|
+
*
|
|
136
|
+
* 1. Read the on-disk cache (skipped on `noCache`). Match input
|
|
137
|
+
* tokens against cached entries with NFC + case-fold +
|
|
138
|
+
* whitespace-collapse.
|
|
139
|
+
* 2. If any input token misses against the cached set, refresh
|
|
140
|
+
* the directory once via a live `account.tags` query (also
|
|
141
|
+
* skipped on `noCache` — the live leg always runs but the
|
|
142
|
+
* result isn't cached).
|
|
143
|
+
* 3. Match input tokens against the freshly-loaded set. Any
|
|
144
|
+
* residual miss is surfaced as `tag_not_found` (caller's
|
|
145
|
+
* responsibility — this function returns the misses array
|
|
146
|
+
* and the caller decides whether to throw).
|
|
147
|
+
*
|
|
148
|
+
* **Empty input handled by the caller** — this function does not
|
|
149
|
+
* reject an empty input list; `column-values.ts`'s `tags` translator
|
|
150
|
+
* is the boundary that surfaces `usage_error` for `--set tags=""`
|
|
151
|
+
* (mirroring the dropdown / people empty-input contract).
|
|
152
|
+
*/
|
|
153
|
+
export declare const resolveTags: (inputs: ResolveTagsInputs) => Promise<ResolveTagsResult>;
|
|
154
|
+
//# sourceMappingURL=tag-directory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-directory.d.ts","sourceRoot":"","sources":["../../src/api/tag-directory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AASH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE9D;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAeD,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;OAQG;IACH,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACjC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,GAAG,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;IAC5C;;;;;;;;;OASG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACjC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,SAAS,UAAU,EAAE,CAAC;IACrC,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IAClC,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;;;;;;;OAOG;IACH,QAAQ,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;CACxC;AA0DD;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,GAC1B,QAAQ,qBAAqB,KAC5B,OAAO,CAAC,qBAAqB,CAoF/B,CAAC;AAgFF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,WAAW,GACtB,QAAQ,iBAAiB,KACxB,OAAO,CAAC,iBAAiB,CAyE3B,CAAC"}
|