@intlayer/api 9.4.2 → 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 +78 -0
- package/dist/types/apps/backend/dist/types/controllers/ai.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/analytics.controller.d.ts +31 -0
- package/dist/types/apps/backend/dist/types/controllers/analytics.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/asset.controller.d.ts +12 -0
- package/dist/types/apps/backend/dist/types/controllers/asset.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/audit.controller.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/controllers/bitbucket.controller.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/controllers/cliSessionToken.controller.d.ts +14 -0
- package/dist/types/apps/backend/dist/types/controllers/cliSessionToken.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts +62 -0
- package/dist/types/apps/backend/dist/types/controllers/dictionary.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/environment.controller.d.ts +26 -0
- package/dist/types/apps/backend/dist/types/controllers/environment.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/eventListener.controller.d.ts +2 -0
- package/dist/types/apps/backend/dist/types/controllers/github.controller.d.ts +2 -0
- package/dist/types/apps/backend/dist/types/controllers/gitlab.controller.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/controllers/newsletter.controller.d.ts +16 -0
- package/dist/types/apps/backend/dist/types/controllers/newsletter.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/oAuth2.controller.d.ts +7 -0
- package/dist/types/apps/backend/dist/types/controllers/oAuth2.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/organization.controller.d.ts +38 -0
- package/dist/types/apps/backend/dist/types/controllers/organization.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/project.controller.d.ts +50 -0
- package/dist/types/apps/backend/dist/types/controllers/project.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/projectAccessKey.controller.d.ts +17 -0
- package/dist/types/apps/backend/dist/types/controllers/projectAccessKey.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/projectMemberAccess.controller.d.ts +13 -0
- package/dist/types/apps/backend/dist/types/controllers/projectMemberAccess.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/publicDictionary.controller.d.ts +2 -0
- package/dist/types/apps/backend/dist/types/controllers/publicToken.controller.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/controllers/recursiveAudit.controller.d.ts +31 -0
- package/dist/types/apps/backend/dist/types/controllers/recursiveAudit.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/reviewer.controller.d.ts +69 -0
- package/dist/types/apps/backend/dist/types/controllers/reviewer.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/searchDoc.controller.d.ts +19 -0
- package/dist/types/apps/backend/dist/types/controllers/searchDoc.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts +50 -0
- package/dist/types/apps/backend/dist/types/controllers/showcaseProject.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/stripe.controller.d.ts +91 -0
- package/dist/types/apps/backend/dist/types/controllers/stripe.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/tag.controller.d.ts +22 -0
- package/dist/types/apps/backend/dist/types/controllers/tag.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/translation.controller.d.ts +15 -0
- package/dist/types/apps/backend/dist/types/controllers/translation.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/controllers/user.controller.d.ts +30 -0
- package/dist/types/apps/backend/dist/types/controllers/user.controller.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/export.d.ts +67 -0
- package/dist/types/apps/backend/dist/types/routes/ai.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/analytics.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/asset.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/audit.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/bitbucket.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/dictionary.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/environment.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/github.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/gitlab.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/newsletter.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/organization.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/project.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/reviewer.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/showcaseProject.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/stripe.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/translate.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/routes/user.routes.d.ts +1 -0
- package/dist/types/apps/backend/dist/types/services/audit/types.d.ts +52 -0
- package/dist/types/apps/backend/dist/types/services/audit/types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/services/ci.service.d.ts +2 -0
- package/dist/types/apps/backend/dist/types/services/github.service.d.ts +2 -0
- package/dist/types/apps/backend/dist/types/services/subscription.service.d.ts +14 -0
- package/dist/types/apps/backend/dist/types/services/subscription.service.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/affiliate.types.d.ts +40 -0
- package/dist/types/apps/backend/dist/types/types/affiliate.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/affiliateInvitation.types.d.ts +25 -0
- package/dist/types/apps/backend/dist/types/types/affiliateInvitation.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/aiStats.types.d.ts +35 -0
- package/dist/types/apps/backend/dist/types/types/aiStats.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/analytics.types.d.ts +128 -0
- package/dist/types/apps/backend/dist/types/types/analytics.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/asset.types.d.ts +30 -0
- package/dist/types/apps/backend/dist/types/types/asset.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts +67 -0
- package/dist/types/apps/backend/dist/types/types/dictionary.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/discussion.types.d.ts +41 -0
- package/dist/types/apps/backend/dist/types/types/discussion.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/oAuth2.types.d.ts +14 -0
- package/dist/types/apps/backend/dist/types/types/oAuth2.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/organization.types.d.ts +105 -0
- package/dist/types/apps/backend/dist/types/types/organization.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/plan.types.d.ts +22 -0
- package/dist/types/apps/backend/dist/types/types/plan.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/project.types.d.ts +127 -0
- package/dist/types/apps/backend/dist/types/types/project.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/projectInsights.types.d.ts +79 -0
- package/dist/types/apps/backend/dist/types/types/projectInsights.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/promoCode.types.d.ts +25 -0
- package/dist/types/apps/backend/dist/types/types/promoCode.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/reviewer.types.d.ts +60 -0
- package/dist/types/apps/backend/dist/types/types/reviewer.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/session.types.d.ts +8 -0
- package/dist/types/apps/backend/dist/types/types/showcaseProject.types.d.ts +57 -0
- package/dist/types/apps/backend/dist/types/types/showcaseProject.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/tag.types.d.ts +30 -0
- package/dist/types/apps/backend/dist/types/types/tag.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/types/user.types.d.ts +31 -0
- package/dist/types/apps/backend/dist/types/types/user.types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts +8 -0
- package/dist/types/apps/backend/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts +14 -0
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionary/index.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts +11 -0
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryField/index.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/AI/auditDictionaryMetadata/index.d.ts +4 -0
- package/dist/types/apps/backend/dist/types/utils/AI/auditTag/index.d.ts +10 -0
- package/dist/types/apps/backend/dist/types/utils/AI/auditTag/index.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/AI/chat/index.d.ts +16 -0
- package/dist/types/apps/backend/dist/types/utils/AI/chat/index.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/AI/customQuery/index.d.ts +11 -0
- package/dist/types/apps/backend/dist/types/utils/AI/customQuery/index.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts +20 -0
- package/dist/types/apps/backend/dist/types/utils/AI/translateJSON/index.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/auth/getAuth.d.ts +3 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +42 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +20 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getFiltersAndPaginationFromBody.d.ts +11 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getFiltersAndPaginationFromBody.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts +28 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +21 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +19 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getUserFiltersAndPagination.d.ts +23 -0
- package/dist/types/apps/backend/dist/types/utils/filtersAndPagination/getUserFiltersAndPagination.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/httpStatusCodes.d.ts +408 -0
- package/dist/types/apps/backend/dist/types/utils/httpStatusCodes.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/mongoDB/types.d.ts +9 -0
- package/dist/types/apps/backend/dist/types/utils/mongoDB/types.d.ts.map +1 -0
- package/dist/types/apps/backend/dist/types/utils/permissions.d.ts +7 -0
- package/dist/types/apps/backend/dist/types/utils/responseData.d.ts +25 -0
- package/dist/types/apps/backend/dist/types/utils/responseData.d.ts.map +1 -0
- 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 +3 -3
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +3 -3
- 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 +10 -8
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/analytics.d.ts +5 -4
- package/dist/types/getIntlayerAPI/analytics.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/asset.d.ts +4 -3
- package/dist/types/getIntlayerAPI/asset.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts +12 -10
- 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 +4 -4
- package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/editor.d.ts +5 -6
- package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/environment.d.ts +4 -4
- 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 +4 -4
- package/dist/types/getIntlayerAPI/newsletter.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/oAuth.d.ts +4 -2
- package/dist/types/getIntlayerAPI/oAuth.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/organization.d.ts +4 -4
- package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts +7 -4
- package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/reviewer.d.ts +638 -34
- package/dist/types/getIntlayerAPI/reviewer.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +4 -4
- package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts +6 -6
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/status.d.ts +5 -4
- package/dist/types/getIntlayerAPI/status.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +4 -4
- package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +4 -4
- package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/translate.d.ts +5 -4
- package/dist/types/getIntlayerAPI/translate.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +9 -6
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/dist/types/index.d.ts +9 -4
- 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 +119 -0
- package/dist/types/packages/@intlayer/ai/dist/types/aiSdk.d.ts.map +1 -0
- package/dist/types/packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.d.ts +12 -0
- package/dist/types/packages/@intlayer/ai/dist/types/auditDictionaryMetadata/index.d.ts.map +1 -0
- package/dist/types/packages/@intlayer/ai/dist/types/customQuery.d.ts +9 -0
- package/dist/types/packages/@intlayer/ai/dist/types/customQuery.d.ts.map +1 -0
- package/dist/types/packages/@intlayer/ai/dist/types/index.d.ts +30 -0
- package/dist/types/packages/@intlayer/ai/dist/types/index.d.ts.map +1 -0
- package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts +9 -0
- package/dist/types/packages/@intlayer/ai/dist/types/translateJSON/index.d.ts.map +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +7 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +7 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +6 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/compact.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/currency.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/date.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/index.d.ts +9 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/list.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/number.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/percentage.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/relativeTime.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/formatters/units.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/dictionaryTransformCache.d.ts +4 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getCondition.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getContent/deepTransform.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getContent/getContent.d.ts +3 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getContent/index.d.ts +3 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getContent/plugins.d.ts +7 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getDictionary.d.ts +4 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +6 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getGender.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getIntlayer.d.ts +4 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getIntlayerAsync.d.ts +4 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getNesting.d.ts +6 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getPlural.d.ts +3 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getSelect.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/getTranslation.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/index.d.ts +18 -0
- package/dist/types/packages/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +6 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/comparePaths.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/domainUtils.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/generateSitemap.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getBrowserLocale.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getCanonicalPath.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getHTMLTextDir.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getLocale.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getLocaleFromPath.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getLocaleLang.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getLocaleName.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getLocalizedPath.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getLocalizedUrl.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getMultilingualUrls.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getPathWithoutLocale.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/getPrefix.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/index.d.ts +22 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/localeDetector.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/localeMapper.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/localeResolver.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/resolveBrowserLocale.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/rewriteMatch.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/rewriteUtils.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/localization/validatePrefix.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/markdown/index.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/ICU.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/i18next.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/index.d.ts +5 -0
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/po.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/resolveMessage.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/messageFormat/vue-i18n.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/condition/condition.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/condition/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/enumeration/enumeration.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/enumeration/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/file/file.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/file/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/gender/gender.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/gender/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/html/html.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/html/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/index.d.ts +22 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/insertion/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/insertion/insertion.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/markdown/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/markdown/markdown.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +4 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/plural/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/plural/plural.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/select/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/select/select.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/translation/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/transpiler/translation/translation.d.ts +2 -0
- package/dist/types/packages/@intlayer/core/dist/types/utils/index.d.ts +3 -0
- package/dist/types/packages/@intlayer/core/dist/types/utils/intl.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/utils/isSameKeyPath.d.ts +1 -0
- package/dist/types/packages/@intlayer/core/dist/types/utils/localeStorage.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/build.d.ts +27 -0
- package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +6 -0
- package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/index.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +4 -0
- package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +3 -0
- package/dist/types/packages/@intlayer/engine/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/cleanOutputDir.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createDictionaryEntryPoint/index.d.ts +5 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createType/createModuleAugmentation.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createType/createType.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/createType/index.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/formatDictionary.d.ts +3 -0
- package/dist/types/packages/@intlayer/engine/dist/types/intlayer/dist/types/index.d.ts +11 -0
- package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/index.d.ts +4 -0
- package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/loadContentDeclaration.d.ts +3 -0
- package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +3 -0
- package/dist/types/packages/@intlayer/engine/dist/types/prepareIntlayer.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/writeConfiguration/index.d.ts +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +6 -0
- package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +1 -0
- package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/index.d.ts +4 -0
- package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/transformJSFile.d.ts +2 -0
- package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +4 -0
- package/dist/types/packages/@intlayer/engine/dist/types/writeContentDeclaration/writeJSFile.d.ts +2 -0
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts +8 -0
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +1 -0
- package/dist/types/packages/intlayer/dist/types/index.d.ts +13 -0
- package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts +8 -0
- package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +1 -0
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts +19 -0
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +1 -0
- package/dist/types/packages/intlayer-editor/server/dist/export.d.ts +3 -0
- package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts +408 -0
- package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +1 -0
- package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts +18 -0
- package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts.map +1 -0
- package/dist/types/proxy.d.ts +2 -3
- package/dist/types/proxy.d.ts.map +1 -1
- package/dist/types/public/createPublicClient.d.ts +5 -5
- package/dist/types/public/createPublicClient.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -1
- package/package.json +5 -5
|
@@ -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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { DictionaryAPI } from "../apps/backend/dist/types/types/dictionary.types.js";
|
|
2
|
+
import "../apps/backend/dist/types/export.js";
|
|
1
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
-
import { DictionaryAPI } from "@intlayer/backend";
|
|
3
4
|
//#region src/distantDictionary/fetchDistantDictionaries.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Fetch distant dictionary
|
|
6
7
|
*/
|
|
7
|
-
declare const fetchDistantDictionaries: (intlayerConfig: IntlayerConfig) => Promise<DictionaryAPI[] | null | undefined>;
|
|
8
|
+
export declare const fetchDistantDictionaries: (intlayerConfig: IntlayerConfig) => Promise<DictionaryAPI[] | null | undefined>;
|
|
8
9
|
//#endregion
|
|
9
|
-
export { fetchDistantDictionaries };
|
|
10
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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { DictionaryAPI } from "../apps/backend/dist/types/types/dictionary.types.js";
|
|
2
|
+
import "../apps/backend/dist/types/export.js";
|
|
1
3
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
-
import { DictionaryAPI } from "@intlayer/backend";
|
|
3
4
|
//#region src/distantDictionary/fetchDistantDictionary.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Fetch distant dictionary
|
|
6
7
|
*/
|
|
7
|
-
declare const fetchDistantDictionary: (dictionaryKey: string, intlayerConfig: IntlayerConfig) => Promise<DictionaryAPI | undefined>;
|
|
8
|
+
export declare const fetchDistantDictionary: (dictionaryKey: string, intlayerConfig: IntlayerConfig) => Promise<DictionaryAPI | undefined>;
|
|
8
9
|
//#endregion
|
|
9
|
-
export { fetchDistantDictionary };
|
|
10
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"}
|
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { AIOptions, ChatCompletionRequestMessage } from "../packages/@intlayer/ai/dist/types/aiSdk.js";
|
|
4
|
+
import { AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationFieldResult, AuditContentDeclarationMetadataBody, AuditContentDeclarationMetadataResult, AuditContentDeclarationResult, AuditTagBody, AuditTagResult, AutocompleteResponse, ChatResult, CustomQueryBody, CustomQueryResult, GetAIStatsResult, GetDiscussionsParams, GetDiscussionsResult, TranslateJSONBody, TranslateJSONResult } from "../apps/backend/dist/types/controllers/ai.controller.js";
|
|
5
|
+
import "../apps/backend/dist/types/export.js";
|
|
3
6
|
import "../index.js";
|
|
4
7
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AIOptions, AskDocQuestionResult, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, ChatCompletionRequestMessage, ChatResult, CustomQueryBody, GetDiscussionsParams, TranslateJSONBody } from "@intlayer/backend";
|
|
6
8
|
//#region src/getIntlayerAPI/ai.d.ts
|
|
7
|
-
type AutocompleteBody = {
|
|
9
|
+
export type AutocompleteBody = {
|
|
8
10
|
text: string;
|
|
9
11
|
aiOptions?: AIOptions;
|
|
10
12
|
contextBefore?: string;
|
|
11
13
|
currentLine?: string;
|
|
12
14
|
contextAfter?: string;
|
|
13
15
|
};
|
|
14
|
-
type AskDocQuestionBody = {
|
|
16
|
+
export type AskDocQuestionBody = {
|
|
15
17
|
messages: ChatCompletionRequestMessage[];
|
|
16
18
|
discussionId: string;
|
|
17
19
|
onMessage?: (chunk: string) => void;
|
|
18
20
|
onDone?: (response: AskDocQuestionResult) => void;
|
|
19
21
|
};
|
|
20
|
-
type ClientAction = {
|
|
22
|
+
export type ClientAction = {
|
|
21
23
|
type: 'navigate';
|
|
22
24
|
path: string;
|
|
23
25
|
} | {
|
|
24
26
|
type: 'invalidate_queries';
|
|
25
27
|
};
|
|
26
|
-
type ChatBody = {
|
|
28
|
+
export type ChatBody = {
|
|
27
29
|
messages: ChatCompletionRequestMessage[];
|
|
28
30
|
discussionId: string;
|
|
29
31
|
onMessage?: (chunk: string) => void;
|
|
30
32
|
onDone?: (response: ChatResult) => void;
|
|
31
33
|
onAction?: (action: ClientAction) => void;
|
|
32
34
|
};
|
|
33
|
-
declare const getAiAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
35
|
+
export declare const getAiAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
34
36
|
customQuery: (body?: CustomQueryBody, otherOptions?: FetcherOptions) => Promise<CustomQueryResult>;
|
|
35
37
|
translateJSON: (body?: TranslateJSONBody, otherOptions?: FetcherOptions) => Promise<TranslateJSONResult>;
|
|
36
38
|
auditContentDeclaration: (body?: AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationResult>;
|
|
@@ -49,7 +51,7 @@ declare const getAiAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Intla
|
|
|
49
51
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
50
52
|
* the build-time configuration (`@intlayer/config/built`).
|
|
51
53
|
*/
|
|
52
|
-
declare const aiEndpoint: CMSEndpoint<{
|
|
54
|
+
export declare const aiEndpoint: CMSEndpoint<{
|
|
53
55
|
customQuery: (body?: CustomQueryBody, otherOptions?: FetcherOptions) => Promise<CustomQueryResult>;
|
|
54
56
|
translateJSON: (body?: TranslateJSONBody, otherOptions?: FetcherOptions) => Promise<TranslateJSONResult>;
|
|
55
57
|
auditContentDeclaration: (body?: AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationResult>;
|
|
@@ -63,5 +65,5 @@ declare const aiEndpoint: CMSEndpoint<{
|
|
|
63
65
|
getAIStats: (otherOptions?: FetcherOptions) => Promise<GetAIStatsResult>;
|
|
64
66
|
}>;
|
|
65
67
|
//#endregion
|
|
66
|
-
export {
|
|
68
|
+
export type { AskDocQuestionResult, ChatResult };
|
|
67
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"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { AudienceRange } from "../apps/backend/dist/types/types/analytics.types.js";
|
|
4
|
+
import { GetAnalyticsOverviewResult, GetAudienceResult, GetContentStatsResult, GetExperimentResultsResult, IngestAnalyticsBody, IngestAnalyticsResult } from "../apps/backend/dist/types/controllers/analytics.controller.js";
|
|
5
|
+
import "../apps/backend/dist/types/export.js";
|
|
3
6
|
import "../index.js";
|
|
4
7
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AudienceRange, IngestAnalyticsBody } from "@intlayer/backend";
|
|
6
8
|
//#region src/getIntlayerAPI/analytics.d.ts
|
|
7
|
-
declare const getAnalyticsAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
9
|
+
export declare const getAnalyticsAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
10
|
sendEvents: (body: IngestAnalyticsBody, otherOptions?: FetcherOptions) => Promise<IngestAnalyticsResult>;
|
|
9
11
|
getOverview: (otherOptions?: FetcherOptions) => Promise<GetAnalyticsOverviewResult>;
|
|
10
12
|
getAudience: (range?: AudienceRange | number, otherOptions?: FetcherOptions) => Promise<GetAudienceResult>;
|
|
@@ -17,7 +19,7 @@ declare const getAnalyticsAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?
|
|
|
17
19
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
18
20
|
* the build-time configuration (`@intlayer/config/built`).
|
|
19
21
|
*/
|
|
20
|
-
declare const analyticsEndpoint: CMSEndpoint<{
|
|
22
|
+
export declare const analyticsEndpoint: CMSEndpoint<{
|
|
21
23
|
sendEvents: (body: IngestAnalyticsBody, otherOptions?: FetcherOptions) => Promise<IngestAnalyticsResult>;
|
|
22
24
|
getOverview: (otherOptions?: FetcherOptions) => Promise<GetAnalyticsOverviewResult>;
|
|
23
25
|
getAudience: (range?: AudienceRange | number, otherOptions?: FetcherOptions) => Promise<GetAudienceResult>;
|
|
@@ -25,5 +27,4 @@ declare const analyticsEndpoint: CMSEndpoint<{
|
|
|
25
27
|
getExperimentResults: (experimentKey: string, otherOptions?: FetcherOptions) => Promise<GetExperimentResultsResult>;
|
|
26
28
|
}>;
|
|
27
29
|
//#endregion
|
|
28
|
-
export { analyticsEndpoint, getAnalyticsAPI };
|
|
29
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"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { DeleteAssetResult, GetAssetByIdResult, GetAssetsResult, UpdateAssetResult, UploadAssetResult } from "../apps/backend/dist/types/controllers/asset.controller.js";
|
|
4
|
+
import "../apps/backend/dist/types/export.js";
|
|
3
5
|
import "../index.js";
|
|
4
6
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
7
|
//#region src/getIntlayerAPI/asset.d.ts
|
|
6
|
-
declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
|
+
export declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
7
9
|
getAssets: (page?: number, pageSize?: number, otherOptions?: FetcherOptions) => Promise<GetAssetsResult>;
|
|
8
10
|
getAssetById: (assetId: string, otherOptions?: FetcherOptions) => Promise<GetAssetByIdResult>;
|
|
9
11
|
uploadAsset: (file: File, alt?: string, caption?: string, otherOptions?: FetcherOptions) => Promise<UploadAssetResult>;
|
|
@@ -20,7 +22,7 @@ declare const getAssetAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: In
|
|
|
20
22
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
21
23
|
* the build-time configuration (`@intlayer/config/built`).
|
|
22
24
|
*/
|
|
23
|
-
declare const assetEndpoint: CMSEndpoint<{
|
|
25
|
+
export declare const assetEndpoint: CMSEndpoint<{
|
|
24
26
|
getAssets: (page?: number, pageSize?: number, otherOptions?: FetcherOptions) => Promise<GetAssetsResult>;
|
|
25
27
|
getAssetById: (assetId: string, otherOptions?: FetcherOptions) => Promise<GetAssetByIdResult>;
|
|
26
28
|
uploadAsset: (file: File, alt?: string, caption?: string, otherOptions?: FetcherOptions) => Promise<UploadAssetResult>;
|
|
@@ -32,5 +34,4 @@ declare const assetEndpoint: CMSEndpoint<{
|
|
|
32
34
|
deleteAsset: (assetId: string, otherOptions?: FetcherOptions) => Promise<DeleteAssetResult>;
|
|
33
35
|
}>;
|
|
34
36
|
//#endregion
|
|
35
|
-
export { assetEndpoint, getAssetAPI };
|
|
36
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"}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { GetRecursiveAuditStatusResult, StartRecursiveAuditResult } from "../apps/backend/dist/types/controllers/recursiveAudit.controller.js";
|
|
4
|
+
import { AuditEvent } from "../apps/backend/dist/types/services/audit/types.js";
|
|
5
|
+
import "../apps/backend/dist/types/export.js";
|
|
3
6
|
import "../index.js";
|
|
4
7
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AuditEvent, GetRecursiveAuditStatusResult, StartRecursiveAuditResult } from "@intlayer/backend";
|
|
6
8
|
//#region src/getIntlayerAPI/audit.d.ts
|
|
7
|
-
type ScanUrlBody = {
|
|
9
|
+
export type ScanUrlBody = {
|
|
8
10
|
url: string;
|
|
9
11
|
onMessage?: (event: AuditEvent) => void;
|
|
10
12
|
onDone?: () => void;
|
|
11
13
|
};
|
|
12
|
-
type DiscoverUrlsParams = {
|
|
14
|
+
export type DiscoverUrlsParams = {
|
|
13
15
|
url: string;
|
|
14
16
|
};
|
|
15
|
-
type DiscoverUrlsResult = {
|
|
17
|
+
export type DiscoverUrlsResult = {
|
|
16
18
|
urls: string[];
|
|
17
19
|
};
|
|
18
|
-
type StartRecursiveAuditBody = {
|
|
20
|
+
export type StartRecursiveAuditBody = {
|
|
19
21
|
url: string;
|
|
20
22
|
urls?: string[];
|
|
21
23
|
};
|
|
22
|
-
type GetRecursiveAuditStatusParams = {
|
|
24
|
+
export type GetRecursiveAuditStatusParams = {
|
|
23
25
|
jobId: string;
|
|
24
26
|
};
|
|
25
|
-
type RecursiveAuditJobParams = {
|
|
27
|
+
export type RecursiveAuditJobParams = {
|
|
26
28
|
jobId: string;
|
|
27
29
|
};
|
|
28
|
-
declare const getAuditAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
30
|
+
export declare const getAuditAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
29
31
|
discoverUrls: (params?: DiscoverUrlsParams, otherOptions?: FetcherOptions) => Promise<DiscoverUrlsResult>;
|
|
30
32
|
scanUrl: (body?: ScanUrlBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
31
33
|
startRecursiveAudit: (body?: StartRecursiveAuditBody, otherOptions?: FetcherOptions) => Promise<StartRecursiveAuditResult>;
|
|
@@ -46,7 +48,7 @@ declare const getAuditAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: In
|
|
|
46
48
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
47
49
|
* the build-time configuration (`@intlayer/config/built`).
|
|
48
50
|
*/
|
|
49
|
-
declare const auditEndpoint: CMSEndpoint<{
|
|
51
|
+
export declare const auditEndpoint: CMSEndpoint<{
|
|
50
52
|
discoverUrls: (params?: DiscoverUrlsParams, otherOptions?: FetcherOptions) => Promise<DiscoverUrlsResult>;
|
|
51
53
|
scanUrl: (body?: ScanUrlBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
52
54
|
startRecursiveAudit: (body?: StartRecursiveAuditBody, otherOptions?: FetcherOptions) => Promise<StartRecursiveAuditResult>;
|
|
@@ -62,5 +64,5 @@ declare const auditEndpoint: CMSEndpoint<{
|
|
|
62
64
|
}>;
|
|
63
65
|
}>;
|
|
64
66
|
//#endregion
|
|
65
|
-
export {
|
|
67
|
+
export type { AuditEvent, GetRecursiveAuditStatusResult, StartRecursiveAuditResult };
|
|
66
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"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { AddDictionaryBody, AddDictionaryResult, DeleteDictionaryParam, DeleteDictionaryResult, GetDictionariesByKeysResult, GetDictionariesKeysResult, GetDictionariesParams, GetDictionariesResult, GetDictionariesUpdateTimestampResult, GetDictionaryParams, GetDictionaryQuery, GetDictionaryResult, PushDictionariesBody, PushDictionariesResult, UpdateDictionaryBody, UpdateDictionaryResult } from "../apps/backend/dist/types/controllers/dictionary.controller.js";
|
|
4
|
+
import "../apps/backend/dist/types/export.js";
|
|
3
5
|
import "../index.js";
|
|
4
6
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AddDictionaryBody, DeleteDictionaryParam, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, PushDictionariesBody, UpdateDictionaryBody } from "@intlayer/backend";
|
|
6
7
|
//#region src/getIntlayerAPI/dictionary.d.ts
|
|
7
|
-
declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
|
+
export declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
9
|
getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
9
10
|
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
10
11
|
getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
|
|
@@ -21,7 +22,7 @@ declare const getDictionaryAPI: (authAPIOptions?: FetcherOptions, intlayerConfig
|
|
|
21
22
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
22
23
|
* the build-time configuration (`@intlayer/config/built`).
|
|
23
24
|
*/
|
|
24
|
-
declare const dictionaryEndpoint: CMSEndpoint<{
|
|
25
|
+
export declare const dictionaryEndpoint: CMSEndpoint<{
|
|
25
26
|
getDictionaries: (filters?: GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
26
27
|
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
27
28
|
getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
|
|
@@ -33,5 +34,4 @@ declare const dictionaryEndpoint: CMSEndpoint<{
|
|
|
33
34
|
deleteDictionary: (id: DeleteDictionaryParam['dictionaryId'], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
|
|
34
35
|
}>;
|
|
35
36
|
//#endregion
|
|
36
|
-
export { dictionaryEndpoint, getDictionaryAPI };
|
|
37
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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
-
import { GetConfigurationResult } from "../intlayer-editor/server/dist/controllers/configuration.controller.js";
|
|
4
|
-
import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "../intlayer-editor/server/dist/controllers/dictionary.controller.js";
|
|
5
|
-
import "../intlayer-editor/server/dist/export.js";
|
|
3
|
+
import { GetConfigurationResult } from "../packages/intlayer-editor/server/dist/controllers/configuration.controller.js";
|
|
4
|
+
import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "../packages/intlayer-editor/server/dist/controllers/dictionary.controller.js";
|
|
5
|
+
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"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import { AddEnvironmentBody, AddEnvironmentResult, DeleteEnvironmentResult, MigrateEnvironmentBody, MigrateEnvironmentResult, ResetToProductionEnvironmentResult, SelectEnvironmentResult, UpdateEnvironmentBody, UpdateEnvironmentResult } from "../apps/backend/dist/types/controllers/environment.controller.js";
|
|
4
|
+
import "../apps/backend/dist/types/export.js";
|
|
3
5
|
import "../index.js";
|
|
4
6
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
5
|
-
import { AddEnvironmentBody, MigrateEnvironmentBody, UpdateEnvironmentBody } from "@intlayer/backend";
|
|
6
7
|
//#region src/getIntlayerAPI/environment.d.ts
|
|
7
|
-
declare const getEnvironmentAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
|
+
export declare const getEnvironmentAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
9
|
addEnvironment: (body: AddEnvironmentBody, otherOptions?: FetcherOptions) => Promise<AddEnvironmentResult>;
|
|
9
10
|
updateEnvironment: (environmentId: string, body: UpdateEnvironmentBody, otherOptions?: FetcherOptions) => Promise<UpdateEnvironmentResult>;
|
|
10
11
|
deleteEnvironment: (environmentId: string, otherOptions?: FetcherOptions) => Promise<DeleteEnvironmentResult>;
|
|
@@ -18,7 +19,7 @@ declare const getEnvironmentAPI: (authAPIOptions?: FetcherOptions, intlayerConfi
|
|
|
18
19
|
* Pass an authenticator created with `createIntlayerCMS`, or omit it to use
|
|
19
20
|
* the build-time configuration (`@intlayer/config/built`).
|
|
20
21
|
*/
|
|
21
|
-
declare const environmentEndpoint: CMSEndpoint<{
|
|
22
|
+
export declare const environmentEndpoint: CMSEndpoint<{
|
|
22
23
|
addEnvironment: (body: AddEnvironmentBody, otherOptions?: FetcherOptions) => Promise<AddEnvironmentResult>;
|
|
23
24
|
updateEnvironment: (environmentId: string, body: UpdateEnvironmentBody, otherOptions?: FetcherOptions) => Promise<UpdateEnvironmentResult>;
|
|
24
25
|
deleteEnvironment: (environmentId: string, otherOptions?: FetcherOptions) => Promise<DeleteEnvironmentResult>;
|
|
@@ -27,5 +28,4 @@ declare const environmentEndpoint: CMSEndpoint<{
|
|
|
27
28
|
migrateEnvironment: (body: MigrateEnvironmentBody, otherOptions?: FetcherOptions) => Promise<MigrateEnvironmentResult>;
|
|
28
29
|
}>;
|
|
29
30
|
//#endregion
|
|
30
|
-
export { environmentEndpoint, getEnvironmentAPI };
|
|
31
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
|