@contember/client-content 1.3.0-alpha.9 → 2.0.0-alpha.2

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 (54) hide show
  1. package/dist/development/ContentQueryBuilder.cjs +64 -36
  2. package/dist/development/ContentQueryBuilder.cjs.map +1 -1
  3. package/dist/development/ContentQueryBuilder.js +64 -36
  4. package/dist/development/ContentQueryBuilder.js.map +1 -1
  5. package/dist/development/index.cjs +2 -0
  6. package/dist/development/index.cjs.map +1 -1
  7. package/dist/development/index.js +3 -1
  8. package/dist/development/index.js.map +1 -1
  9. package/dist/development/nodes/ContentEntitySelection.cjs +36 -5
  10. package/dist/development/nodes/ContentEntitySelection.cjs.map +1 -1
  11. package/dist/development/nodes/ContentEntitySelection.js +36 -5
  12. package/dist/development/nodes/ContentEntitySelection.js.map +1 -1
  13. package/dist/development/utils/createTypedArgs.cjs +3 -0
  14. package/dist/development/utils/createTypedArgs.cjs.map +1 -1
  15. package/dist/development/utils/createTypedArgs.js +3 -0
  16. package/dist/development/utils/createTypedArgs.js.map +1 -1
  17. package/dist/production/ContentQueryBuilder.cjs +64 -36
  18. package/dist/production/ContentQueryBuilder.cjs.map +1 -1
  19. package/dist/production/ContentQueryBuilder.js +64 -36
  20. package/dist/production/ContentQueryBuilder.js.map +1 -1
  21. package/dist/production/index.cjs +2 -0
  22. package/dist/production/index.cjs.map +1 -1
  23. package/dist/production/index.js +3 -1
  24. package/dist/production/index.js.map +1 -1
  25. package/dist/production/nodes/ContentEntitySelection.cjs +36 -5
  26. package/dist/production/nodes/ContentEntitySelection.cjs.map +1 -1
  27. package/dist/production/nodes/ContentEntitySelection.js +36 -5
  28. package/dist/production/nodes/ContentEntitySelection.js.map +1 -1
  29. package/dist/production/utils/createTypedArgs.cjs +3 -0
  30. package/dist/production/utils/createTypedArgs.cjs.map +1 -1
  31. package/dist/production/utils/createTypedArgs.js +3 -0
  32. package/dist/production/utils/createTypedArgs.js.map +1 -1
  33. package/dist/types/ContentQueryBuilder.d.ts +3 -1
  34. package/dist/types/ContentQueryBuilder.d.ts.map +1 -1
  35. package/dist/types/index.d.ts +1 -0
  36. package/dist/types/index.d.ts.map +1 -1
  37. package/dist/types/nodes/ContentEntitySelection.d.ts +10 -1
  38. package/dist/types/nodes/ContentEntitySelection.d.ts.map +1 -1
  39. package/dist/types/nodes/TypedEntitySelection.d.ts +44 -34
  40. package/dist/types/nodes/TypedEntitySelection.d.ts.map +1 -1
  41. package/dist/types/tsconfig.tsbuildinfo +1 -1
  42. package/dist/types/types/Input.d.ts +66 -6
  43. package/dist/types/types/Input.d.ts.map +1 -1
  44. package/dist/types/types/Schema.d.ts +3 -3
  45. package/dist/types/types/Schema.d.ts.map +1 -1
  46. package/dist/types/utils/createTypedArgs.d.ts.map +1 -1
  47. package/package.json +7 -4
  48. package/src/ContentQueryBuilder.ts +74 -51
  49. package/src/index.ts +1 -0
  50. package/src/nodes/ContentEntitySelection.ts +43 -4
  51. package/src/nodes/TypedEntitySelection.ts +87 -86
  52. package/src/types/Input.ts +72 -7
  53. package/src/types/Schema.ts +3 -3
  54. package/src/utils/createTypedArgs.ts +3 -0
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/global.d.ts","../../../../node_modules/csstype/index.d.ts","../../../../node_modules/@types/prop-types/index.d.ts","../../../../node_modules/@types/scheduler/tracing.d.ts","../../../../node_modules/@types/react/index.d.ts","../../../../node_modules/@types/react/jsx-runtime.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlFragmentSpread.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlInlineFragment.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/value.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/input.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/json.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/acl.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/actions.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/model.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/result.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/validation.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/settings.d.ts","../../../../node_modules/@contember/schema/dist/src/ProjectRole.d.ts","../../../../node_modules/@contember/schema/dist/src/index.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlField.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlFragment.d.ts","../../../graphql-builder/dist/types/nodes/index.d.ts","../../../graphql-builder/dist/types/GraphQlQueryPrinter.d.ts","../../../graphql-builder/dist/types/index.d.ts","../../src/utils/mutationFragments.ts","../../../graphql-client/dist/types/GraphQlClientRequestOptions.d.ts","../../../graphql-client/dist/types/GraphQlClient.d.ts","../../../graphql-client/dist/types/GraphQlClientError.d.ts","../../../graphql-client/dist/types/index.d.ts","../../src/types/Schema.ts","../../src/types/Input.ts","../../src/types/Result.ts","../../src/types/index.ts","../../src/utils/createListArgs.ts","../../src/nodes/ContentEntitySelection.ts","../../src/nodes/ContentOperation.ts","../../src/nodes/TypedEntitySelection.ts","../../src/nodes/index.ts","../../src/utils/ContentOperationSet.ts","../../src/utils/createMutationOperationSet.ts","../../src/utils/createQueryOperationSet.ts","../../src/ContentClient.ts","../../src/utils/createTypedArgs.ts","../../src/ContentQueryBuilder.ts","../../src/TypedContentQueryBuilder.ts","../../src/index.ts","../../../../node_modules/vite/types/hmrPayload.d.ts","../../../../node_modules/vite/types/customEvent.d.ts","../../../../node_modules/vite/types/hot.d.ts","../../../../node_modules/vite/types/importGlob.d.ts","../../../../node_modules/vite/types/importMeta.d.ts","../../../../node_modules/vite/client.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c",{"version":"21e41a76098aa7a191028256e52a726baafd45a925ea5cf0222eb430c96c1d83","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"4350e5922fecd4bedda2964d69c213a1436349d0b8d260dd902795f5b94dc74b","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"0bd5e7096c7bc02bf70b2cc017fc45ef489cb19bd2f32a71af39ff5787f1b56a","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"369b91cb44fdb8a8fa15de2bd6c28a7abfe6cc16d483ea42291cc7b1efff88d4","affectsGlobalScope":true},"2879a055439b6c0c0132a1467120a0f85b56b5d735c973ad235acd958b1b5345","34e5c5b2be8aa1b3f75ccd21529ae8b9163f510dbdabae4caae3fec3010cc33b","45fb3525f5c652416e54f91bd8378464d41e22b0ccc108de7db918cf8e92ffd3","3ae62be455efcb1874e7fd1f30f2bb83144757d2f349ceb0c6523bb9f7f7a860","be0f711ade459d8e51739f8544a565bc7d2ea56a9dda7ef6d5edd9d864737276","b1296831e111197bd9ebd73f0d15ad0fe2e11fcc51a6302edb23ffd93794db36","5610e8177b34fa50394973f3faba06fd5268b1264a2f4f7daaa71fee1194a94d","4dc29833bfcaa8597097a99fd486d72a0de9c38bb7a6dcd1dadb70e1b9c17282","9869fe612661e4bb3a63b339b3a0d0cdbb6c9e85dd4a59209c86383179e3fbd9","f42116e2e8ad600dc90bdf8ceade9dcf593c35812d8aaba9c03a3f1dbb87330e","dff2fee737ebe5174f549c9f28e114c0cabac4b5fe4e364654465ba528979ba4","86c9954d4c0c270f2952a8695b90fbf4a58210deae10911be98b6c31b84cc8db","466df547af9cf3861658b08baf3ecbd41c0eaad2101378fadfa54ab24db103e6","66b37de2f4b108cf4467570730a30cac8aa7d9ec94a0e335825c9192c1188094","e2402a646d4471b0985495b6bfca6c9c731d335195bf206e8c982d8ca362692f","08d34fcbf615950f6d3dd6858437159f0c0af08d5af645ec415ebfeaeacf3bd0","13ce162c8088b92a985e41a2ddf61cbb191101c280214a74dd9e8d2fd3c9c905","d2689735d2498972d6f02fbaff989b1fa500b5a140af7e7c08a15fbc36c1d3d3","4b47e095287cc1351b5fa9c5112d1d2d255bd8916ce76347225837b244e97ed5",{"version":"455a08fab96b932e98609df4cdf283f4e73267a61649f586f2ecd3daa6fd9467","signature":"016e695348eb662b9adead21973e3da689bbff9c65811491644e2ed594fca800"},"8c56ed339fb7ea09a933aae91daa038e669730da6b6d422275d0a7e5293b46a7","711255f9dda18a35389ec1e3fa8ebe6e906e67902550afad96b0ac6c5a5de327","4d023a0827a63ad5e6b498f92830d79e40e6fd487ed6b7c6fc2528eb9b3c0937","e17fbde86ef68adc663fff12c63cce11175482b3f108afd90fa3c11754afe6c6",{"version":"67b72bf4a4743058cd6cd80c632d8d918bd70d72cb4f6a02ac99e5ed9c4ff9e8","signature":"aae8862b104ce076ea1b097bc886c37b33a338efeb9960157f4725fdb5a5862b"},{"version":"621d5b34fac63e9ac87b4649ce24c5522561508115d17ea50fac99235c79d30f","signature":"1f17acf9613ec0789322f68d2c26f5c3f46a2e82bbe00d3264373ea1ae045ffc"},{"version":"48efacca2f03c964cafd13eabcd5ca0e61c06cbdf2aa02f7bf1cbdea4a9a0dc6","signature":"f289c5204b0819632486cefeec845a20a7a9c769180fb6bede63b0d7f24839d2"},{"version":"e094ee9f701b35c8089fa4bf0708ca687f9a98d8a3b04ace0769ec76b6e06d68","signature":"feaceef383869ce3addd7d620c89fa6ff1d5753f7b451cffb1e926998df2b5e4"},{"version":"1ce34a0f5a33f3ec3d13879fa6a2c573eba987beef0c44dedd271e1f6127d038","signature":"072aa9647706bfec733119a60c7c6c1184ef8bedd0f11a32d0553b2b939c9f2d"},{"version":"aa2a2bc669516f05a7c0fbb47d0f67bd25f18140b5cbdcbfbcb2fc1d390844cf","signature":"f104ff2c22b3c0919c63450b8b77fa227d183a47eed6ef54203ec40678674cb5"},{"version":"acb7dbfa3ccf09b7f56bcfc1c027f5a774fe6454d2089d39e789c8e251885a06","signature":"06c1e22ce1921cfd383c800f9e191972c5dfaca8996cca54d85c4b4cb41db49d"},{"version":"7cca51c7aa8f5c0d4199ef5e4e72f5e517efc33057ca0bdc0dde5d3f8c10440b","signature":"217866763d14f5c35e7613c29767c4b12debbfe01eec434a79ff7444fadedbbc"},{"version":"af5f7c439c7cf5c91cc7b734dd5994c187f853e8ce4d5e37fc193625099418c5","signature":"6c7327831239ec38e57c18eb15c5b191aa258ada0528de8dc93092efcba20896"},{"version":"a6481312c14c551004515f78ecb8b766ef32d74f1db6e5961875e419e937453d","signature":"0cd8eca2ce06522c71d3b9eb3ca87f6641f1ca48ee143c424eb0a6ca5946e444"},{"version":"2f8ef76dcd86e19af088905c3c014c898804e216db510091784717474db2dcee","signature":"d29f4556a53aa2660b9bbfe2d93770781740b6e9274e16ea13b38dcec35ce42e"},{"version":"5d0650fd8b5826f32bd9d97bb9e31fa62738ec20bb673fffd1fc8e34e9700375","signature":"b8373beeb8e2f6ffb2ed25801fa5366661bac945fc2e3b43c40a22b609992b8a"},{"version":"5a1711ac5f47090722b7160cfadbd77c4c8bb4aed84b64c4923d0c29ce0c1d6a","signature":"3c4de8d194c64b484827151ff14582884166268c345cbb13f9c19e4be3912f54"},{"version":"4aae859123123ed6d4745fe16fb27f13192735eb12952cbabfe9fbc8f1eddc6b","signature":"5f64acae0d67819d1fccb6663c89df4ef8b38461ebfbe45824d780ab928cdb47"},{"version":"734dd3ee55d31527b178af5907d6af3a846f9a19558ca23939d8ff909d53c3e6","signature":"ea924fbabda99a62bb4cde7f6a01048597027815366db11bff03c08ed576fed8"},{"version":"9edc6523ce772fcf5ed7af49675b623982c113473c6884c85487f41546da9185","signature":"5e8c7ad4619cc15007aa5bc3f4e1a30cb01540c14beaa609fb8d17d21acaceba"},{"version":"ebc1c42c3c87594615b879a8dd9503908a09023b2f11e0876f489b46f34509cb","signature":"f202558a35a4093e2eb6a5a2aa9f517f883dc3b949a350c9b36906f8c1a3e20a"},"bcb6ea18f23dae2c48459d7b86d3adccd6898f824fcbf9da08b935f559896580","1363ba7d52f2353d0c4306d0ecdaf171bf4509c0148842f9fd8d3986c098a2eb","cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","21092de52736dc30f478fe5f1e88ad1b545ce4b276062999302aa65b30a6787a",{"version":"4025a454b1ca489b179ee8c684bdd70ff8c1967e382076ade53e7e4653e1daec","affectsGlobalScope":true},{"version":"84d68135178bf014e5cdc27e88c9148fc22f82e1a733dc6e1869a5263e58d5db","affectsGlobalScope":true}],"root":[90,[95,111]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useDefineForClassFields":true},"fileIdsList":[[74,75,76,77,78,79,80,81,82,83],[75,76],[76],[74],[75],[66,67,68,69],[70],[116],[112],[113],[114,115],[71,89,90,94,103,105,106],[71,84,89,98,99,103,105,108],[71,98,103,109],[71,98,103,107,109,110],[71,84,89,98,99],[71,89],[71,95,98],[71,100,101,102],[71,84,95],[71,84],[71,95,96,97],[71,89,98],[71,89,103,104],[84,87],[87,88],[72,73,84],[85],[72,73,85,86],[91],[91,92,93],[94,103],[84,98,103],[98,103,109],[98,103,107,109,110],[84,89,98],[89],[95,98],[100,101,102],[84,95],[84],[95,96,97],[89,98],[103,104]],"referencedMap":[[84,1],[77,2],[78,3],[75,4],[79,5],[80,4],[81,3],[70,6],[71,7],[117,8],[113,9],[114,10],[116,11],[107,12],[109,13],[110,14],[111,15],[100,16],[101,17],[102,18],[103,19],[96,20],[97,21],[95,21],[98,22],[104,17],[99,23],[105,24],[106,24],[108,17],[90,17],[88,25],[89,26],[85,27],[86,28],[73,28],[87,29],[92,30],[94,31]],"exportedModulesMap":[[84,1],[77,2],[78,3],[75,4],[79,5],[80,4],[81,3],[70,6],[71,7],[117,8],[113,9],[114,10],[116,11],[107,32],[109,33],[110,34],[111,35],[100,36],[101,37],[102,38],[103,39],[96,40],[97,41],[95,41],[98,42],[104,37],[99,43],[105,44],[106,44],[108,37],[90,37],[88,25],[89,26],[85,27],[86,28],[73,28],[87,29],[92,30],[94,31]],"semanticDiagnosticsPerFile":[83,84,77,78,75,76,79,80,82,81,74,68,66,70,71,69,67,64,65,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,24,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,58,56,57,59,60,10,1,11,63,62,61,117,113,112,114,115,116,107,109,110,111,100,101,102,103,96,97,95,98,104,99,105,106,108,90,88,89,85,86,72,73,87,92,93,91,94],"latestChangedDtsFile":"./index.d.ts"},"version":"5.3.3"}
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/global.d.ts","../../../../node_modules/csstype/index.d.ts","../../../../node_modules/@types/prop-types/index.d.ts","../../../../node_modules/@types/react/index.d.ts","../../../../node_modules/@types/react/jsx-runtime.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlFragmentSpread.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlInlineFragment.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/value.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/input.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/json.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/acl.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/actions.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/model.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/result.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/validation.d.ts","../../../../node_modules/@contember/schema/dist/src/schema/settings.d.ts","../../../../node_modules/@contember/schema/dist/src/ProjectRole.d.ts","../../../../node_modules/@contember/schema/dist/src/index.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlField.d.ts","../../../graphql-builder/dist/types/nodes/GraphQlFragment.d.ts","../../../graphql-builder/dist/types/nodes/index.d.ts","../../../graphql-builder/dist/types/GraphQlQueryPrinter.d.ts","../../../graphql-builder/dist/types/index.d.ts","../../src/utils/mutationFragments.ts","../../../graphql-client/dist/types/GraphQlClientRequestOptions.d.ts","../../../graphql-client/dist/types/GraphQlClient.d.ts","../../../graphql-client/dist/types/GraphQlClientError.d.ts","../../../graphql-client/dist/types/index.d.ts","../../src/types/Schema.ts","../../src/types/Input.ts","../../src/types/Result.ts","../../src/types/index.ts","../../src/utils/createListArgs.ts","../../src/nodes/ContentEntitySelection.ts","../../src/nodes/ContentOperation.ts","../../src/nodes/TypedEntitySelection.ts","../../src/nodes/index.ts","../../src/utils/ContentOperationSet.ts","../../src/utils/createMutationOperationSet.ts","../../src/utils/createQueryOperationSet.ts","../../src/ContentClient.ts","../../src/utils/createTypedArgs.ts","../../src/ContentQueryBuilder.ts","../../src/TypedContentQueryBuilder.ts","../../src/index.ts","../../../../node_modules/vite/types/hmrPayload.d.ts","../../../../node_modules/vite/types/customEvent.d.ts","../../../../node_modules/vite/types/hot.d.ts","../../../../node_modules/vite/types/importGlob.d.ts","../../../../node_modules/vite/types/importMeta.d.ts","../../../../node_modules/vite/client.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","886e50ef125efb7878f744e86908884c0133e7a6d9d80013f421b0cd8fb2af94",{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"76f838d5d49b65de83bc345c04aa54c62a3cfdb72a477dc0c0fce89a30596c30","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"55461596dc873b866911ef4e640fae4c39da7ac1fbc7ef5e649cb2f2fb42c349","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea",{"version":"8ca4709dbd22a34bcc1ebf93e1877645bdb02ebd3f3d9a211a299a8db2ee4ba1","affectsGlobalScope":true},"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","34e5c5b2be8aa1b3f75ccd21529ae8b9163f510dbdabae4caae3fec3010cc33b","45fb3525f5c652416e54f91bd8378464d41e22b0ccc108de7db918cf8e92ffd3","3ae62be455efcb1874e7fd1f30f2bb83144757d2f349ceb0c6523bb9f7f7a860","be0f711ade459d8e51739f8544a565bc7d2ea56a9dda7ef6d5edd9d864737276","b1296831e111197bd9ebd73f0d15ad0fe2e11fcc51a6302edb23ffd93794db36","5610e8177b34fa50394973f3faba06fd5268b1264a2f4f7daaa71fee1194a94d","4dc29833bfcaa8597097a99fd486d72a0de9c38bb7a6dcd1dadb70e1b9c17282","9869fe612661e4bb3a63b339b3a0d0cdbb6c9e85dd4a59209c86383179e3fbd9","f42116e2e8ad600dc90bdf8ceade9dcf593c35812d8aaba9c03a3f1dbb87330e","dff2fee737ebe5174f549c9f28e114c0cabac4b5fe4e364654465ba528979ba4","86c9954d4c0c270f2952a8695b90fbf4a58210deae10911be98b6c31b84cc8db","466df547af9cf3861658b08baf3ecbd41c0eaad2101378fadfa54ab24db103e6","66b37de2f4b108cf4467570730a30cac8aa7d9ec94a0e335825c9192c1188094","e2402a646d4471b0985495b6bfca6c9c731d335195bf206e8c982d8ca362692f","08d34fcbf615950f6d3dd6858437159f0c0af08d5af645ec415ebfeaeacf3bd0","13ce162c8088b92a985e41a2ddf61cbb191101c280214a74dd9e8d2fd3c9c905","d2689735d2498972d6f02fbaff989b1fa500b5a140af7e7c08a15fbc36c1d3d3","4b47e095287cc1351b5fa9c5112d1d2d255bd8916ce76347225837b244e97ed5",{"version":"455a08fab96b932e98609df4cdf283f4e73267a61649f586f2ecd3daa6fd9467","signature":"016e695348eb662b9adead21973e3da689bbff9c65811491644e2ed594fca800"},"8c56ed339fb7ea09a933aae91daa038e669730da6b6d422275d0a7e5293b46a7","711255f9dda18a35389ec1e3fa8ebe6e906e67902550afad96b0ac6c5a5de327","4d023a0827a63ad5e6b498f92830d79e40e6fd487ed6b7c6fc2528eb9b3c0937","e17fbde86ef68adc663fff12c63cce11175482b3f108afd90fa3c11754afe6c6",{"version":"2567a91d93117c3557db8a590bd95d92230f1779f0ede70594c0b172d25c5f05","signature":"af8e795fed72274bbd8d655d04588bbd88871dbd603dff6461362cb5207d2284"},{"version":"06563e60709ebf946f79faca230fce873543a39ce79199e266d43b1ddef3a6cf","signature":"33491243e9e60504ee3d733817b089c90d639dc3f1238a3d6417083e9dd5b683"},{"version":"48efacca2f03c964cafd13eabcd5ca0e61c06cbdf2aa02f7bf1cbdea4a9a0dc6","signature":"f289c5204b0819632486cefeec845a20a7a9c769180fb6bede63b0d7f24839d2"},{"version":"e094ee9f701b35c8089fa4bf0708ca687f9a98d8a3b04ace0769ec76b6e06d68","signature":"feaceef383869ce3addd7d620c89fa6ff1d5753f7b451cffb1e926998df2b5e4"},{"version":"1ce34a0f5a33f3ec3d13879fa6a2c573eba987beef0c44dedd271e1f6127d038","signature":"072aa9647706bfec733119a60c7c6c1184ef8bedd0f11a32d0553b2b939c9f2d"},{"version":"7fc5a3eb19f1f692c8177d44adb94a6350fe7c909cfdd42be5ae68fe0c18441a","signature":"4f4d0e8aeb309bbb646dd57615ca9375fa2821df08120fe318124647d91de80a"},{"version":"acb7dbfa3ccf09b7f56bcfc1c027f5a774fe6454d2089d39e789c8e251885a06","signature":"06c1e22ce1921cfd383c800f9e191972c5dfaca8996cca54d85c4b4cb41db49d"},{"version":"a79b008f40a5a367ada2db4367062f20e1af2d004c3d71a508499a56dfa9b7b4","signature":"0b42a31c12bc794fe3b4efafc5af85e9bd2d094f086157dfdc98ea4f0a13016a"},{"version":"af5f7c439c7cf5c91cc7b734dd5994c187f853e8ce4d5e37fc193625099418c5","signature":"6c7327831239ec38e57c18eb15c5b191aa258ada0528de8dc93092efcba20896"},{"version":"a6481312c14c551004515f78ecb8b766ef32d74f1db6e5961875e419e937453d","signature":"0cd8eca2ce06522c71d3b9eb3ca87f6641f1ca48ee143c424eb0a6ca5946e444"},{"version":"2f8ef76dcd86e19af088905c3c014c898804e216db510091784717474db2dcee","signature":"d29f4556a53aa2660b9bbfe2d93770781740b6e9274e16ea13b38dcec35ce42e"},{"version":"5d0650fd8b5826f32bd9d97bb9e31fa62738ec20bb673fffd1fc8e34e9700375","signature":"b8373beeb8e2f6ffb2ed25801fa5366661bac945fc2e3b43c40a22b609992b8a"},{"version":"5a1711ac5f47090722b7160cfadbd77c4c8bb4aed84b64c4923d0c29ce0c1d6a","signature":"3c4de8d194c64b484827151ff14582884166268c345cbb13f9c19e4be3912f54"},{"version":"69cca96776729652ddb5ce8719e7d44a5620d85e1230047dee3b21be83143d54","signature":"5f64acae0d67819d1fccb6663c89df4ef8b38461ebfbe45824d780ab928cdb47"},{"version":"21faf2b9b18e7f16dc104473b1f770317cb1554954759052f9e02d73c29221df","signature":"62ca877d3c090576b3ca1cd3e576c931eaedefc3af1b5ef405e41fd22c8b2955"},{"version":"9edc6523ce772fcf5ed7af49675b623982c113473c6884c85487f41546da9185","signature":"5e8c7ad4619cc15007aa5bc3f4e1a30cb01540c14beaa609fb8d17d21acaceba"},{"version":"059c0c5268047868880b4ea7c3b5a5851c0d3da4a0c7f095a540f151a45290d3","signature":"1702404293385fb18761a3cf716b3c2888c6fa95d3ef96bc8e4e8f5a6e679689"},"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","80d02a787d4aa00e2e22dcf3ea9d40390f38dfb0c3497bc6855978974a63e20c","cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea",{"version":"4025a454b1ca489b179ee8c684bdd70ff8c1967e382076ade53e7e4653e1daec","affectsGlobalScope":true},{"version":"c4baf2c38b00f29adfb4e60554de4152ebf4c17f3365c0f2ff34af7f3b35ef1d","affectsGlobalScope":true}],"root":[93,[98,114]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useDefineForClassFields":true},"fileIdsList":[[77,78,79,80,81,82,83,84,85,86],[78,79],[79],[77],[78],[70,71,72],[73],[119],[115],[116],[117,118],[74,92,93,97,106,108,109],[74,87,92,101,102,106,108,111],[74,101,106,112],[74,93,101,106,110,112,113],[74,87,92,101,102],[74,92],[74,101,103],[74,103,104,105],[74,87,98],[74,87],[74,98,99,100],[74,92,101],[74,92,106,107],[87,90],[90,91],[75,76,87],[88],[75,76,88,89],[94],[94,95,96],[97,106],[87,101,106],[101,106,112],[93,101,106,110,112,113],[87,92,101],[92],[101,103],[103,104,105],[87,98],[87],[98,99,100],[92,101],[106,107]],"referencedMap":[[87,1],[80,2],[81,3],[78,4],[82,5],[83,4],[84,3],[73,6],[74,7],[120,8],[116,9],[117,10],[119,11],[110,12],[112,13],[113,14],[114,15],[103,16],[104,17],[105,18],[106,19],[99,20],[100,21],[98,21],[101,22],[107,17],[102,23],[108,24],[109,24],[111,17],[93,17],[91,25],[92,26],[88,27],[89,28],[76,28],[90,29],[95,30],[97,31]],"exportedModulesMap":[[87,1],[80,2],[81,3],[78,4],[82,5],[83,4],[84,3],[73,6],[74,7],[120,8],[116,9],[117,10],[119,11],[110,32],[112,33],[113,34],[114,35],[103,36],[104,37],[105,38],[106,39],[99,40],[100,41],[98,41],[101,42],[107,37],[102,43],[108,44],[109,44],[111,37],[93,37],[91,25],[92,26],[88,27],[89,28],[76,28],[90,29],[95,30],[97,31]],"semanticDiagnosticsPerFile":[86,87,80,81,78,79,82,83,85,84,77,72,70,73,74,71,68,69,12,13,15,14,2,16,17,18,19,20,21,22,23,3,24,4,25,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,61,10,1,62,11,66,64,63,67,65,120,116,115,117,118,119,110,112,113,114,103,104,105,106,99,100,98,101,107,102,108,109,111,93,91,92,88,89,75,76,90,95,96,94,97],"latestChangedDtsFile":"./index.d.ts"},"version":"5.4.5"}
@@ -2,53 +2,80 @@ import { Input, JSONObject } from '@contember/schema';
2
2
  import { EntityTypeLike } from './Schema';
3
3
  export declare namespace ContentClientInput {
4
4
  type ConnectRelationInput<TEntity extends EntityTypeLike> = {
5
+ /** @internal */
6
+ readonly __typeGuard?: TEntity['name'];
5
7
  readonly connect: UniqueWhere<TEntity>;
6
8
  };
7
9
  type CreateRelationInput<TEntity extends EntityTypeLike> = {
10
+ /** @internal */
11
+ readonly __typeGuard?: TEntity['name'];
8
12
  readonly create: CreateDataInput<TEntity>;
9
13
  };
10
14
  type ConnectOrCreateInput<TEntity extends EntityTypeLike> = {
15
+ /** @internal */
16
+ readonly __typeGuard?: TEntity['name'];
11
17
  readonly connect: UniqueWhere<TEntity>;
12
18
  readonly create: CreateDataInput<TEntity>;
13
19
  };
14
20
  type ConnectOrCreateRelationInput<TEntity extends EntityTypeLike> = {
21
+ /** @internal */
22
+ readonly __typeGuard?: TEntity['name'];
15
23
  readonly connectOrCreate: ConnectOrCreateInput<TEntity>;
16
24
  };
17
25
  type DisconnectSpecifiedRelationInput<TEntity extends EntityTypeLike> = {
26
+ /** @internal */
27
+ readonly __typeGuard?: TEntity['name'];
18
28
  readonly disconnect: UniqueWhere<TEntity>;
19
29
  };
20
30
  type DeleteSpecifiedRelationInput<TEntity extends EntityTypeLike> = {
31
+ /** @internal */
32
+ readonly __typeGuard?: TEntity['name'];
21
33
  readonly delete: UniqueWhere<TEntity>;
22
34
  };
23
35
  type UpdateSpecifiedRelationInput<TEntity extends EntityTypeLike> = {
36
+ /** @internal */
37
+ readonly __typeGuard?: TEntity['name'];
24
38
  readonly update: {
25
39
  readonly by: UniqueWhere<TEntity>;
26
40
  readonly data: UpdateDataInput<TEntity>;
27
41
  };
28
42
  };
29
43
  type UpsertSpecifiedRelationInput<TEntity extends EntityTypeLike> = {
44
+ /** @internal */
45
+ readonly __typeGuard?: TEntity['name'];
30
46
  readonly upsert: {
31
47
  readonly by: UniqueWhere<TEntity>;
32
48
  readonly update: UpdateDataInput<TEntity>;
33
49
  readonly create: CreateDataInput<TEntity>;
34
50
  };
35
51
  };
36
- type DisconnectRelationInput = {
52
+ type DisconnectRelationInput<TEntity extends EntityTypeLike> = {
53
+ /** @internal */
54
+ readonly __typeGuard?: TEntity['name'];
37
55
  readonly disconnect: true;
38
56
  };
39
57
  type UpdateRelationInput<TEntity extends EntityTypeLike> = {
58
+ /** @internal */
59
+ readonly __typeGuard?: TEntity['name'];
40
60
  readonly update: UpdateDataInput<TEntity>;
41
61
  };
42
- type DeleteRelationInput = {
62
+ type DeleteRelationInput<TEntity extends EntityTypeLike> = {
63
+ /** @internal */
64
+ readonly __typeGuard?: TEntity['name'];
43
65
  readonly delete: true;
44
66
  };
45
67
  type UpsertRelationInput<TEntity extends EntityTypeLike> = {
68
+ /** @internal */
69
+ readonly __typeGuard?: TEntity['name'];
46
70
  readonly upsert: {
47
71
  readonly update: UpdateDataInput<TEntity>;
48
72
  readonly create: CreateDataInput<TEntity>;
49
73
  };
50
74
  };
51
75
  type CreateDataInput<TEntity extends EntityTypeLike> = {
76
+ /** @internal */
77
+ readonly __typeGuard?: TEntity['name'];
78
+ } & {
52
79
  readonly [key in keyof TEntity['columns']]?: TEntity['columns'][key];
53
80
  } & {
54
81
  readonly [key in keyof TEntity['hasMany']]?: CreateManyRelationInput<TEntity['hasMany'][key]>;
@@ -58,6 +85,11 @@ export declare namespace ContentClientInput {
58
85
  type CreateOneRelationInput<TEntity extends EntityTypeLike> = ConnectRelationInput<TEntity> | CreateRelationInput<TEntity> | ConnectOrCreateRelationInput<TEntity>;
59
86
  type CreateManyRelationInput<TEntity extends EntityTypeLike> = readonly CreateOneRelationInput<TEntity>[];
60
87
  type UpdateDataInput<TEntity extends EntityTypeLike> = {
88
+ /**
89
+ * @internal
90
+ */
91
+ readonly __typeGuard?: TEntity['name'];
92
+ } & {
61
93
  readonly [key in keyof TEntity['columns']]?: TEntity['columns'][key];
62
94
  } & {
63
95
  readonly [key in keyof TEntity['hasMany']]?: UpdateManyRelationInput<TEntity['hasMany'][key]>;
@@ -65,64 +97,92 @@ export declare namespace ContentClientInput {
65
97
  readonly [key in keyof TEntity['hasOne']]?: UpdateOneRelationInput<TEntity['hasOne'][key]>;
66
98
  };
67
99
  type UpdateInput<TEntity extends EntityTypeLike> = {
100
+ /** @internal */
101
+ readonly __typeGuard?: TEntity['name'];
68
102
  readonly by: UniqueWhere<TEntity>;
69
103
  readonly filter?: Where<TEntity>;
70
104
  readonly data: UpdateDataInput<TEntity>;
71
105
  };
72
106
  type UpsertInput<TEntity extends EntityTypeLike> = {
107
+ /** @internal */
108
+ readonly __typeGuard?: TEntity['name'];
73
109
  readonly by: UniqueWhere<TEntity>;
74
110
  readonly filter?: Where<TEntity>;
75
111
  readonly update: UpdateDataInput<TEntity>;
76
112
  readonly create: CreateDataInput<TEntity>;
77
113
  };
78
114
  type CreateInput<TEntity extends EntityTypeLike> = {
115
+ /** @internal */
116
+ readonly __typeGuard?: TEntity['name'];
79
117
  readonly data: CreateDataInput<TEntity>;
80
118
  };
81
119
  type DeleteInput<TEntity extends EntityTypeLike> = {
120
+ /** @internal */
121
+ readonly __typeGuard?: TEntity['name'];
82
122
  readonly by: UniqueWhere<TEntity>;
83
123
  readonly filter?: Where<TEntity>;
84
124
  };
85
125
  type UniqueQueryInput<TEntity extends EntityTypeLike> = {
126
+ /** @internal */
127
+ readonly __typeGuard?: TEntity['name'];
86
128
  readonly by: UniqueWhere<TEntity>;
87
129
  readonly filter?: Where<TEntity>;
88
130
  };
89
131
  type ListQueryInput<TEntity extends EntityTypeLike> = {
132
+ /** @internal */
133
+ readonly __typeGuard?: TEntity['name'];
90
134
  readonly filter?: Where<TEntity>;
91
135
  readonly orderBy?: readonly OrderBy<TEntity>[];
92
136
  readonly offset?: number;
93
137
  readonly limit?: number;
94
138
  };
95
139
  type PaginationQueryInput<TEntity extends EntityTypeLike> = {
140
+ /** @internal */
141
+ readonly __typeGuard?: TEntity['name'];
96
142
  readonly filter?: Where<TEntity>;
97
143
  readonly orderBy?: readonly OrderBy<TEntity>[];
98
144
  readonly skip?: number;
99
145
  readonly first?: number;
100
146
  };
101
147
  type HasOneRelationInput<TEntity extends EntityTypeLike> = {
148
+ /** @internal */
149
+ readonly __typeGuard?: TEntity['name'];
102
150
  readonly filter?: Where<TEntity>;
103
151
  };
104
152
  type HasManyByRelationInput<TEntity extends EntityTypeLike, TUnique extends JSONObject> = {
153
+ /** @internal */
154
+ readonly __typeGuard?: TEntity['name'];
105
155
  readonly by: TUnique;
106
156
  readonly filter?: Where<TEntity>;
107
157
  };
108
158
  type HasManyRelationInput<TEntity extends EntityTypeLike> = ListQueryInput<TEntity>;
109
159
  type HasManyRelationPaginateInput<TEntity extends EntityTypeLike> = PaginationQueryInput<TEntity>;
110
- type UpdateOneRelationInput<TEntity extends EntityTypeLike> = CreateRelationInput<TEntity> | ConnectRelationInput<TEntity> | ConnectOrCreateRelationInput<TEntity> | DeleteRelationInput | DisconnectRelationInput | UpdateRelationInput<TEntity> | UpsertRelationInput<TEntity>;
160
+ type UpdateOneRelationInput<TEntity extends EntityTypeLike> = CreateRelationInput<TEntity> | ConnectRelationInput<TEntity> | ConnectOrCreateRelationInput<TEntity> | DeleteRelationInput<TEntity> | DisconnectRelationInput<TEntity> | UpdateRelationInput<TEntity> | UpsertRelationInput<TEntity>;
111
161
  type UpdateManyRelationInputItem<TEntity extends EntityTypeLike> = CreateRelationInput<TEntity> | ConnectRelationInput<TEntity> | ConnectOrCreateRelationInput<TEntity> | DeleteSpecifiedRelationInput<TEntity> | DisconnectSpecifiedRelationInput<TEntity> | UpdateSpecifiedRelationInput<TEntity> | UpsertSpecifiedRelationInput<TEntity>;
112
162
  type UpdateManyRelationInput<TEntity extends EntityTypeLike> = Array<UpdateManyRelationInputItem<TEntity>>;
113
163
  type FieldOrderBy<TEntity extends EntityTypeLike> = {
114
- readonly [key in keyof TEntity['columns']]?: `${Input.OrderDirection}` | null;
164
+ /** @internal */
165
+ readonly __typeGuard?: TEntity['name'];
115
166
  } & {
116
- readonly [key in keyof TEntity['hasMany']]?: FieldOrderBy<TEntity['hasMany'][key]> | null;
167
+ readonly [key in keyof TEntity['columns']]?: `${Input.OrderDirection}` | null;
117
168
  } & {
118
169
  readonly [key in keyof TEntity['hasOne']]?: FieldOrderBy<TEntity['hasOne'][key]> | null;
119
170
  };
120
171
  type OrderBy<TEntity extends EntityTypeLike> = {
172
+ /** @internal */
173
+ readonly __typeGuard?: TEntity['name'];
121
174
  readonly _random?: boolean;
122
175
  readonly _randomSeeded?: number;
123
176
  } & FieldOrderBy<TEntity>;
124
- type UniqueWhere<TEntity extends EntityTypeLike> = TEntity['unique'];
177
+ type UniqueWhere<TEntity extends EntityTypeLike> = {
178
+ /**
179
+ * @internal
180
+ */
181
+ readonly __typeGuard?: TEntity['name'];
182
+ } & TEntity['unique'];
125
183
  type Where<TEntity extends EntityTypeLike> = {
184
+ /** @internal */
185
+ readonly __typeGuard?: TEntity['name'];
126
186
  readonly and?: (readonly (Where<TEntity>)[]) | null;
127
187
  readonly or?: (readonly (Where<TEntity>)[]) | null;
128
188
  readonly not?: Where<TEntity> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/types/Input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,yBAAiB,kBAAkB,C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AAS,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;KAC5F,GACC;QACD,QAAQ,EAAE,GAAG,IAAI,MAAM,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;KAClF,GACC;QACD,QAAQ,EAAE,GAAG,IAAI,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;KAChF,CAAA;IAGF,KAAY,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,cAAc,EAAE,CAAC,EAAE,CAAA;IACnE,KAAY,iBAAiB,GAC1B,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,GACrC;QAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,CAAA;KAAE,CAAA;CACpC"}
@@ -23,14 +23,14 @@ export type EntityTypeLike = {
23
23
  [columnName: string]: any;
24
24
  };
25
25
  hasOne: {
26
- [relationName: string]: EntityTypeLike;
26
+ [relationName: string]: any;
27
27
  };
28
28
  hasMany: {
29
- [relationName: string]: EntityTypeLike;
29
+ [relationName: string]: any;
30
30
  };
31
31
  hasManyBy: {
32
32
  [relationName: string]: {
33
- entity: EntityTypeLike;
33
+ entity: any;
34
34
  by: JSONObject;
35
35
  };
36
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/types/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,MAAM,MAAM,iBAAiB,CAAC,IAAI,SAAS,MAAM,IAAI;IACpD,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;IACnB,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,CAAA;IAC1B,QAAQ,C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M,EAAE,CAAA;IAC1B,QAAQ,CAAC,MAAM,EAAE;QAChB,QAAQ,EAAE,SAAS,EAAE,MAAM,GACxB;YACD,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAA;SACvB,GACC;YACD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAA;YAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;SACvB,CAAA;KACF,CAAA;CACD,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE;QACT,CAAC,UAAU,EAAE,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAA;KAC/C,CAAA;CACD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,OAAO,EAAE;QACR,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,CAAA;KACzB,CAAA;IACD,MAAM,EAAE;QACP,CAAC,YAAY,EAAE,MAAM,GAAG,GAAG,CAAA;KAC3B,CAAA;IACD,OAAO,EAAE;QACR,CAAC,YAAY,EAAE,MAAM,GAAG,GAAG,CAAA;KAC3B,CAAA;IACD,SAAS,EAAE;QACV,CAAC,YAAY,EAAE,MAAM,GAAG;YACvB,MAAM,EAAE,GAAG,CAAA;YACX,EAAE,EAAE,UAAU,CAAA;SACd,CAAA;KACD,CAAA;CACD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B,QAAQ,EAAE;QACT,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,CAAA;KACpC,CAAA;CACD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"createTypedArgs.d.ts","sourceRoot":"","sources":["../../../src/utils/createTypedArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAElE,eAAO,MAAM,eAAe,gGAGzB,qBASF,CAAA"}
1
+ {"version":3,"file":"createTypedArgs.d.ts","sourceRoot":"","sources":["../../../src/utils/createTypedArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAElE,eAAO,MAAM,eAAe,4CACrB,KAAK,+CAET,qBAYF,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contember/client-content",
3
3
  "license": "Apache-2.0",
4
- "version": "1.3.0-alpha.9",
4
+ "version": "2.0.0-alpha.2",
5
5
  "main": "./dist/production/index.js",
6
6
  "exports": {
7
7
  ".": {
@@ -35,9 +35,12 @@
35
35
  "test": "vitest"
36
36
  },
37
37
  "dependencies": {
38
- "@contember/graphql-builder": "1.3.0-alpha.9",
39
- "@contember/graphql-client": "1.3.0-alpha.9",
40
- "@contember/schema": "^1.3.6"
38
+ "@contember/graphql-builder": "2.0.0-alpha.2",
39
+ "@contember/graphql-client": "2.0.0-alpha.2",
40
+ "@contember/schema": "^1.3.7"
41
+ },
42
+ "devDependencies": {
43
+ "@contember/client-content-generator": "2.0.0-alpha.2"
41
44
  },
42
45
  "repository": {
43
46
  "type": "git",
@@ -1,16 +1,9 @@
1
1
  import { ContentClientInput, MutationResult, SchemaNames, TransactionResult } from './types'
2
- import {
3
- ContentEntitySelection,
4
- ContentEntitySelectionCallback,
5
- ContentEntitySelectionContext,
6
- ContentMutation,
7
- ContentOperation,
8
- ContentQuery,
9
- } from './nodes'
2
+ import { ContentEntitySelection, ContentEntitySelectionCallback, ContentEntitySelectionContext, ContentMutation, ContentOperation, ContentQuery } from './nodes'
10
3
  import { createListArgs } from './utils/createListArgs'
11
4
  import { createTypedArgs } from './utils/createTypedArgs'
12
5
  import { Input } from '@contember/schema'
13
- import { GraphQlField, GraphQlFragmentSpread, GraphQlSelectionSet } from '@contember/graphql-builder'
6
+ import { GraphQlField, GraphQlFieldTypedArgs, GraphQlFragmentSpread, GraphQlSelectionSet } from '@contember/graphql-builder'
14
7
  import { createMutationOperationSet } from './utils/createMutationOperationSet'
15
8
 
16
9
  export type EntitySelectionOrCallback =
@@ -22,6 +15,8 @@ export type MutationTransactionOptions = {
22
15
  deferUniqueConstraints?: boolean
23
16
  }
24
17
 
18
+ type MutationOperation = 'create' | 'update' | 'delete' | 'upsert' | 'transaction';
19
+
25
20
  export class ContentQueryBuilder {
26
21
  constructor(private readonly schema: SchemaNames) {
27
22
  }
@@ -61,9 +56,17 @@ export class ContentQueryBuilder {
61
56
  const context = this.createContext(name)
62
57
  const fieldName = `list${name}`
63
58
  const typedArgs = createListArgs(context.entity, args)
64
- const selectionSet = this.resolveSelectionSet(fields, context)
65
-
66
- return new ContentOperation('query', fieldName, typedArgs, selectionSet)
59
+ const selection = this.resolveSelection(fields, context)
60
+
61
+ return new ContentOperation('query', fieldName, typedArgs, selection.selectionSet, it => {
62
+ const transformFn = selection.transformFn
63
+ if (transformFn) {
64
+ return it.map((el: any) => transformFn(el, {
65
+ rootValue: it,
66
+ }))
67
+ }
68
+ return it
69
+ })
67
70
  }
68
71
 
69
72
 
@@ -74,68 +77,83 @@ export class ContentQueryBuilder {
74
77
  by: `${context.entity.name}UniqueWhere!`,
75
78
  filter: `${context.entity.name}Where`,
76
79
  })
77
- const selectionSet = this.resolveSelectionSet(fields, context)
80
+ const selection = this.resolveSelection(fields, context)
78
81
 
79
- return new ContentOperation('query', fieldName, typedArgs, selectionSet)
82
+ return new ContentOperation('query', fieldName, typedArgs, selection.selectionSet, it => {
83
+ if (it && selection.transformFn) {
84
+ return selection.transformFn(it, {
85
+ rootValue: it,
86
+ })
87
+ }
88
+ return it
89
+ })
80
90
  }
81
91
 
82
92
 
83
93
  public create(name: string, args: Input.CreateInput, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult> {
84
94
 
85
- const context = this.createContext(name)
86
- const fieldName = `create${name}`
95
+ const entity = this.getEntity(name)
87
96
  const typedArgs = createTypedArgs(args, {
88
- data: `${context.entity.name}CreateInput!`,
97
+ data: `${entity.name}CreateInput!`,
89
98
  })
90
- const selectionSet = this.createMutationSelection('create', fields ? this.resolveSelectionSet(fields, context) : undefined)
91
99
 
92
- return new ContentOperation('mutation', fieldName, typedArgs, selectionSet)
100
+ return this.createMutationOperation(name, 'create', typedArgs, fields)
93
101
  }
94
102
 
95
-
96
103
  public update(name: string, args: Input.UpdateInput, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult> {
97
104
 
98
- const context = this.createContext(name)
99
- const fieldName = `update${name}`
105
+ const entity = this.getEntity(name)
100
106
  const typedArgs = createTypedArgs(args, {
101
- data: `${context.entity.name}UpdateInput!`,
102
- by: `${context.entity.name}UniqueWhere!`,
103
- filter: `${context.entity.name}Where`,
107
+ data: `${entity.name}UpdateInput!`,
108
+ by: `${entity.name}UniqueWhere!`,
109
+ filter: `${entity.name}Where`,
104
110
  })
105
- const selectionSet = this.createMutationSelection('update', fields ? this.resolveSelectionSet(fields, context) : undefined)
106
-
107
- return new ContentOperation('mutation', fieldName, typedArgs, selectionSet)
111
+ return this.createMutationOperation(name, 'update', typedArgs, fields)
108
112
  }
109
113
 
110
114
 
111
115
  public upsert(name: string, args: Input.UpsertInput, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult> {
112
116
 
113
- const context = this.createContext(name)
114
- const fieldName = `upsert${name}`
117
+ const entity = this.getEntity(name)
115
118
  const typedArgs = createTypedArgs(args, {
116
- update: `${context.entity.name}UpdateInput!`,
117
- create: `${context.entity.name}CreateInput!`,
118
- by: `${context.entity.name}UniqueWhere!`,
119
- filter: `${context.entity.name}Where`,
119
+ update: `${entity.name}UpdateInput!`,
120
+ create: `${entity.name}CreateInput!`,
121
+ by: `${entity.name}UniqueWhere!`,
122
+ filter: `${entity.name}Where`,
120
123
  })
121
-
122
- const selectionSet = this.createMutationSelection('upsert', fields ? this.resolveSelectionSet(fields, context) : undefined)
123
-
124
- return new ContentOperation('mutation', fieldName, typedArgs, selectionSet)
124
+ return this.createMutationOperation(name, 'upsert', typedArgs, fields)
125
125
  }
126
126
 
127
127
 
128
128
  public delete(name: string, args: Input.UniqueQueryInput, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult> {
129
129
 
130
- const context = this.createContext(name)
130
+ const entity = this.getEntity(name)
131
131
  const typedArgs = createTypedArgs(args, {
132
- by: `${context.entity.name}UniqueWhere!`,
133
- filter: `${context.entity.name}Where`,
132
+ by: `${entity.name}UniqueWhere!`,
133
+ filter: `${entity.name}Where`,
134
134
  })
135
- const fieldName = `delete${name}`
136
- const selectionSet = this.createMutationSelection('delete', fields ? this.resolveSelectionSet(fields, context) : undefined)
135
+ return this.createMutationOperation(name, 'delete', typedArgs, fields)
136
+ }
137
+
138
+
139
+ private createMutationOperation(name: string, operation: MutationOperation, args: GraphQlFieldTypedArgs, fields?: EntitySelectionOrCallback): ContentMutation<MutationResult> {
140
+
141
+ const context = this.createContext(name)
142
+ const fieldName = `${operation}${name}`
143
+ const nodeSelection = fields ? this.resolveSelection(fields, context) : undefined
144
+ const selectionSet = this.createMutationSelection(operation, nodeSelection?.selectionSet)
137
145
 
138
- return new ContentOperation('mutation', fieldName, typedArgs, selectionSet)
146
+ return new ContentOperation('mutation', fieldName, args, selectionSet, it => {
147
+ if (!nodeSelection?.transformFn) {
148
+ return it
149
+ }
150
+ return {
151
+ ...it,
152
+ node: it.node ? nodeSelection.transformFn(it.node, {
153
+ rootValue: it.node,
154
+ }) : null,
155
+ }
156
+ })
139
157
  }
140
158
 
141
159
  public transaction(
@@ -162,7 +180,7 @@ export class ContentQueryBuilder {
162
180
  })
163
181
  }
164
182
 
165
- private createMutationSelection(operation: 'create' | 'update' | 'delete' | 'upsert' | 'transaction', selection?: GraphQlSelectionSet): GraphQlSelectionSet {
183
+ private createMutationSelection(operation: MutationOperation, selection?: GraphQlSelectionSet): GraphQlSelectionSet {
166
184
  const items: GraphQlSelectionSet = [
167
185
  new GraphQlField(null, 'ok'),
168
186
  new GraphQlField(null, 'errorMessage'),
@@ -182,23 +200,28 @@ export class ContentQueryBuilder {
182
200
  }
183
201
 
184
202
 
185
- private resolveSelectionSet(
203
+ private resolveSelection(
186
204
  fields: EntitySelectionOrCallback,
187
205
  context: ContentEntitySelectionContext<string>,
188
206
  ) {
189
- return (typeof fields === 'function' ? fields(new ContentEntitySelection(context, [])) : fields).selectionSet
207
+ return (typeof fields === 'function' ? fields(new ContentEntitySelection(context, [])) : fields)
190
208
  }
191
209
 
192
210
  private createContext(
193
211
  name: string,
194
212
  ): ContentEntitySelectionContext<string> {
195
- const entity = this.schema.entities[name]
196
- if (!entity) {
197
- throw new Error(`Entity ${name} not found`)
198
- }
213
+ const entity = this.getEntity(name)
199
214
  return {
200
215
  entity: entity,
201
216
  schema: this.schema,
202
217
  }
203
218
  }
219
+
220
+ private getEntity(name: string) {
221
+ const entity = this.schema.entities[name]
222
+ if (!entity) {
223
+ throw new Error(`Entity ${name} not found`)
224
+ }
225
+ return entity
226
+ }
204
227
  }
package/src/index.ts CHANGED
@@ -3,3 +3,4 @@ export * from './TypedContentQueryBuilder'
3
3
  export * from './ContentQueryBuilder'
4
4
  export * from './nodes'
5
5
  export * from './types'
6
+ export * from './utils/mutationFragments'