@intlayer/api 9.4.3 → 9.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/@intlayer/core/dist/types/messageFormat/ICU.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/messageFormat/i18next.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/messageFormat/index.d.ts +5 -0
- package/dist/types/@intlayer/core/dist/types/messageFormat/po.d.ts +2 -0
- package/dist/types/@intlayer/core/dist/types/messageFormat/resolveMessage.d.ts +1 -0
- package/dist/types/@intlayer/core/dist/types/messageFormat/vue-i18n.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/build.d.ts +27 -0
- package/dist/types/@intlayer/engine/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +6 -0
- package/dist/types/@intlayer/engine/dist/types/buildIntlayerDictionary/index.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +4 -0
- package/dist/types/@intlayer/engine/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +3 -0
- package/dist/types/@intlayer/engine/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/cleanOutputDir.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/createDictionaryEntryPoint/index.d.ts +5 -0
- package/dist/types/@intlayer/engine/dist/types/createType/createModuleAugmentation.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/createType/createType.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/createType/index.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/formatDictionary.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/loadDictionaries/index.d.ts +4 -0
- package/dist/types/@intlayer/engine/dist/types/loadDictionaries/loadContentDeclaration.d.ts +3 -0
- package/dist/types/@intlayer/engine/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +3 -0
- package/dist/types/@intlayer/engine/dist/types/prepareIntlayer.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/writeConfiguration/index.d.ts +1 -0
- package/dist/types/@intlayer/engine/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +6 -0
- package/dist/types/@intlayer/engine/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +1 -0
- package/dist/types/@intlayer/engine/dist/types/writeContentDeclaration/index.d.ts +4 -0
- package/dist/types/@intlayer/engine/dist/types/writeContentDeclaration/transformJSFile.d.ts +2 -0
- package/dist/types/@intlayer/engine/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +4 -0
- package/dist/types/@intlayer/engine/dist/types/writeContentDeclaration/writeJSFile.d.ts +2 -0
- package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +1 -2
- package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts +19 -19
- package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/analytics.controller.d.ts +6 -7
- package/dist/types/apps/backend/dist/types/controllers/analytics.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/asset.controller.d.ts +5 -6
- package/dist/types/apps/backend/dist/types/controllers/asset.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/cliSessionToken.controller.d.ts +2 -3
- package/dist/types/apps/backend/dist/types/controllers/cliSessionToken.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts +16 -17
- package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/environment.controller.d.ts +9 -10
- package/dist/types/apps/backend/dist/types/controllers/environment.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/newsletter.controller.d.ts +3 -4
- package/dist/types/apps/backend/dist/types/controllers/newsletter.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/oAuth2.controller.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/controllers/oAuth2.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/organization.controller.d.ts +18 -19
- package/dist/types/apps/backend/dist/types/controllers/organization.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/project.controller.d.ts +19 -20
- package/dist/types/apps/backend/dist/types/controllers/project.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/projectAccessKey.controller.d.ts +6 -7
- package/dist/types/apps/backend/dist/types/controllers/projectAccessKey.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/projectMemberAccess.controller.d.ts +2 -3
- package/dist/types/apps/backend/dist/types/controllers/projectMemberAccess.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/recursiveAudit.controller.d.ts +4 -5
- package/dist/types/apps/backend/dist/types/controllers/recursiveAudit.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/reviewer.controller.d.ts +11 -12
- package/dist/types/apps/backend/dist/types/controllers/reviewer.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/searchDoc.controller.d.ts +3 -4
- package/dist/types/apps/backend/dist/types/controllers/searchDoc.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts +12 -13
- package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/stripe.controller.d.ts +30 -31
- package/dist/types/apps/backend/dist/types/controllers/stripe.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/tag.controller.d.ts +9 -10
- package/dist/types/apps/backend/dist/types/controllers/tag.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/translation.controller.d.ts +2 -3
- package/dist/types/apps/backend/dist/types/controllers/translation.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/controllers/user.controller.d.ts +12 -13
- package/dist/types/apps/backend/dist/types/controllers/user.controller.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/services/audit/types.d.ts +5 -5
- package/dist/types/apps/backend/dist/types/services/audit/types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/services/subscription.service.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/services/subscription.service.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/affiliate.types.d.ts +8 -8
- package/dist/types/apps/backend/dist/types/types/affiliate.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/affiliateInvitation.types.d.ts +4 -5
- package/dist/types/apps/backend/dist/types/types/affiliateInvitation.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/aiStats.types.d.ts +3 -3
- package/dist/types/apps/backend/dist/types/types/aiStats.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/analytics.types.d.ts +12 -12
- package/dist/types/apps/backend/dist/types/types/analytics.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/asset.types.d.ts +2 -3
- package/dist/types/apps/backend/dist/types/types/asset.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts +7 -7
- package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/discussion.types.d.ts +5 -6
- package/dist/types/apps/backend/dist/types/types/discussion.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/oAuth2.types.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/types/oAuth2.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/organization.types.d.ts +7 -8
- package/dist/types/apps/backend/dist/types/types/organization.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/plan.types.d.ts +3 -4
- package/dist/types/apps/backend/dist/types/types/plan.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/project.types.d.ts +21 -22
- package/dist/types/apps/backend/dist/types/types/project.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/projectInsights.types.d.ts +3 -3
- package/dist/types/apps/backend/dist/types/types/projectInsights.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/promoCode.types.d.ts +3 -4
- package/dist/types/apps/backend/dist/types/types/promoCode.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/reviewer.types.d.ts +11 -11
- package/dist/types/apps/backend/dist/types/types/reviewer.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/session.types.d.ts +1 -1
- package/dist/types/apps/backend/dist/types/types/showcaseProject.types.d.ts +4 -5
- package/dist/types/apps/backend/dist/types/types/showcaseProject.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/tag.types.d.ts +4 -5
- package/dist/types/apps/backend/dist/types/types/tag.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/types/user.types.d.ts +5 -5
- package/dist/types/apps/backend/dist/types/types/user.types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/auditTag/index.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/AI/auditTag/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/chat/index.d.ts +2 -3
- package/dist/types/apps/backend/dist/types/utils/AI/chat/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/customQuery/index.d.ts +2 -3
- package/dist/types/apps/backend/dist/types/utils/AI/customQuery/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts +2 -3
- package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/auth/getAuth.d.ts +1 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getFiltersAndPaginationFromBody.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getFiltersAndPaginationFromBody.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getUserFiltersAndPagination.d.ts +1 -2
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getUserFiltersAndPagination.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/httpStatusCodes.d.ts +2 -2
- package/dist/types/apps/backend/dist/types/utils/httpStatusCodes.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/mongoDB/types.d.ts +2 -2
- package/dist/types/apps/backend/dist/types/utils/mongoDB/types.d.ts.map +1 -1
- package/dist/types/apps/backend/dist/types/utils/responseData.d.ts +2 -3
- package/dist/types/apps/backend/dist/types/utils/responseData.d.ts.map +1 -1
- package/dist/types/cms/createAuthManager.d.ts +4 -5
- package/dist/types/cms/createAuthManager.d.ts.map +1 -1
- package/dist/types/cms/createIntlayerCMS.d.ts +5 -6
- package/dist/types/cms/createIntlayerCMS.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +1 -2
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +1 -2
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts.map +1 -1
- package/dist/types/fetcher.d.ts +4 -5
- package/dist/types/fetcher.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts +7 -7
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/analytics.d.ts +2 -3
- package/dist/types/getIntlayerAPI/analytics.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/asset.d.ts +2 -3
- package/dist/types/getIntlayerAPI/asset.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts +9 -9
- package/dist/types/getIntlayerAPI/audit.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/bitbucket.d.ts +11 -12
- package/dist/types/getIntlayerAPI/bitbucket.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/dictionary.d.ts +2 -3
- package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/editor.d.ts +2 -3
- package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/environment.d.ts +2 -3
- package/dist/types/getIntlayerAPI/environment.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/github.d.ts +12 -13
- package/dist/types/getIntlayerAPI/github.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/gitlab.d.ts +11 -12
- package/dist/types/getIntlayerAPI/gitlab.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/index.d.ts +2 -3
- package/dist/types/getIntlayerAPI/index.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts +2 -3
- package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts +1 -2
- package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts +2 -3
- package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts +2 -3
- package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/reviewer.d.ts +2 -3
- package/dist/types/getIntlayerAPI/reviewer.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +2 -3
- package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts +4 -5
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/status.d.ts +3 -4
- package/dist/types/getIntlayerAPI/status.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +2 -3
- package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +2 -3
- package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/translate.d.ts +3 -3
- package/dist/types/getIntlayerAPI/translate.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +2 -3
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +2 -1
- package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +1 -1
- package/dist/types/packages/@intlayer/ai/dist/types/aiSdk.d.ts +26 -26
- package/dist/types/packages/@intlayer/ai/dist/types/aiSdk.d.ts.map +1 -1
- package/dist/types/packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.d.ts +1 -2
- package/dist/types/packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.d.ts.map +1 -1
- package/dist/types/packages/@intlayer/ai/dist/types/customQuery.d.ts +2 -3
- package/dist/types/packages/@intlayer/ai/dist/types/customQuery.d.ts.map +1 -1
- package/dist/types/packages/@intlayer/ai/dist/types/index.d.ts +1 -1
- package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts +1 -2
- package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts.map +1 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +1 -1
- package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +2 -2
- package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +1 -1
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +1 -2
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +1 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts +1 -2
- package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +1 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +3 -4
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +1 -1
- package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts +2 -2
- package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +1 -1
- package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts +1 -2
- package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts.map +1 -1
- package/dist/types/proxy.d.ts +2 -3
- package/dist/types/proxy.d.ts.map +1 -1
- package/dist/types/public/createPublicClient.d.ts +3 -4
- package/dist/types/public/createPublicClient.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -7
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -2
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -7
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +0 -6
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -2
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -7
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +0 -6
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -2
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -1
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAuthManager.d.ts","names":[],"sources":["../../../src/cms/createAuthManager.ts"],"mappings":";;;;;;;KAuBK,YAAY,6BAA6B,cACzC,MAAM,cACN,QAAQ;;;;;KAMR,eAAe,gBAAgB,4BAClC,gBAAgB,gBAChB,gBAAgB,mBACb;;;;
|
|
1
|
+
{"version":3,"file":"createAuthManager.d.ts","names":[],"sources":["../../../src/cms/createAuthManager.ts"],"mappings":";;;;;;;KAuBK,YAAY,6BAA6B,cACzC,MAAM,cACN,QAAQ;;;;;KAMR,eAAe,gBAAgB,4BAClC,gBAAgB,gBAChB,gBAAgB,mBACb;;;;YA0CO;;;;EAIV,qBAAqB;;;;;;EAMrB;;;;;YAMU;;;;;EAKV;;;;;;;;;;YAWU;;;;;EAKV,gBAAgB;;;;EAIhB,gBAAgB;;;;;EAKhB;;;;;EAKA,kBAAkB;;;;EAIlB;;;;;EAKA,WAAW,6BAA6B,QACtC,QAAQ,YAAY,WAAW,SAC/B,uBACG,YAAY,WAAW;;;;;;;;;;;EAW5B,cAAc,gBAAgB,yBAC5B,SAAS,eAAe,UACxB,UAAU,uBACP;;;;;;;;;;;;;qBAcM,oBAAiB,iBACZ,KAAK,2BAAyB,UACrC,uBACR"}
|
|
@@ -5,7 +5,7 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
5
5
|
/**
|
|
6
6
|
* Options accepted when creating the Intlayer CMS authenticator.
|
|
7
7
|
*/
|
|
8
|
-
type IntlayerCMSOptions = AuthManagerOptions;
|
|
8
|
+
export type IntlayerCMSOptions = AuthManagerOptions;
|
|
9
9
|
/**
|
|
10
10
|
* The Intlayer CMS authenticator returned by {@link createIntlayerCMS}.
|
|
11
11
|
*
|
|
@@ -13,7 +13,7 @@ type IntlayerCMSOptions = AuthManagerOptions;
|
|
|
13
13
|
* but knows nothing about individual domains. Pair it with a domain endpoint
|
|
14
14
|
* (e.g. `dictionaryEndpoint`) to issue authenticated requests.
|
|
15
15
|
*/
|
|
16
|
-
type IntlayerCMS = AuthManager;
|
|
16
|
+
export type IntlayerCMS = AuthManager;
|
|
17
17
|
/**
|
|
18
18
|
* Creates an Intlayer CMS authenticator handling authentication automatically
|
|
19
19
|
* (OAuth2 `client_credentials`, or a CLI session token).
|
|
@@ -49,13 +49,13 @@ type IntlayerCMS = AuthManager;
|
|
|
49
49
|
* await dictionaryEndpoint(cms).pushDictionaries([myDictionary]);
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
|
-
declare const createIntlayerCMS: (intlayerConfig?: Pick<IntlayerConfig, 'editor'>, options?: IntlayerCMSOptions) => IntlayerCMS;
|
|
52
|
+
export declare const createIntlayerCMS: (intlayerConfig?: Pick<IntlayerConfig, 'editor'>, options?: IntlayerCMSOptions) => IntlayerCMS;
|
|
53
53
|
/**
|
|
54
54
|
* A domain endpoint binder: given an authenticator (or none, in which case a
|
|
55
55
|
* default one is created from the build-time configuration), returns the
|
|
56
56
|
* authenticated domain section.
|
|
57
57
|
*/
|
|
58
|
-
type CMSEndpoint<Section extends Record<string, unknown>> = (cms?: IntlayerCMS) => Section;
|
|
58
|
+
export type CMSEndpoint<Section extends Record<string, unknown>> = (cms?: IntlayerCMS) => Section;
|
|
59
59
|
/**
|
|
60
60
|
* Turns a domain factory into a tree-shakeable endpoint binder.
|
|
61
61
|
*
|
|
@@ -73,7 +73,6 @@ type CMSEndpoint<Section extends Record<string, unknown>> = (cms?: IntlayerCMS)
|
|
|
73
73
|
* export const dictionaryEndpoint = createEndpoint(getDictionaryAPI);
|
|
74
74
|
* ```
|
|
75
75
|
*/
|
|
76
|
-
declare const createEndpoint: <Section extends Record<string, unknown>>(factory: (fetcherOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => Section, options?: BindSectionOptions) => CMSEndpoint<Section>;
|
|
76
|
+
export declare const createEndpoint: <Section extends Record<string, unknown>>(factory: (fetcherOptions: FetcherOptions, intlayerConfig: IntlayerConfig) => Section, options?: BindSectionOptions) => CMSEndpoint<Section>;
|
|
77
77
|
//#endregion
|
|
78
|
-
export { CMSEndpoint, IntlayerCMS, IntlayerCMSOptions, createEndpoint, createIntlayerCMS };
|
|
79
78
|
//# sourceMappingURL=createIntlayerCMS.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIntlayerCMS.d.ts","names":[],"sources":["../../../src/cms/createIntlayerCMS.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"createIntlayerCMS.d.ts","names":[],"sources":["../../../src/cms/createIntlayerCMS.ts"],"mappings":";;;;;;;YAaY,qBAAqB;;;;;;;;YASrB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqCb,oBAAiB,iBACZ,KAAK,2BAAyB,UACrC,uBACR;;;;;;YAOS,YAAY,gBAAgB,4BACtC,MAAM,gBACH;;;;;;;;;;;;;;;;;;qBAmBQ,iBACV,gBAAgB,yBAAuB,UAEpC,gBAAgB,gBAChB,gBAAgB,mBACb,SAAO,UACF,uBACT,YAAY"}
|
|
@@ -5,7 +5,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
5
5
|
/**
|
|
6
6
|
* Fetch distant dictionary
|
|
7
7
|
*/
|
|
8
|
-
declare const fetchDistantDictionaries: (intlayerConfig: IntlayerConfig) => Promise<DictionaryAPI[] | null | undefined>;
|
|
8
|
+
export declare const fetchDistantDictionaries: (intlayerConfig: IntlayerConfig) => Promise<DictionaryAPI[] | null | undefined>;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { fetchDistantDictionaries };
|
|
11
10
|
//# sourceMappingURL=fetchDistantDictionaries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionaries.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionaries.ts"],"mappings":";;;;;;;qBAQa,2BAAwB,gBACnB,mBACf,QAAQ"}
|
|
@@ -5,7 +5,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
5
5
|
/**
|
|
6
6
|
* Fetch distant dictionary
|
|
7
7
|
*/
|
|
8
|
-
declare const fetchDistantDictionary: (dictionaryKey: string, intlayerConfig: IntlayerConfig) => Promise<DictionaryAPI | undefined>;
|
|
8
|
+
export declare const fetchDistantDictionary: (dictionaryKey: string, intlayerConfig: IntlayerConfig) => Promise<DictionaryAPI | undefined>;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { fetchDistantDictionary };
|
|
11
10
|
//# sourceMappingURL=fetchDistantDictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchDistantDictionary.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionary.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"fetchDistantDictionary.d.ts","names":[],"sources":["../../../src/distantDictionary/fetchDistantDictionary.ts"],"mappings":";;;;;;;qBAQa,yBAAsB,uBACZ,gBACL,mBACf,QAAQ"}
|
package/dist/types/fetcher.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* callers can tell a transient failure (5xx, network) from a deterministic one
|
|
7
7
|
* (4xx) instead of blindly retrying.
|
|
8
8
|
*/
|
|
9
|
-
declare class FetcherError extends Error {
|
|
9
|
+
export declare class FetcherError extends Error {
|
|
10
10
|
/** HTTP status code of the response. */
|
|
11
11
|
readonly status: number;
|
|
12
12
|
/** Error code returned by the backend, when available (ex: `DICTIONARY_NOT_FOUND`). */
|
|
@@ -24,7 +24,7 @@ declare class FetcherError extends Error {
|
|
|
24
24
|
* Extends the standard RequestInit interface (excluding 'body'),
|
|
25
25
|
* and adds 'body' and 'params' properties for convenience.
|
|
26
26
|
*/
|
|
27
|
-
type FetcherOptions = Omit<RequestInit, 'body'> & {
|
|
27
|
+
export type FetcherOptions = Omit<RequestInit, 'body'> & {
|
|
28
28
|
/**
|
|
29
29
|
* Body of the request. Should be a key-value pair object.
|
|
30
30
|
*/
|
|
@@ -39,7 +39,7 @@ type FetcherOptions = Omit<RequestInit, 'body'> & {
|
|
|
39
39
|
* Sets the default method to 'GET', the 'Content-Type' header to 'application/json',
|
|
40
40
|
* and includes credentials in the request.
|
|
41
41
|
*/
|
|
42
|
-
declare const fetcherOptions: FetcherOptions;
|
|
42
|
+
export declare const fetcherOptions: FetcherOptions;
|
|
43
43
|
/**
|
|
44
44
|
* Fetcher function to make HTTP requests.
|
|
45
45
|
* It merges default options with user-provided options,
|
|
@@ -87,7 +87,6 @@ declare const fetcherOptions: FetcherOptions;
|
|
|
87
87
|
* }
|
|
88
88
|
* ```
|
|
89
89
|
*/
|
|
90
|
-
declare const fetcher: <T>(url: string, ...options: FetcherOptions[]) => Promise<T>;
|
|
90
|
+
export declare const fetcher: <T>(url: string, ...options: FetcherOptions[]) => Promise<T>;
|
|
91
91
|
//#endregion
|
|
92
|
-
export { FetcherError, FetcherOptions, fetcher, fetcherOptions };
|
|
93
92
|
//# sourceMappingURL=fetcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetcher.d.ts","names":[],"sources":["../../src/fetcher.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"fetcher.d.ts","names":[],"sources":["../../src/fetcher.ts"],"mappings":";;;;;;;;qBAOa,qBAAqB;;WAEhB;;WAEA;;WAEA;EAEhB,YACE,iBACA;IAAW;IAAgB;IAAe;;;;;;;;YAgBlC,iBAAiB,KAAK;;;;EAIhC,OAAO;;;;EAIP,SACI,2DAEA;;;;;;;qBAQO,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6FhB,UAAiB,GAAC,gBAClB,SACC,qBACX,QAAQ"}
|
|
@@ -6,33 +6,33 @@ import "../apps/backend/dist/types/export.js";
|
|
|
6
6
|
import "../index.js";
|
|
7
7
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
8
8
|
//#region src/getIntlayerAPI/ai.d.ts
|
|
9
|
-
type AutocompleteBody = {
|
|
9
|
+
export type AutocompleteBody = {
|
|
10
10
|
text: string;
|
|
11
11
|
aiOptions?: AIOptions;
|
|
12
12
|
contextBefore?: string;
|
|
13
13
|
currentLine?: string;
|
|
14
14
|
contextAfter?: string;
|
|
15
15
|
};
|
|
16
|
-
type AskDocQuestionBody = {
|
|
16
|
+
export type AskDocQuestionBody = {
|
|
17
17
|
messages: ChatCompletionRequestMessage[];
|
|
18
18
|
discussionId: string;
|
|
19
19
|
onMessage?: (chunk: string) => void;
|
|
20
20
|
onDone?: (response: AskDocQuestionResult) => void;
|
|
21
21
|
};
|
|
22
|
-
type ClientAction = {
|
|
22
|
+
export type ClientAction = {
|
|
23
23
|
type: 'navigate';
|
|
24
24
|
path: string;
|
|
25
25
|
} | {
|
|
26
26
|
type: 'invalidate_queries';
|
|
27
27
|
};
|
|
28
|
-
type ChatBody = {
|
|
28
|
+
export type ChatBody = {
|
|
29
29
|
messages: ChatCompletionRequestMessage[];
|
|
30
30
|
discussionId: string;
|
|
31
31
|
onMessage?: (chunk: string) => void;
|
|
32
32
|
onDone?: (response: ChatResult) => void;
|
|
33
33
|
onAction?: (action: ClientAction) => void;
|
|
34
34
|
};
|
|
35
|
-
declare const getAiAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
35
|
+
export declare const getAiAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
36
36
|
customQuery: (body?: CustomQueryBody, otherOptions?: FetcherOptions) => Promise<CustomQueryResult>;
|
|
37
37
|
translateJSON: (body?: TranslateJSONBody, otherOptions?: FetcherOptions) => Promise<TranslateJSONResult>;
|
|
38
38
|
auditContentDeclaration: (body?: AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationResult>;
|
|
@@ -51,7 +51,7 @@ declare const getAiAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Intla
|
|
|
51
51
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
52
52
|
* the build-time configuration (`@intlayer/config/built`).
|
|
53
53
|
*/
|
|
54
|
-
declare const aiEndpoint: CMSEndpoint<{
|
|
54
|
+
export declare const aiEndpoint: CMSEndpoint<{
|
|
55
55
|
customQuery: (body?: CustomQueryBody, otherOptions?: FetcherOptions) => Promise<CustomQueryResult>;
|
|
56
56
|
translateJSON: (body?: TranslateJSONBody, otherOptions?: FetcherOptions) => Promise<TranslateJSONResult>;
|
|
57
57
|
auditContentDeclaration: (body?: AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationResult>;
|
|
@@ -65,5 +65,5 @@ declare const aiEndpoint: CMSEndpoint<{
|
|
|
65
65
|
getAIStats: (otherOptions?: FetcherOptions) => Promise<GetAIStatsResult>;
|
|
66
66
|
}>;
|
|
67
67
|
//#endregion
|
|
68
|
-
export {
|
|
68
|
+
export type { AskDocQuestionResult, ChatResult };
|
|
69
69
|
//# sourceMappingURL=ai.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/ai.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"ai.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/ai.ts"],"mappings":";;;;;;;;YA2BY;EACV;EACA,YAAY;EACZ;EACA;EACA;;YAGU;EACV,UAAU;EACV;EACA,aAAa;EACb,UAAU,UAAU;;YAGV;EACN;EAAkB;;EAClB;;YAEM;EACV,UAAU;EACV;EACA,aAAa;EACb,UAAU,UAAU;EACpB,YAAY,QAAQ;;qBAKT,WAAQ,iBACH,gBAAc,iBACb;EAYR,cAAA,OAAA,iBAAe,eACR,mBAAc,QAAA;EAkBrB,gBAAA,OAAA,mBAAiB,eACV,mBAAc,QAAA;EAkBrB,0BAAA,OAAA,6BAA2B,eACpB,mBAAc,QAAA;EAkBrB,+BAAA,OAAA,kCAAgC,eACzB,mBAAc,QAAA;EAkBrB,kCAAA,OAAA,qCAAmC,eAC5B,mBAAc,QAAA;EAkBrB,WAAA,OAAA,cAAY,eACL,mBAAc,QAAA;EAgCrB,iBAAA,OAAA,oBAAkB,eACX,mBAAc;EAuFH,OAAA,OAAA,UAAQ,eAAgB,mBAAc;EAsFxD,eAAA,OAAA,kBAAgB,eACT,mBAAc,QAAA;EAgBnB,iBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EAiBU,aAAA,eAAA,mBAAc,QAAA;;;;;;;;qBA+B3C,YA/B2C;EAjV7C,cAAA,OAAA,iBAAe,eACR,mBAAc,QAAA;EAkBrB,gBAAA,OAAA,mBAAiB,eACV,mBAAc,QAAA;EAkBrB,0BAAA,OAAA,6BAA2B,eACpB,mBAAc,QAAA;EAkBrB,+BAAA,OAAA,kCAAgC,eACzB,mBAAc,QAAA;EAkBrB,kCAAA,OAAA,qCAAmC,eAC5B,mBAAc,QAAA;EAkBrB,WAAA,OAAA,cAAY,eACL,mBAAc,QAAA;EAgCrB,iBAAA,OAAA,oBAAkB,eACX,mBAAc;EAuFH,OAAA,OAAA,UAAQ,eAAgB,mBAAc;EAsFxD,eAAA,OAAA,kBAAgB,eACT,mBAAc,QAAA;EAgBnB,iBAAA,SAAA,sBAAoB,eACf,mBAAc,QAAA;EAiBU,aAAA,eAAA,mBAAc,QAAA"}
|
|
@@ -6,7 +6,7 @@ import "../apps/backend/dist/types/export.js";
|
|
|
6
6
|
import "../index.js";
|
|
7
7
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
8
8
|
//#region src/getIntlayerAPI/analytics.d.ts
|
|
9
|
-
declare const getAnalyticsAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
9
|
+
export declare const getAnalyticsAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
10
10
|
sendEvents: (body: IngestAnalyticsBody, otherOptions?: FetcherOptions) => Promise<IngestAnalyticsResult>;
|
|
11
11
|
getOverview: (otherOptions?: FetcherOptions) => Promise<GetAnalyticsOverviewResult>;
|
|
12
12
|
getAudience: (range?: AudienceRange | number, otherOptions?: FetcherOptions) => Promise<GetAudienceResult>;
|
|
@@ -19,7 +19,7 @@ declare const getAnalyticsAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?
|
|
|
19
19
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
20
20
|
* the build-time configuration (`@intlayer/config/built`).
|
|
21
21
|
*/
|
|
22
|
-
declare const analyticsEndpoint: CMSEndpoint<{
|
|
22
|
+
export declare const analyticsEndpoint: CMSEndpoint<{
|
|
23
23
|
sendEvents: (body: IngestAnalyticsBody, otherOptions?: FetcherOptions) => Promise<IngestAnalyticsResult>;
|
|
24
24
|
getOverview: (otherOptions?: FetcherOptions) => Promise<GetAnalyticsOverviewResult>;
|
|
25
25
|
getAudience: (range?: AudienceRange | number, otherOptions?: FetcherOptions) => Promise<GetAudienceResult>;
|
|
@@ -27,5 +27,4 @@ declare const analyticsEndpoint: CMSEndpoint<{
|
|
|
27
27
|
getExperimentResults: (experimentKey: string, otherOptions?: FetcherOptions) => Promise<GetExperimentResultsResult>;
|
|
28
28
|
}>;
|
|
29
29
|
//#endregion
|
|
30
|
-
export { analyticsEndpoint, getAnalyticsAPI };
|
|
31
30
|
//# sourceMappingURL=analytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/analytics.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/analytics.ts"],"mappings":";;;;;;;;qBAca,kBAAe,iBACV,gBAAc,iBACb;EAaT,aAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAgBW,cAAA,eAAA,mBAAc,QAAA;EAgB9C,cAAA,QAAA,wBAAsB,eACf,mBAAc,QAAA;EAgBe,kBAAA,eAAA,mBAAc,QAAA;EAc1C,uBAAA,uBAAM,eACP,mBAAc,QAAA;;;;;;;;qBAwBnB,mBAxBmB;EAjEtB,aAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAgBW,cAAA,eAAA,mBAAc,QAAA;EAgB9C,cAAA,QAAA,wBAAsB,eACf,mBAAc,QAAA;EAgBe,kBAAA,eAAA,mBAAc,QAAA;EAc1C,uBAAA,uBAAM,eACP,mBAAc,QAAA"}
|
|
@@ -5,7 +5,7 @@ import "../apps/backend/dist/types/export.js";
|
|
|
5
5
|
import "../index.js";
|
|
6
6
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
7
7
|
//#region src/getIntlayerAPI/asset.d.ts
|
|
8
|
-
declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
|
+
export declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
9
9
|
getAssets: (page?: number, pageSize?: number, otherOptions?: FetcherOptions) => Promise<GetAssetsResult>;
|
|
10
10
|
getAssetById: (assetId: string, otherOptions?: FetcherOptions) => Promise<GetAssetByIdResult>;
|
|
11
11
|
uploadAsset: (file: File, alt?: string, caption?: string, otherOptions?: FetcherOptions) => Promise<UploadAssetResult>;
|
|
@@ -22,7 +22,7 @@ declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: In
|
|
|
22
22
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
23
23
|
* the build-time configuration (`@intlayer/config/built`).
|
|
24
24
|
*/
|
|
25
|
-
declare const assetEndpoint: CMSEndpoint<{
|
|
25
|
+
export declare const assetEndpoint: CMSEndpoint<{
|
|
26
26
|
getAssets: (page?: number, pageSize?: number, otherOptions?: FetcherOptions) => Promise<GetAssetsResult>;
|
|
27
27
|
getAssetById: (assetId: string, otherOptions?: FetcherOptions) => Promise<GetAssetByIdResult>;
|
|
28
28
|
uploadAsset: (file: File, alt?: string, caption?: string, otherOptions?: FetcherOptions) => Promise<UploadAssetResult>;
|
|
@@ -34,5 +34,4 @@ declare const assetEndpoint: CMSEndpoint<{
|
|
|
34
34
|
deleteAsset: (assetId: string, otherOptions?: FetcherOptions) => Promise<DeleteAssetResult>;
|
|
35
35
|
}>;
|
|
36
36
|
//#endregion
|
|
37
|
-
export { assetEndpoint, getAssetAPI };
|
|
38
37
|
//# sourceMappingURL=asset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/asset.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"asset.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/asset.ts"],"mappings":";;;;;;;qBAYa,cAAW,iBACN,gBAAc,iBACb;EAaR,YAAA,eAAM,mBACI,eACH,mBAAc,QAAA;EAqBnB,eAAA,iBAAM,eACD,mBAAc,QAAA;EAiBtB,cAAA,MAAA,MAAI,cACE,kBACI,eACF,mBAAc,QAAA;EAsCnB,cAAA,iBAAM;IACP;IAAuB;IAAc;KAAkB,eACjD,mBAAc,QAAA;EAenB,cAAA,iBAAM,eACD,mBAAc,QAAA;;;;;;;;qBAwBnB,eAxBmB;EApGrB,YAAA,eAAM,mBACI,eACH,mBAAc,QAAA;EAqBnB,eAAA,iBAAM,eACD,mBAAc,QAAA;EAiBtB,cAAA,MAAA,MAAI,cACE,kBACI,eACF,mBAAc,QAAA;EAsCnB,cAAA,iBAAM;IACP;IAAuB;IAAc;KAAkB,eACjD,mBAAc,QAAA;EAenB,cAAA,iBAAM,eACD,mBAAc,QAAA"}
|
|
@@ -6,28 +6,28 @@ import "../apps/backend/dist/types/export.js";
|
|
|
6
6
|
import "../index.js";
|
|
7
7
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
8
8
|
//#region src/getIntlayerAPI/audit.d.ts
|
|
9
|
-
type ScanUrlBody = {
|
|
9
|
+
export type ScanUrlBody = {
|
|
10
10
|
url: string;
|
|
11
11
|
onMessage?: (event: AuditEvent) => void;
|
|
12
12
|
onDone?: () => void;
|
|
13
13
|
};
|
|
14
|
-
type DiscoverUrlsParams = {
|
|
14
|
+
export type DiscoverUrlsParams = {
|
|
15
15
|
url: string;
|
|
16
16
|
};
|
|
17
|
-
type DiscoverUrlsResult = {
|
|
17
|
+
export type DiscoverUrlsResult = {
|
|
18
18
|
urls: string[];
|
|
19
19
|
};
|
|
20
|
-
type StartRecursiveAuditBody = {
|
|
20
|
+
export type StartRecursiveAuditBody = {
|
|
21
21
|
url: string;
|
|
22
22
|
urls?: string[];
|
|
23
23
|
};
|
|
24
|
-
type GetRecursiveAuditStatusParams = {
|
|
24
|
+
export type GetRecursiveAuditStatusParams = {
|
|
25
25
|
jobId: string;
|
|
26
26
|
};
|
|
27
|
-
type RecursiveAuditJobParams = {
|
|
27
|
+
export type RecursiveAuditJobParams = {
|
|
28
28
|
jobId: string;
|
|
29
29
|
};
|
|
30
|
-
declare const getAuditAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
30
|
+
export declare const getAuditAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
31
31
|
discoverUrls: (params?: DiscoverUrlsParams, otherOptions?: FetcherOptions) => Promise<DiscoverUrlsResult>;
|
|
32
32
|
scanUrl: (body?: ScanUrlBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
33
33
|
startRecursiveAudit: (body?: StartRecursiveAuditBody, otherOptions?: FetcherOptions) => Promise<StartRecursiveAuditResult>;
|
|
@@ -48,7 +48,7 @@ declare const getAuditAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: In
|
|
|
48
48
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
49
49
|
* the build-time configuration (`@intlayer/config/built`).
|
|
50
50
|
*/
|
|
51
|
-
declare const auditEndpoint: CMSEndpoint<{
|
|
51
|
+
export declare const auditEndpoint: CMSEndpoint<{
|
|
52
52
|
discoverUrls: (params?: DiscoverUrlsParams, otherOptions?: FetcherOptions) => Promise<DiscoverUrlsResult>;
|
|
53
53
|
scanUrl: (body?: ScanUrlBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
54
54
|
startRecursiveAudit: (body?: StartRecursiveAuditBody, otherOptions?: FetcherOptions) => Promise<StartRecursiveAuditResult>;
|
|
@@ -64,5 +64,5 @@ declare const auditEndpoint: CMSEndpoint<{
|
|
|
64
64
|
}>;
|
|
65
65
|
}>;
|
|
66
66
|
//#endregion
|
|
67
|
-
export {
|
|
67
|
+
export type { AuditEvent, GetRecursiveAuditStatusResult, StartRecursiveAuditResult };
|
|
68
68
|
//# sourceMappingURL=audit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/audit.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"audit.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/audit.ts"],"mappings":";;;;;;;;YAgBY;EACV;EACA,aAAa,OAAO;EACpB;;YAGU;EACV;;YAGU;EACV;;YAGU;EACV;EACA;;YAGU;EACV;;YAGU;EACV;;qBAGW,cAAW,iBACN,gBAAc,iBACb;EAmBN,eAAA,SAAA,oBAAkB,eACb,mBAAc,QAAA;EAarB,UAAA,OAAA,aAAW,eACJ,mBAAc;EAsErB,sBAAA,OAAA,yBAAuB,eAChB,mBAAc,QAAA;EAiBnB,0BAAA,SAAA,+BAA6B,eACxB,mBAAc,QAAA;EAYnB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAQhB,sBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAQhB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;;;;;;;;qBAwBhB,eA1BmB;EA3InB,eAAA,SAAA,oBAAkB,eACb,mBAAc,QAAA;EAarB,UAAA,OAAA,aAAW,eACJ,mBAAc;EAsErB,sBAAA,OAAA,yBAAuB,eAChB,mBAAc,QAAA;EAiBnB,0BAAA,SAAA,+BAA6B,eACxB,mBAAc,QAAA;EAYnB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAQhB,sBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH;;EAQhB,uBAAA,SAAA,yBAAuB,eAClB,mBAAc;IAEH"}
|
|
@@ -3,7 +3,7 @@ import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
//#region src/getIntlayerAPI/bitbucket.d.ts
|
|
6
|
-
type BitbucketRepository = {
|
|
6
|
+
export type BitbucketRepository = {
|
|
7
7
|
uuid: string;
|
|
8
8
|
name: string;
|
|
9
9
|
full_name: string;
|
|
@@ -30,47 +30,47 @@ type BitbucketRepository = {
|
|
|
30
30
|
updated_on: string;
|
|
31
31
|
is_private: boolean;
|
|
32
32
|
};
|
|
33
|
-
type BitbucketAuthCallbackBody = {
|
|
33
|
+
export type BitbucketAuthCallbackBody = {
|
|
34
34
|
code: string;
|
|
35
35
|
};
|
|
36
|
-
type BitbucketAuthCallbackResult = {
|
|
36
|
+
export type BitbucketAuthCallbackResult = {
|
|
37
37
|
data: {
|
|
38
38
|
token: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
type BitbucketListReposResult = {
|
|
41
|
+
export type BitbucketListReposResult = {
|
|
42
42
|
data: BitbucketRepository[];
|
|
43
43
|
};
|
|
44
|
-
type BitbucketCheckConfigBody = {
|
|
44
|
+
export type BitbucketCheckConfigBody = {
|
|
45
45
|
token?: string;
|
|
46
46
|
workspace: string;
|
|
47
47
|
repoSlug: string;
|
|
48
48
|
branch?: string;
|
|
49
49
|
};
|
|
50
|
-
type BitbucketCheckConfigResult = {
|
|
50
|
+
export type BitbucketCheckConfigResult = {
|
|
51
51
|
data: {
|
|
52
52
|
hasConfig: boolean;
|
|
53
53
|
configPaths: string[];
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
type BitbucketGetConfigFileBody = {
|
|
56
|
+
export type BitbucketGetConfigFileBody = {
|
|
57
57
|
token?: string;
|
|
58
58
|
workspace: string;
|
|
59
59
|
repoSlug: string;
|
|
60
60
|
branch?: string;
|
|
61
61
|
path?: string;
|
|
62
62
|
};
|
|
63
|
-
type BitbucketGetConfigFileResult = {
|
|
63
|
+
export type BitbucketGetConfigFileResult = {
|
|
64
64
|
data: {
|
|
65
65
|
content: string;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
type BitbucketGetAuthUrlResult = {
|
|
68
|
+
export type BitbucketGetAuthUrlResult = {
|
|
69
69
|
data: {
|
|
70
70
|
authUrl: string;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
-
declare const getBitbucketAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
73
|
+
export declare const getBitbucketAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
74
74
|
getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<BitbucketGetAuthUrlResult>;
|
|
75
75
|
authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<BitbucketAuthCallbackResult>;
|
|
76
76
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<BitbucketListReposResult>;
|
|
@@ -83,7 +83,7 @@ declare const getBitbucketAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?
|
|
|
83
83
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
84
84
|
* the build-time configuration (`@intlayer/config/built`).
|
|
85
85
|
*/
|
|
86
|
-
declare const bitbucketEndpoint: CMSEndpoint<{
|
|
86
|
+
export declare const bitbucketEndpoint: CMSEndpoint<{
|
|
87
87
|
getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<BitbucketGetAuthUrlResult>;
|
|
88
88
|
authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<BitbucketAuthCallbackResult>;
|
|
89
89
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<BitbucketListReposResult>;
|
|
@@ -91,5 +91,4 @@ declare const bitbucketEndpoint: CMSEndpoint<{
|
|
|
91
91
|
getConfigFile: (token: string | null | undefined, workspace: string, repoSlug: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<BitbucketGetConfigFileResult>;
|
|
92
92
|
}>;
|
|
93
93
|
//#endregion
|
|
94
|
-
export { BitbucketAuthCallbackBody, BitbucketAuthCallbackResult, BitbucketCheckConfigBody, BitbucketCheckConfigResult, BitbucketGetAuthUrlResult, BitbucketGetConfigFileBody, BitbucketGetConfigFileResult, BitbucketListReposResult, BitbucketRepository, bitbucketEndpoint, getBitbucketAPI };
|
|
95
94
|
//# sourceMappingURL=bitbucket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitbucket.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/bitbucket.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"bitbucket.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/bitbucket.ts"],"mappings":";;;;;YAKY;EACV;EACA;EACA;EACA;EACA;IACE;IACA;;EAEF;IACE;MACE;;;EAGJ;IACE;IACA;IACA;;EAEF;IACE;IACA;IACA;;EAEF;EACA;;YAGU;EACV;;YAGU;EACV;IACE;;;YAIQ;EACV,MAAM;;YAGI;EACV;EACA;EACA;EACA;;YAGU;EACV;IACE;IACA;;;YAIQ;EACV;EACA;EACA;EACA;EACA;;YAGU;EACV;IACE;;;YAIQ;EACV;IACE;;;qBAIS,kBAAe,iBACV,gBAAc,iBACb;EAWF,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAiBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,mBACf,kBACD,iBACF,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,mBACf,kBACD,iBACF,eACF,eACE,mBAAc,QAAA;;;;;;;;qBAiCnB,mBAjCmB;EArFf,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAiBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,mBACf,kBACD,iBACF,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,mBACf,kBACD,iBACF,eACF,eACE,mBAAc,QAAA"}
|
|
@@ -5,7 +5,7 @@ import "../apps/backend/dist/types/export.js";
|
|
|
5
5
|
import "../index.js";
|
|
6
6
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
7
7
|
//#region src/getIntlayerAPI/dictionary.d.ts
|
|
8
|
-
declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
|
+
export declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
9
9
|
getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
10
10
|
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
11
11
|
getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
|
|
@@ -22,7 +22,7 @@ declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig
|
|
|
22
22
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
23
23
|
* the build-time configuration (`@intlayer/config/built`).
|
|
24
24
|
*/
|
|
25
|
-
declare const dictionaryEndpoint: CMSEndpoint<{
|
|
25
|
+
export declare const dictionaryEndpoint: CMSEndpoint<{
|
|
26
26
|
getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
27
27
|
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
28
28
|
getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
|
|
@@ -34,5 +34,4 @@ declare const dictionaryEndpoint: CMSEndpoint<{
|
|
|
34
34
|
deleteDictionary: (id: DeleteDictionaryParam['dictionaryId'], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
|
|
35
35
|
}>;
|
|
36
36
|
//#endregion
|
|
37
|
-
export { dictionaryEndpoint, getDictionaryAPI };
|
|
38
37
|
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/dictionary.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/dictionary.ts"],"mappings":";;;;;;;qBAuBa,mBAAgB,iBACX,gBAAc,iBACb;EAWL,kBAAA,UAAA,uBAAqB,eACjB,mBAAc,QAAA;EAgBmB,sBAAA,eAAA,mBAAc,QAAA;EAc/C,iCAAA,eAAA,mBAAc,QAAA;EAiBb,gBAAA,eAAA,sCAAoC,UACzC,+BAA6B,eACzB,mBAAc,QAAA;EAoBZ,wBAAA,0BAAQ,UACd,+BAA6B,eACzB,mBAAc,QAAA;EAkCd,mBAAA,cAAA,sCAAoC,eACpC,mBAAc,QAAA;EAftB,gBAAA,MAAA,mBAAiB,eACT,mBAAc,QAAA;EA+BhB,mBAAA,YAAA,sBAAoB,eAClB,mBAAc,QAAA;EAiBxB,mBAAA,IAAA,uCAAqC,eAC3B,mBAAc,QAAA;;;;;;;;qBA8BnB,oBA9BmB;EA/IlB,kBAAA,UAAA,uBAAqB,eACjB,mBAAc,QAAA;EAgBmB,sBAAA,eAAA,mBAAc,QAAA;EAc/C,iCAAA,eAAA,mBAAc,QAAA;EAiBb,gBAAA,eAAA,sCAAoC,UACzC,+BAA6B,eACzB,mBAAc,QAAA;EAoBZ,wBAAA,0BAAQ,UACd,+BAA6B,eACzB,mBAAc,QAAA;EAkCd,mBAAA,cAAA,sCAAoC,eACpC,mBAAc,QAAA;EAftB,gBAAA,MAAA,mBAAiB,eACT,mBAAc,QAAA;EA+BhB,mBAAA,YAAA,sBAAoB,eAClB,mBAAc,QAAA;EAiBxB,mBAAA,IAAA,uCAAqC,eAC3B,mBAAc,QAAA"}
|
|
@@ -6,7 +6,7 @@ import "../packages/intlayer-editor/server/dist/export.js";
|
|
|
6
6
|
import "../index.js";
|
|
7
7
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
8
8
|
//#region src/getIntlayerAPI/editor.d.ts
|
|
9
|
-
declare const getEditorAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
9
|
+
export declare const getEditorAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
10
10
|
getDictionaries: (otherOptions?: FetcherOptions) => Promise<GetEditorDictionariesResult>;
|
|
11
11
|
getConfiguration: (otherOptions?: FetcherOptions) => Promise<GetConfigurationResult>;
|
|
12
12
|
writeDictionary: (body: WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<WriteContentDeclarationResult>;
|
|
@@ -17,11 +17,10 @@ declare const getEditorAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: I
|
|
|
17
17
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
18
18
|
* the build-time configuration (`@intlayer/config/built`).
|
|
19
19
|
*/
|
|
20
|
-
declare const editorEndpoint: CMSEndpoint<{
|
|
20
|
+
export declare const editorEndpoint: CMSEndpoint<{
|
|
21
21
|
getDictionaries: (otherOptions?: FetcherOptions) => Promise<GetEditorDictionariesResult>;
|
|
22
22
|
getConfiguration: (otherOptions?: FetcherOptions) => Promise<GetConfigurationResult>;
|
|
23
23
|
writeDictionary: (body: WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<WriteContentDeclarationResult>;
|
|
24
24
|
}>;
|
|
25
25
|
//#endregion
|
|
26
|
-
export { editorEndpoint, getEditorAPI };
|
|
27
26
|
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/editor.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"editor.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/editor.ts"],"mappings":";;;;;;;;qBAWa,eAAY,iBACP,gBAAc,iBACb;EAyBD,kBAAA,eAAA,mBACb,QAAQ;EAhBK,mBAAA,eAAA,mBACb,QAAQ;EA8BH,kBAAA,MAAA,6BAA2B,eACnB,mBAAc,QAAA;;;;;;;;qBAyBnB,gBAzBmB;EAjBd,kBAAA,eAAA,mBACb,QAAQ;EAhBK,mBAAA,eAAA,mBACb,QAAQ;EA8BH,kBAAA,MAAA,6BAA2B,eACnB,mBAAc,QAAA"}
|
|
@@ -5,7 +5,7 @@ import "../apps/backend/dist/types/export.js";
|
|
|
5
5
|
import "../index.js";
|
|
6
6
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
7
7
|
//#region src/getIntlayerAPI/environment.d.ts
|
|
8
|
-
declare const getEnvironmentAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
|
+
export declare const getEnvironmentAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
9
9
|
addEnvironment: (body: AddEnvironmentBody, otherOptions?: FetcherOptions) => Promise<AddEnvironmentResult>;
|
|
10
10
|
updateEnvironment: (environmentId: string, body: UpdateEnvironmentBody, otherOptions?: FetcherOptions) => Promise<UpdateEnvironmentResult>;
|
|
11
11
|
deleteEnvironment: (environmentId: string, otherOptions?: FetcherOptions) => Promise<DeleteEnvironmentResult>;
|
|
@@ -19,7 +19,7 @@ declare const getEnvironmentAPI: (authAPIOptions?: FetcherOptions, intlayerConfi
|
|
|
19
19
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
20
20
|
* the build-time configuration (`@intlayer/config/built`).
|
|
21
21
|
*/
|
|
22
|
-
declare const environmentEndpoint: CMSEndpoint<{
|
|
22
|
+
export declare const environmentEndpoint: CMSEndpoint<{
|
|
23
23
|
addEnvironment: (body: AddEnvironmentBody, otherOptions?: FetcherOptions) => Promise<AddEnvironmentResult>;
|
|
24
24
|
updateEnvironment: (environmentId: string, body: UpdateEnvironmentBody, otherOptions?: FetcherOptions) => Promise<UpdateEnvironmentResult>;
|
|
25
25
|
deleteEnvironment: (environmentId: string, otherOptions?: FetcherOptions) => Promise<DeleteEnvironmentResult>;
|
|
@@ -28,5 +28,4 @@ declare const environmentEndpoint: CMSEndpoint<{
|
|
|
28
28
|
migrateEnvironment: (body: MigrateEnvironmentBody, otherOptions?: FetcherOptions) => Promise<MigrateEnvironmentResult>;
|
|
29
29
|
}>;
|
|
30
30
|
//#endregion
|
|
31
|
-
export { environmentEndpoint, getEnvironmentAPI };
|
|
32
31
|
//# sourceMappingURL=environment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/environment.ts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"environment.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/environment.ts"],"mappings":";;;;;;;qBAgBa,oBAAiB,iBACZ,gBAAc,iBACb;EAMT,iBAAA,MAAA,oBAAkB,eACV,mBAAc,QAAA;EAUb,oBAAA,uBAAM,MACf,uBAAqB,eACb,mBAAc,QAAA;EAUb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAUb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAUd,+BAAA,eAAA,mBAAc,QAAA;EAUtB,qBAAA,MAAA,wBAAsB,eACd,mBAAc,QAAA;;;;;;;;qBAyBnB,qBAzBmB;EAxDtB,iBAAA,MAAA,oBAAkB,eACV,mBAAc,QAAA;EAUb,oBAAA,uBAAM,MACf,uBAAqB,eACb,mBAAc,QAAA;EAUb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAUb,oBAAA,uBAAM,eACP,mBAAc,QAAA;EAUd,+BAAA,eAAA,mBAAc,QAAA;EAUtB,qBAAA,MAAA,wBAAsB,eACd,mBAAc,QAAA"}
|
|
@@ -3,7 +3,7 @@ import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
|
3
3
|
import "../index.js";
|
|
4
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
5
|
//#region src/getIntlayerAPI/github.d.ts
|
|
6
|
-
type GitHubRepository = {
|
|
6
|
+
export type GitHubRepository = {
|
|
7
7
|
id: number;
|
|
8
8
|
name: string;
|
|
9
9
|
full_name: string;
|
|
@@ -15,51 +15,51 @@ type GitHubRepository = {
|
|
|
15
15
|
default_branch: string;
|
|
16
16
|
private: boolean;
|
|
17
17
|
};
|
|
18
|
-
type GitHubAuthCallbackBody = {
|
|
18
|
+
export type GitHubAuthCallbackBody = {
|
|
19
19
|
code: string;
|
|
20
20
|
};
|
|
21
|
-
type GitHubAuthCallbackResult = {
|
|
21
|
+
export type GitHubAuthCallbackResult = {
|
|
22
22
|
data: {
|
|
23
23
|
token: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
type GitHubListReposResult = {
|
|
26
|
+
export type GitHubListReposResult = {
|
|
27
27
|
data: GitHubRepository[];
|
|
28
28
|
};
|
|
29
|
-
type GitHubCheckConfigBody = {
|
|
29
|
+
export type GitHubCheckConfigBody = {
|
|
30
30
|
token?: string;
|
|
31
31
|
owner: string;
|
|
32
32
|
repository: string;
|
|
33
33
|
branch?: string;
|
|
34
34
|
};
|
|
35
|
-
type GitHubCheckConfigResult = {
|
|
35
|
+
export type GitHubCheckConfigResult = {
|
|
36
36
|
data: {
|
|
37
37
|
hasConfig: boolean;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
type GitHubGetConfigFileBody = {
|
|
40
|
+
export type GitHubGetConfigFileBody = {
|
|
41
41
|
token?: string;
|
|
42
42
|
owner: string;
|
|
43
43
|
repository: string;
|
|
44
44
|
branch?: string;
|
|
45
45
|
path?: string;
|
|
46
46
|
};
|
|
47
|
-
type GitHubGetConfigFileResult = {
|
|
47
|
+
export type GitHubGetConfigFileResult = {
|
|
48
48
|
data: {
|
|
49
49
|
content: string;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
-
type GitHubGetAuthUrlResult = {
|
|
52
|
+
export type GitHubGetAuthUrlResult = {
|
|
53
53
|
data: {
|
|
54
54
|
authUrl: string;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
|
-
type GitHubGetTokenResult = {
|
|
57
|
+
export type GitHubGetTokenResult = {
|
|
58
58
|
data: {
|
|
59
59
|
token: string;
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
-
declare const getGithubAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
62
|
+
export declare const getGithubAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
63
63
|
getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<GitHubGetAuthUrlResult>;
|
|
64
64
|
authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<GitHubAuthCallbackResult>;
|
|
65
65
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<GitHubListReposResult>;
|
|
@@ -73,7 +73,7 @@ declare const getGithubAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: I
|
|
|
73
73
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
74
74
|
* the build-time configuration (`@intlayer/config/built`).
|
|
75
75
|
*/
|
|
76
|
-
declare const githubEndpoint: CMSEndpoint<{
|
|
76
|
+
export declare const githubEndpoint: CMSEndpoint<{
|
|
77
77
|
getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<GitHubGetAuthUrlResult>;
|
|
78
78
|
authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<GitHubAuthCallbackResult>;
|
|
79
79
|
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<GitHubListReposResult>;
|
|
@@ -82,5 +82,4 @@ declare const githubEndpoint: CMSEndpoint<{
|
|
|
82
82
|
getToken: (otherOptions?: FetcherOptions) => Promise<GitHubGetTokenResult>;
|
|
83
83
|
}>;
|
|
84
84
|
//#endregion
|
|
85
|
-
export { GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubGetTokenResult, GitHubListReposResult, GitHubRepository, getGithubAPI, githubEndpoint };
|
|
86
85
|
//# sourceMappingURL=github.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/github.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"github.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/github.ts"],"mappings":";;;;;YAKY;EACV;EACA;EACA;EACA;IACE;IACA;;EAEF;EACA;EACA;;YAGU;EACV;;YAGU;EACV;IACE;;;YAIQ;EACV,MAAM;;YAGI;EACV;EACA;EACA;EACA;;YAGU;EACV;IACE;;;YAIQ;EACV;EACA;EACA;EACA;EACA;;YAGU;EACV;IACE;;;YAIQ;EACV;IACE;;;YAIQ;EACV;IACE;;;qBAIS,eAAY,iBACP,gBAAc,iBACb;EAWF,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAiBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACF,eACE,mBAAc,QAAA;EAeQ,WAAA,eAAA,mBAAc,QAAA;;;;;;;;qBAuBzC,gBAvByC;EApGrC,aAAA,qBAAM,eACL,mBAAc,QAAA;EAgBtB,eAAA,cAAM,eACE,mBAAc,QAAA;EAiBpB,kBAAA,uBAAa,eACP,mBAAc,QAAA;EAmBrB,sBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACA,mBAAc,QAAA;EAqBrB,gBAAA,kCAAyB,eACnB,oBACK,iBACJ,eACF,eACE,mBAAc,QAAA;EAeQ,WAAA,eAAA,mBAAc,QAAA"}
|