@intlayer/api 9.0.0-canary.16 → 9.0.0-canary.18
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/cjs/cms/createAuthManager.cjs.map +1 -1
- package/dist/cjs/cms/createIntlayerCMS.cjs.map +1 -1
- package/dist/cjs/distantDictionary/fetchDistantDictionaries.cjs.map +1 -1
- package/dist/cjs/distantDictionary/fetchDistantDictionary.cjs.map +1 -1
- package/dist/cjs/fetcher.cjs +2 -1
- package/dist/cjs/fetcher.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/ai.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/analytics.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/asset.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/audit.cjs +2 -1
- package/dist/cjs/getIntlayerAPI/audit.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/bitbucket.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/dictionary.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/editor.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/environment.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/github.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/gitlab.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/index.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/newsletter.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/oAuth.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/organization.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/project.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/reviewer.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/search.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/showcaseProject.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/status.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/stripe.cjs +4 -2
- package/dist/cjs/getIntlayerAPI/stripe.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/tag.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/translate.cjs.map +1 -1
- package/dist/cjs/getIntlayerAPI/user.cjs.map +1 -1
- package/dist/cjs/proxy.cjs +1 -1
- package/dist/cjs/proxy.cjs.map +1 -1
- package/dist/esm/cms/createAuthManager.mjs.map +1 -1
- package/dist/esm/cms/createIntlayerCMS.mjs.map +1 -1
- package/dist/esm/distantDictionary/fetchDistantDictionaries.mjs.map +1 -1
- package/dist/esm/distantDictionary/fetchDistantDictionary.mjs.map +1 -1
- package/dist/esm/fetcher.mjs +2 -1
- package/dist/esm/fetcher.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/ai.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/analytics.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/asset.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/audit.mjs +2 -1
- package/dist/esm/getIntlayerAPI/audit.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/bitbucket.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/dictionary.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/editor.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/environment.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/github.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/gitlab.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/index.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/newsletter.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/oAuth.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/organization.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/project.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/reviewer.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/search.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/showcaseProject.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/status.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/stripe.mjs +4 -2
- package/dist/esm/getIntlayerAPI/stripe.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/tag.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/translate.mjs.map +1 -1
- package/dist/esm/getIntlayerAPI/user.mjs.map +1 -1
- package/dist/esm/proxy.mjs +1 -1
- package/dist/esm/proxy.mjs.map +1 -1
- package/dist/types/{packages/@intlayer → @intlayer}/unmerged-dictionaries-entry/dist/types/index.d.ts +0 -1
- package/dist/types/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +1 -0
- package/dist/types/cms/createAuthManager.d.ts +1 -2
- package/dist/types/cms/createAuthManager.d.ts.map +1 -1
- package/dist/types/cms/createIntlayerCMS.d.ts +1 -2
- package/dist/types/cms/createIntlayerCMS.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts +0 -1
- package/dist/types/distantDictionary/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts +0 -1
- package/dist/types/distantDictionary/fetchDistantDictionary.d.ts.map +1 -1
- package/dist/types/fetcher.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts +1 -1
- package/dist/types/getIntlayerAPI/ai.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/analytics.d.ts +1 -1
- package/dist/types/getIntlayerAPI/analytics.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/asset.d.ts +1 -1
- package/dist/types/getIntlayerAPI/asset.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts +1 -1
- package/dist/types/getIntlayerAPI/audit.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/bitbucket.d.ts +1 -1
- package/dist/types/getIntlayerAPI/bitbucket.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/dictionary.d.ts +7 -7
- package/dist/types/getIntlayerAPI/dictionary.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/editor.d.ts +4 -3
- package/dist/types/getIntlayerAPI/editor.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/environment.d.ts +1 -1
- package/dist/types/getIntlayerAPI/environment.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/github.d.ts +1 -1
- package/dist/types/getIntlayerAPI/github.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/gitlab.d.ts +1 -1
- package/dist/types/getIntlayerAPI/gitlab.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/index.d.ts +1 -2
- package/dist/types/getIntlayerAPI/index.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/newsletter.d.ts +1 -1
- 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 +5 -5
- package/dist/types/getIntlayerAPI/organization.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/project.d.ts +9 -9
- package/dist/types/getIntlayerAPI/project.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/reviewer.d.ts +5 -5
- package/dist/types/getIntlayerAPI/reviewer.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts +1 -1
- package/dist/types/getIntlayerAPI/search.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts +7 -7
- package/dist/types/getIntlayerAPI/showcaseProject.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/status.d.ts +1 -1
- package/dist/types/getIntlayerAPI/status.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/stripe.d.ts +15 -45
- package/dist/types/getIntlayerAPI/stripe.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/tag.d.ts +5 -5
- package/dist/types/getIntlayerAPI/tag.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/translate.d.ts +1 -1
- package/dist/types/getIntlayerAPI/translate.d.ts.map +1 -1
- package/dist/types/getIntlayerAPI/user.d.ts +9 -9
- package/dist/types/getIntlayerAPI/user.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/controllers/configuration.controller.d.ts +1 -3
- package/dist/types/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +1 -0
- package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/controllers/dictionary.controller.d.ts +1 -7
- package/dist/types/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +1 -0
- package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/export.d.ts +2 -1
- package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/utils/httpStatusCodes.d.ts +19 -19
- package/dist/types/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +1 -0
- package/dist/types/{packages/intlayer-editor → intlayer-editor}/server/dist/utils/responseData.d.ts +0 -1
- package/dist/types/intlayer-editor/server/dist/utils/responseData.d.ts.map +1 -0
- package/dist/types/proxy.d.ts +1 -2
- package/dist/types/proxy.d.ts.map +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +6 -6
- package/dist/types/packages/@intlayer/unmerged-dictionaries-entry/dist/types/index.d.ts.map +0 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/configuration.controller.d.ts.map +0 -1
- package/dist/types/packages/intlayer-editor/server/dist/controllers/dictionary.controller.d.ts.map +0 -1
- package/dist/types/packages/intlayer-editor/server/dist/utils/httpStatusCodes.d.ts.map +0 -1
- package/dist/types/packages/intlayer-editor/server/dist/utils/responseData.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/project.ts"],"mappings":";;;;;;cAkCa,
|
|
1
|
+
{"version":3,"file":"project.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/project.ts"],"mappings":";;;;;;cAkCa,gBAAa,iBACR,gBAAc,iBACb;EAWL,cAAA,UAAA,mBAAiB,eACb,mBAAc,QAAA;EAkBkB,qBAAA,eAAA,mBAAc,QAAA;EAgBnD,aAAA,SAAA,gBAAc,eACT,mBAAc,QAAA;EAiBnB,gBAAA,SAAA,mBAAiB,eACZ,mBAAc,QAAA;EAiBtB,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAgBN,2BAAA,sBAAA,8BAA4B,eACpC,mBAAc,QAAA;EAgBa,gBAAA,eAAA,mBAAc,QAAA;EAe5C,yBAAA,mBAAM,eACH,mBAAc,QAAA;EAcjB,gBAAA,WAAA,iCAA+B,eAC5B,mBAAc,QAAA;EAee,kBAAA,eAAA,mBAAc,QAAA;EAiB9C,kBAAA,WAAA,qBAAmB,eAChB,mBAAc,QAAA;EAmBlB,kBAAA,UAAA,iCAA+B,eAC3B,mBAAc,QAAA;EAmBlB,mBAAA,UAAA,kCAAgC,eAC5B,mBAAc,QAAA;EAiBY,eAAA,eAAA,mBAAc,QAAA;EAiBxC,iBAAA,cAAA,oCAAkC,eAClC,mBAAc,QAAA;EAiBW,cAAA,eAAA,mBAAc,QAAA;EAeb,eAAA,eAAA,mBAAc,QAAA;EAgB9C,qBAAA,gBAAM,MACR,wBAAsB,eACd,mBAAc,QAAA;;;;;;;;cAqCnB,iBArCmB;EAtSlB,cAAA,UAAA,mBAAiB,eACb,mBAAc,QAAA;EAkBkB,qBAAA,eAAA,mBAAc,QAAA;EAgBnD,aAAA,SAAA,gBAAc,eACT,mBAAc,QAAA;EAiBnB,gBAAA,SAAA,mBAAiB,eACZ,mBAAc,QAAA;EAiBtB,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAgBN,2BAAA,sBAAA,8BAA4B,eACpC,mBAAc,QAAA;EAgBa,gBAAA,eAAA,mBAAc,QAAA;EAe5C,yBAAA,mBAAM,eACH,mBAAc,QAAA;EAcjB,gBAAA,WAAA,iCAA+B,eAC5B,mBAAc,QAAA;EAee,kBAAA,eAAA,mBAAc,QAAA;EAiB9C,kBAAA,WAAA,qBAAmB,eAChB,mBAAc,QAAA;EAmBlB,kBAAA,UAAA,iCAA+B,eAC3B,mBAAc,QAAA;EAmBlB,mBAAA,UAAA,kCAAgC,eAC5B,mBAAc,QAAA;EAiBY,eAAA,eAAA,mBAAc,QAAA;EAiBxC,iBAAA,cAAA,oCAAkC,eAClC,mBAAc,QAAA;EAiBW,cAAA,eAAA,mBAAc,QAAA;EAeb,eAAA,eAAA,mBAAc,QAAA;EAgB9C,qBAAA,gBAAM,MACR,wBAAsB,eACd,mBAAc,QAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
3
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
5
|
import { CreateMissionBody, EstimateMissionBody, GetMarketplaceQuery, RegisterReviewerBody, SendMessageBody, SubmitReviewBody, UpdateMissionStatusBody, UpdateReviewerBody } from "@intlayer/backend";
|
|
5
|
-
|
|
6
6
|
//#region src/getIntlayerAPI/reviewer.d.ts
|
|
7
7
|
declare const getReviewerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
getMarketplace: (params?: GetMarketplaceQuery, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerProfileAPI>>;
|
|
9
|
-
getPriceDistribution: (params?: Pick<GetMarketplaceQuery,
|
|
9
|
+
getPriceDistribution: (params?: Pick<GetMarketplaceQuery, 'fromLocale' | 'toLocale' | 'minRating' | 'categories'>, otherOptions?: FetcherOptions) => Promise<ResponseData<PriceDistributionData>>;
|
|
10
10
|
getReviewerById: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
|
|
11
11
|
getReviewerReviews: (reviewerId: string, params?: {
|
|
12
12
|
page?: number;
|
|
@@ -19,7 +19,7 @@ declare const getReviewerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?:
|
|
|
19
19
|
estimateMission: (body: EstimateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<MissionEstimate>>;
|
|
20
20
|
createMission: (body: CreateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
|
|
21
21
|
getMyMissions: (params?: {
|
|
22
|
-
role?:
|
|
22
|
+
role?: 'client' | 'reviewer';
|
|
23
23
|
page?: number;
|
|
24
24
|
pageSize?: number;
|
|
25
25
|
}, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<TranslationMissionAPI>>;
|
|
@@ -49,7 +49,7 @@ declare const getReviewerAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?:
|
|
|
49
49
|
*/
|
|
50
50
|
declare const reviewerEndpoint: CMSEndpoint<{
|
|
51
51
|
getMarketplace: (params?: GetMarketplaceQuery, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerProfileAPI>>;
|
|
52
|
-
getPriceDistribution: (params?: Pick<GetMarketplaceQuery,
|
|
52
|
+
getPriceDistribution: (params?: Pick<GetMarketplaceQuery, 'fromLocale' | 'toLocale' | 'minRating' | 'categories'>, otherOptions?: FetcherOptions) => Promise<ResponseData<PriceDistributionData>>;
|
|
53
53
|
getReviewerById: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
|
|
54
54
|
getReviewerReviews: (reviewerId: string, params?: {
|
|
55
55
|
page?: number;
|
|
@@ -62,7 +62,7 @@ declare const reviewerEndpoint: CMSEndpoint<{
|
|
|
62
62
|
estimateMission: (body: EstimateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<MissionEstimate>>;
|
|
63
63
|
createMission: (body: CreateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
|
|
64
64
|
getMyMissions: (params?: {
|
|
65
|
-
role?:
|
|
65
|
+
role?: 'client' | 'reviewer';
|
|
66
66
|
page?: number;
|
|
67
67
|
pageSize?: number;
|
|
68
68
|
}, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<TranslationMissionAPI>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviewer.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/reviewer.ts"],"mappings":";;;;;;cAwBa,
|
|
1
|
+
{"version":3,"file":"reviewer.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/reviewer.ts"],"mappings":";;;;;;cAwBa,iBAAc,iBACT,gBAAc,iBACb;EAQP,iBAAA,SAAA,qBAAmB,eACb,mBAAc,QAAA,kBAAA;EAwBpB,uBAAA,SAAA,KACN,8EAED,eACa,mBAAc,QAAA,aAAA;EAuBhB,kBAAA,oBAAM,eACJ,mBAAc,QAAA,aAAA;EAUhB,qBAAA,oBAAM;IACR;IAAe;KAAmB,eAC9B,mBAAc,QAAA,kBAAA;EAmBc,uBAAA,eAAA,mBAAc,QAAA;EASlD,qBAAA,MAAA,sBAAoB,eACZ,mBAAc,QAAA,aAAA;EAUtB,wBAAA,MAAA,oBAAkB,eACV,mBAAc,QAAA,aAAA;EASe,wBAAA,eAAA,mBAAc,QAAA;EAsBnD,kBAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA,aAAA;EAUtB,gBAAA,MAAA,mBAAiB,eACT,mBAAc,QAAA,aAAA;EAUpB,gBAAA;IACN;IACA;IACA;KACD,eACa,mBAAc,QAAA,kBAAA;EAkBjB,iBAAA,mBAAM,eACH,mBAAc,QAAA,aAAA;EAUjB,sBAAA,mBAAM,MACX,yBAAuB,eACf,mBAAc,QAAA,aAAA;EAYjB,eAAA,mBAAM,MACX,kBAAgB,eACR,mBAAc,QAAA,aAAA;EAtFhB,kBAAA,oBAAM;IACV;KAAiB,eACX,mBAAc,QAAA;EAgGjB,iBAAA,mBAAM,eACH,mBAAc,QAAA,aAAA;EAUjB,cAAA,mBAAM,MACX,iBAAe,eACP,mBAAc,QAAA,aAAA;EASO,mBAAA;EAmCJ,oBAAA,MAAA,MAAI,eAAgB,mBAAc,QAAA;EAGjC,qBAAA,MAAA,MAAI,eAAgB,mBAAc,QAAA;EAMtD,0BAAA,oBAAM,eACJ,mBAAc,QAAA,aAAA;EAUpB,oBAAA;IAAE;IAAe;IAAmB;KAAiB,eAC/C,mBAAc,QAAA,kBAAA;;;;;;;;cAiDnB,kBAjDmB;EA1SpB,iBAAA,SAAA,qBAAmB,eACb,mBAAc,QAAA,kBAAA;EAwBpB,uBAAA,SAAA,KACN,8EAED,eACa,mBAAc,QAAA,aAAA;EAuBhB,kBAAA,oBAAM,eACJ,mBAAc,QAAA,aAAA;EAUhB,qBAAA,oBAAM;IACR;IAAe;KAAmB,eAC9B,mBAAc,QAAA,kBAAA;EAmBc,uBAAA,eAAA,mBAAc,QAAA;EASlD,qBAAA,MAAA,sBAAoB,eACZ,mBAAc,QAAA,aAAA;EAUtB,wBAAA,MAAA,oBAAkB,eACV,mBAAc,QAAA,aAAA;EASe,wBAAA,eAAA,mBAAc,QAAA;EAsBnD,kBAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA,aAAA;EAUtB,gBAAA,MAAA,mBAAiB,eACT,mBAAc,QAAA,aAAA;EAUpB,gBAAA;IACN;IACA;IACA;KACD,eACa,mBAAc,QAAA,kBAAA;EAkBjB,iBAAA,mBAAM,eACH,mBAAc,QAAA,aAAA;EAUjB,sBAAA,mBAAM,MACX,yBAAuB,eACf,mBAAc,QAAA,aAAA;EAYjB,eAAA,mBAAM,MACX,kBAAgB,eACR,mBAAc,QAAA,aAAA;EAtFhB,kBAAA,oBAAM;IACV;KAAiB,eACX,mBAAc,QAAA;EAgGjB,iBAAA,mBAAM,eACH,mBAAc,QAAA,aAAA;EAUjB,cAAA,mBAAM,MACX,iBAAe,eACP,mBAAc,QAAA,aAAA;EASO,mBAAA;EAmCJ,oBAAA,MAAA,MAAI,eAAgB,mBAAc,QAAA;EAGjC,qBAAA,MAAA,MAAI,eAAgB,mBAAc,QAAA;EAMtD,0BAAA,oBAAM,eACJ,mBAAc,QAAA,aAAA;EAUpB,oBAAA;IAAE;IAAe;IAAmB;KAAiB,eAC/C,mBAAc,QAAA,kBAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
3
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
5
|
import { SearchDocUtilParams } from "@intlayer/backend";
|
|
5
|
-
|
|
6
6
|
//#region src/getIntlayerAPI/search.d.ts
|
|
7
7
|
declare const getSearchAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
searchDoc: (params?: SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/search.ts"],"mappings":";;;;;;cASa,
|
|
1
|
+
{"version":3,"file":"search.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/search.ts"],"mappings":";;;;;;cASa,eAAY,iBACP,gBAAc,iBACb;EAYN,YAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA;;;;;;;;cAuBnB,gBAvBmB;EADnB,YAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
3
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
5
|
import { GetShowcaseProjectByIdParams, SubmitShowcaseProjectBody, ToggleShowcaseDownvoteBody, ToggleShowcaseUpvoteBody, UpdateShowcaseProjectBody } from "@intlayer/backend";
|
|
5
|
-
|
|
6
6
|
//#region src/getIntlayerAPI/showcaseProject.d.ts
|
|
7
7
|
type ShowcaseProjectsQuery = {
|
|
8
8
|
page?: number;
|
|
@@ -17,17 +17,17 @@ type OtherShowcaseProjectsQuery = {
|
|
|
17
17
|
};
|
|
18
18
|
declare const getShowcaseProjectAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
19
19
|
getShowcaseProjects: (query?: ShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectsResult>;
|
|
20
|
-
getShowcaseProjectById: (projectId: GetShowcaseProjectByIdParams[
|
|
20
|
+
getShowcaseProjectById: (projectId: GetShowcaseProjectByIdParams['projectId'], otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectByIdResult>;
|
|
21
21
|
getOtherShowcaseProjects: (query: OtherShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetOtherShowcaseProjectsResult>;
|
|
22
22
|
submitShowcaseProject: (body: SubmitShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<SubmitShowcaseProjectResult>;
|
|
23
23
|
toggleShowcaseUpvote: (body: ToggleShowcaseUpvoteBody, otherOptions?: FetcherOptions) => Promise<ToggleShowcaseUpvoteResult>;
|
|
24
24
|
toggleShowcaseDownvote: (body: ToggleShowcaseDownvoteBody, otherOptions?: FetcherOptions) => Promise<ToggleShowcaseDownvoteResult>;
|
|
25
|
-
deleteShowcaseProject: (projectId: GetShowcaseProjectByIdParams[
|
|
25
|
+
deleteShowcaseProject: (projectId: GetShowcaseProjectByIdParams['projectId'], otherOptions?: FetcherOptions) => Promise<{
|
|
26
26
|
data: {
|
|
27
27
|
success: boolean;
|
|
28
28
|
};
|
|
29
29
|
}>;
|
|
30
|
-
updateShowcaseProject: (projectId: GetShowcaseProjectByIdParams[
|
|
30
|
+
updateShowcaseProject: (projectId: GetShowcaseProjectByIdParams['projectId'], body: UpdateShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateShowcaseProjectResult>;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* Authenticated `showcaseProject` endpoint bound to an Intlayer CMS authenticator.
|
|
@@ -37,17 +37,17 @@ declare const getShowcaseProjectAPI: (authAPIOptions?: FetcherOptions, intlayerC
|
|
|
37
37
|
*/
|
|
38
38
|
declare const showcaseProjectEndpoint: CMSEndpoint<{
|
|
39
39
|
getShowcaseProjects: (query?: ShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectsResult>;
|
|
40
|
-
getShowcaseProjectById: (projectId: GetShowcaseProjectByIdParams[
|
|
40
|
+
getShowcaseProjectById: (projectId: GetShowcaseProjectByIdParams['projectId'], otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectByIdResult>;
|
|
41
41
|
getOtherShowcaseProjects: (query: OtherShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetOtherShowcaseProjectsResult>;
|
|
42
42
|
submitShowcaseProject: (body: SubmitShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<SubmitShowcaseProjectResult>;
|
|
43
43
|
toggleShowcaseUpvote: (body: ToggleShowcaseUpvoteBody, otherOptions?: FetcherOptions) => Promise<ToggleShowcaseUpvoteResult>;
|
|
44
44
|
toggleShowcaseDownvote: (body: ToggleShowcaseDownvoteBody, otherOptions?: FetcherOptions) => Promise<ToggleShowcaseDownvoteResult>;
|
|
45
|
-
deleteShowcaseProject: (projectId: GetShowcaseProjectByIdParams[
|
|
45
|
+
deleteShowcaseProject: (projectId: GetShowcaseProjectByIdParams['projectId'], otherOptions?: FetcherOptions) => Promise<{
|
|
46
46
|
data: {
|
|
47
47
|
success: boolean;
|
|
48
48
|
};
|
|
49
49
|
}>;
|
|
50
|
-
updateShowcaseProject: (projectId: GetShowcaseProjectByIdParams[
|
|
50
|
+
updateShowcaseProject: (projectId: GetShowcaseProjectByIdParams['projectId'], body: UpdateShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateShowcaseProjectResult>;
|
|
51
51
|
}>;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { OtherShowcaseProjectsQuery, ShowcaseProjectsQuery, getShowcaseProjectAPI, showcaseProjectEndpoint };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"showcaseProject.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/showcaseProject.ts"],"mappings":";;;;;;KAqBY
|
|
1
|
+
{"version":3,"file":"showcaseProject.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/showcaseProject.ts"],"mappings":";;;;;;KAqBY;EACV;EACA;EACA;EACA;EACA;;KAGU;EACV;EACA;;cAGW,wBAAqB,iBAChB,gBAAc,iBACb;EAOP,sBAAA,QAAA,uBAAqB,eACf,mBAAc,QAAA;EAoBjB,yBAAA,WAAA,2CAAyC,eACtC,mBAAc,QAAA;EAUrB,2BAAA,OAAA,4BAA0B,eACnB,mBAAc,QAAA;EAatB,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EAUtB,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAUtB,yBAAA,MAAA,4BAA0B,eAClB,mBAAc,QAAA;EAUjB,wBAAA,WAAA,2CAAyC,eACtC,mBAAc;IAEN;MAAE;;;EAQb,wBAAA,WAAA,2CAAyC,MAC9C,2BAAyB,eACjB,mBAAc,QAAA;;;;;;;;cA2BnB,yBA3BmB;EA5FpB,sBAAA,QAAA,uBAAqB,eACf,mBAAc,QAAA;EAoBjB,yBAAA,WAAA,2CAAyC,eACtC,mBAAc,QAAA;EAUrB,2BAAA,OAAA,4BAA0B,eACnB,mBAAc,QAAA;EAatB,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EAUtB,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAUtB,yBAAA,MAAA,4BAA0B,eAClB,mBAAc,QAAA;EAUjB,wBAAA,WAAA,2CAAyC,eACtC,mBAAc;IAEN;MAAE;;;EAQb,wBAAA,WAAA,2CAAyC,MAC9C,2BAAyB,eACjB,mBAAc,QAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
3
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
|
-
|
|
5
5
|
//#region src/getIntlayerAPI/status.d.ts
|
|
6
6
|
/** Result of the demo-session bootstrap endpoint. */
|
|
7
7
|
type GetDemoSessionResult = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/status.ts"],"mappings":";;;;;;KAOY
|
|
1
|
+
{"version":3,"file":"status.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/status.ts"],"mappings":";;;;;;KAOY;EAAyB;;;;;;;;;;;cAWxB,eAAY,iBACP,gBAAc,iBACb;EAU2B,iBAAA,eAAA,mBAAc,QAAA;EAgBd,iBAAA,eAAA,mBAAc,QAAA;;;;;;;;cAsB/C,gBAtB+C;EAhBd,iBAAA,eAAA,mBAAc,QAAA;EAgBd,iBAAA,eAAA,mBAAc,QAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
3
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
5
|
import { CreatePromoCodeBody, GetAffiliatesParams, GetCheckoutSessionBody, GetPricingBody, GrantAffiliateAccessBody, SendAffiliateInvitationBody, UpdateAffiliateStatusBody, UpdatePromoCodeBody } from "@intlayer/backend";
|
|
5
|
-
|
|
6
6
|
//#region src/getIntlayerAPI/stripe.d.ts
|
|
7
7
|
declare const getStripeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
getPricing: (body?: GetPricingBody, otherOptions?: FetcherOptions) => Promise<GetPricingResult>;
|
|
@@ -13,9 +13,7 @@ declare const getStripeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: I
|
|
|
13
13
|
createPortalSession: (otherOptions?: FetcherOptions) => Promise<CreatePortalSessionResult>;
|
|
14
14
|
grantAffiliateAccess: (body: GrantAffiliateAccessBody, otherOptions?: FetcherOptions) => Promise<GrantAffiliateAccessResult>;
|
|
15
15
|
getAffiliates: (params?: GetAffiliatesParams, otherOptions?: FetcherOptions) => Promise<GetAffiliatesResult>;
|
|
16
|
-
getAffiliateById: ({
|
|
17
|
-
id
|
|
18
|
-
}: {
|
|
16
|
+
getAffiliateById: ({ id }: {
|
|
19
17
|
id: string;
|
|
20
18
|
}, otherOptions?: FetcherOptions) => Promise<GetAffiliateByIdResult>;
|
|
21
19
|
getAffiliate: (otherOptions?: FetcherOptions) => Promise<GetAffiliateResult>;
|
|
@@ -26,23 +24,15 @@ declare const getStripeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: I
|
|
|
26
24
|
getAffiliateStats: (otherOptions?: FetcherOptions) => Promise<GetAffiliateStatsResult>;
|
|
27
25
|
getAffiliateInvitations: (params?: GetAffiliatesParams, otherOptions?: FetcherOptions) => Promise<GetAffiliateInvitationsResult>;
|
|
28
26
|
sendAffiliateInvitation: (body: SendAffiliateInvitationBody, otherOptions?: FetcherOptions) => Promise<SendAffiliateInvitationResult>;
|
|
29
|
-
getAffiliateInvitation: ({
|
|
30
|
-
token
|
|
31
|
-
}: {
|
|
27
|
+
getAffiliateInvitation: ({ token }: {
|
|
32
28
|
token: string;
|
|
33
29
|
}, otherOptions?: FetcherOptions) => Promise<GetAffiliateInvitationResult>;
|
|
34
|
-
acceptAffiliateInvitation: ({
|
|
35
|
-
token,
|
|
36
|
-
country,
|
|
37
|
-
stripeAccountType
|
|
38
|
-
}: {
|
|
30
|
+
acceptAffiliateInvitation: ({ token, country, stripeAccountType }: {
|
|
39
31
|
token: string;
|
|
40
32
|
country?: string;
|
|
41
|
-
stripeAccountType?:
|
|
33
|
+
stripeAccountType?: 'express' | 'standard';
|
|
42
34
|
}, otherOptions?: FetcherOptions) => Promise<AcceptAffiliateInvitationResult>;
|
|
43
|
-
updateAffiliateStatus: ({
|
|
44
|
-
id
|
|
45
|
-
}: {
|
|
35
|
+
updateAffiliateStatus: ({ id }: {
|
|
46
36
|
id: string;
|
|
47
37
|
}, body: UpdateAffiliateStatusBody, otherOptions?: FetcherOptions) => Promise<UpdateAffiliateStatusResult>;
|
|
48
38
|
getPromoCodeById: (id: string, otherOptions?: FetcherOptions) => Promise<GetPromoCodeByIdResult>;
|
|
@@ -50,15 +40,10 @@ declare const getStripeAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: I
|
|
|
50
40
|
affiliateId?: string;
|
|
51
41
|
}, otherOptions?: FetcherOptions) => Promise<GetPromoCodesResult>;
|
|
52
42
|
createPromoCode: (body: CreatePromoCodeBody, otherOptions?: FetcherOptions) => Promise<CreatePromoCodeResult>;
|
|
53
|
-
updatePromoCode: ({
|
|
54
|
-
id,
|
|
55
|
-
...body
|
|
56
|
-
}: {
|
|
43
|
+
updatePromoCode: ({ id, ...body }: {
|
|
57
44
|
id: string;
|
|
58
45
|
} & UpdatePromoCodeBody, otherOptions?: FetcherOptions) => Promise<UpdatePromoCodeResult>;
|
|
59
|
-
deletePromoCode: ({
|
|
60
|
-
id
|
|
61
|
-
}: {
|
|
46
|
+
deletePromoCode: ({ id }: {
|
|
62
47
|
id: string;
|
|
63
48
|
}, otherOptions?: FetcherOptions) => Promise<DeletePromoCodeResult>;
|
|
64
49
|
getAffiliatePromoCode: (referralCode: string, otherOptions?: FetcherOptions) => Promise<any>;
|
|
@@ -78,9 +63,7 @@ declare const stripeEndpoint: CMSEndpoint<{
|
|
|
78
63
|
createPortalSession: (otherOptions?: FetcherOptions) => Promise<CreatePortalSessionResult>;
|
|
79
64
|
grantAffiliateAccess: (body: GrantAffiliateAccessBody, otherOptions?: FetcherOptions) => Promise<GrantAffiliateAccessResult>;
|
|
80
65
|
getAffiliates: (params?: GetAffiliatesParams, otherOptions?: FetcherOptions) => Promise<GetAffiliatesResult>;
|
|
81
|
-
getAffiliateById: ({
|
|
82
|
-
id
|
|
83
|
-
}: {
|
|
66
|
+
getAffiliateById: ({ id }: {
|
|
84
67
|
id: string;
|
|
85
68
|
}, otherOptions?: FetcherOptions) => Promise<GetAffiliateByIdResult>;
|
|
86
69
|
getAffiliate: (otherOptions?: FetcherOptions) => Promise<GetAffiliateResult>;
|
|
@@ -91,23 +74,15 @@ declare const stripeEndpoint: CMSEndpoint<{
|
|
|
91
74
|
getAffiliateStats: (otherOptions?: FetcherOptions) => Promise<GetAffiliateStatsResult>;
|
|
92
75
|
getAffiliateInvitations: (params?: GetAffiliatesParams, otherOptions?: FetcherOptions) => Promise<GetAffiliateInvitationsResult>;
|
|
93
76
|
sendAffiliateInvitation: (body: SendAffiliateInvitationBody, otherOptions?: FetcherOptions) => Promise<SendAffiliateInvitationResult>;
|
|
94
|
-
getAffiliateInvitation: ({
|
|
95
|
-
token
|
|
96
|
-
}: {
|
|
77
|
+
getAffiliateInvitation: ({ token }: {
|
|
97
78
|
token: string;
|
|
98
79
|
}, otherOptions?: FetcherOptions) => Promise<GetAffiliateInvitationResult>;
|
|
99
|
-
acceptAffiliateInvitation: ({
|
|
100
|
-
token,
|
|
101
|
-
country,
|
|
102
|
-
stripeAccountType
|
|
103
|
-
}: {
|
|
80
|
+
acceptAffiliateInvitation: ({ token, country, stripeAccountType }: {
|
|
104
81
|
token: string;
|
|
105
82
|
country?: string;
|
|
106
|
-
stripeAccountType?:
|
|
83
|
+
stripeAccountType?: 'express' | 'standard';
|
|
107
84
|
}, otherOptions?: FetcherOptions) => Promise<AcceptAffiliateInvitationResult>;
|
|
108
|
-
updateAffiliateStatus: ({
|
|
109
|
-
id
|
|
110
|
-
}: {
|
|
85
|
+
updateAffiliateStatus: ({ id }: {
|
|
111
86
|
id: string;
|
|
112
87
|
}, body: UpdateAffiliateStatusBody, otherOptions?: FetcherOptions) => Promise<UpdateAffiliateStatusResult>;
|
|
113
88
|
getPromoCodeById: (id: string, otherOptions?: FetcherOptions) => Promise<GetPromoCodeByIdResult>;
|
|
@@ -115,15 +90,10 @@ declare const stripeEndpoint: CMSEndpoint<{
|
|
|
115
90
|
affiliateId?: string;
|
|
116
91
|
}, otherOptions?: FetcherOptions) => Promise<GetPromoCodesResult>;
|
|
117
92
|
createPromoCode: (body: CreatePromoCodeBody, otherOptions?: FetcherOptions) => Promise<CreatePromoCodeResult>;
|
|
118
|
-
updatePromoCode: ({
|
|
119
|
-
id,
|
|
120
|
-
...body
|
|
121
|
-
}: {
|
|
93
|
+
updatePromoCode: ({ id, ...body }: {
|
|
122
94
|
id: string;
|
|
123
95
|
} & UpdatePromoCodeBody, otherOptions?: FetcherOptions) => Promise<UpdatePromoCodeResult>;
|
|
124
|
-
deletePromoCode: ({
|
|
125
|
-
id
|
|
126
|
-
}: {
|
|
96
|
+
deletePromoCode: ({ id }: {
|
|
127
97
|
id: string;
|
|
128
98
|
}, otherOptions?: FetcherOptions) => Promise<DeletePromoCodeResult>;
|
|
129
99
|
getAffiliatePromoCode: (referralCode: string, otherOptions?: FetcherOptions) => Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripe.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/stripe.ts"],"mappings":";;;;;;cAqCa,
|
|
1
|
+
{"version":3,"file":"stripe.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/stripe.ts"],"mappings":";;;;;;cAqCa,eAAY,iBACP,gBAAc,iBACb;EAWR,aAAA,OAAA,gBAAc,eACP,mBAAc,QAAA;EAiBrB,kBAAA,OAAA,wBAAsB,eACf,mBAAc,QAAA;EAgBkB,qBAAA,eAAA,mBAAc,QAAA;EAarB,cAAA,eAAA,mBAAc,QAAA;EAYT,mBAAA,eAAA,mBAAc,QAAA;EAWX,sBAAA,eAAA,mBAAc,QAAA;EAYvD,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAanB,gBAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA;EAapB,qBAAA;IAAE;KAAY,eACR,mBAAc,QAAA;EAYY,eAAA,eAAA,mBAAc,QAAA;EAYxC,6BAAA,eAAA,mBAAc,QAAA;EAanB,6BAAA;IAAE;KAAoB,eACjB,mBAAc,QAAA;EAYiB,oBAAA,eAAA,mBAAc,QAAA;EAYnD,0BAAA,SAAA,qBAAmB,eACb,mBAAc,QAAA;EAmBtB,0BAAA,MAAA,6BAA2B,eACnB,mBAAc,QAAA;EAajB,2BAAA;IAAE;KAAe,eACd,mBAAc,QAAA;EAgCzB,8BAAA,OAAA,SAAA;IACD;IACA;IACA;KACD,eACa,mBAAc,QAAA;EAxBpB,0BAAA;IAAE;KAAY,MAChB,2BAAyB,eACjB,mBAAc,QAAA;EAmCxB,mBAAA,YAAM,eACI,mBAAc,QAAA;EAUpB,gBAAA;IAAE;KAAsB,eAClB,mBAAc,QAAA;EAiBtB,kBAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAaX,oBAAA,OAAA;IAAE;MAAe,qBAAmB,eACvC,mBAAc,QAAA;EAapB,oBAAA;IAAE;KAAY,eACR,mBAAc,QAAA;EAad,wBAAA,sBAAM,eACN,mBAAc;;;;;;;;cA2CnB,gBA3CmB;EA3UrB,aAAA,OAAA,gBAAc,eACP,mBAAc,QAAA;EAiBrB,kBAAA,OAAA,wBAAsB,eACf,mBAAc,QAAA;EAgBkB,qBAAA,eAAA,mBAAc,QAAA;EAarB,cAAA,eAAA,mBAAc,QAAA;EAYT,mBAAA,eAAA,mBAAc,QAAA;EAWX,sBAAA,eAAA,mBAAc,QAAA;EAYvD,uBAAA,MAAA,0BAAwB,eAChB,mBAAc,QAAA;EAanB,gBAAA,SAAA,qBAAmB,eACd,mBAAc,QAAA;EAapB,qBAAA;IAAE;KAAY,eACR,mBAAc,QAAA;EAYY,eAAA,eAAA,mBAAc,QAAA;EAYxC,6BAAA,eAAA,mBAAc,QAAA;EAanB,6BAAA;IAAE;KAAoB,eACjB,mBAAc,QAAA;EAYiB,oBAAA,eAAA,mBAAc,QAAA;EAYnD,0BAAA,SAAA,qBAAmB,eACb,mBAAc,QAAA;EAmBtB,0BAAA,MAAA,6BAA2B,eACnB,mBAAc,QAAA;EAajB,2BAAA;IAAE;KAAe,eACd,mBAAc,QAAA;EAgCzB,8BAAA,OAAA,SAAA;IACD;IACA;IACA;KACD,eACa,mBAAc,QAAA;EAxBpB,0BAAA;IAAE;KAAY,MAChB,2BAAyB,eACjB,mBAAc,QAAA;EAmCxB,mBAAA,YAAM,eACI,mBAAc,QAAA;EAUpB,gBAAA;IAAE;KAAsB,eAClB,mBAAc,QAAA;EAiBtB,kBAAA,MAAA,qBAAmB,eACX,mBAAc,QAAA;EAaX,oBAAA,OAAA;IAAE;MAAe,qBAAmB,eACvC,mBAAc,QAAA;EAapB,oBAAA;IAAE;KAAY,eACR,mBAAc,QAAA;EAad,wBAAA,sBAAM,eACN,mBAAc"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
3
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
5
|
import { AddTagBody, DeleteTagParams, GetTagsParams, UpdateTagBody, UpdateTagParams } from "@intlayer/backend";
|
|
5
|
-
|
|
6
6
|
//#region src/getIntlayerAPI/tag.d.ts
|
|
7
7
|
declare const getTagAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
9
9
|
addTag: (tag: AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
|
|
10
|
-
updateTag: (tagId: UpdateTagParams[
|
|
11
|
-
deleteTag: (tagId: DeleteTagParams[
|
|
10
|
+
updateTag: (tagId: UpdateTagParams['tagId'], tag: UpdateTagBody, otherOptions?: FetcherOptions) => Promise<UpdateTagResult>;
|
|
11
|
+
deleteTag: (tagId: DeleteTagParams['tagId'], otherOptions?: FetcherOptions) => Promise<DeleteTagResult>;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* Authenticated `tag` endpoint bound to an Intlayer CMS authenticator.
|
|
@@ -19,8 +19,8 @@ declare const getTagAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Intl
|
|
|
19
19
|
declare const tagEndpoint: CMSEndpoint<{
|
|
20
20
|
getTags: (filters?: GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
21
21
|
addTag: (tag: AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
|
|
22
|
-
updateTag: (tagId: UpdateTagParams[
|
|
23
|
-
deleteTag: (tagId: DeleteTagParams[
|
|
22
|
+
updateTag: (tagId: UpdateTagParams['tagId'], tag: UpdateTagBody, otherOptions?: FetcherOptions) => Promise<UpdateTagResult>;
|
|
23
|
+
deleteTag: (tagId: DeleteTagParams['tagId'], otherOptions?: FetcherOptions) => Promise<DeleteTagResult>;
|
|
24
24
|
}>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { getTagAPI, tagEndpoint };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/tag.ts"],"mappings":";;;;;;cAgBa,
|
|
1
|
+
{"version":3,"file":"tag.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/tag.ts"],"mappings":";;;;;;cAgBa,YAAS,iBACJ,gBAAc,iBACb;EAWL,UAAA,UAAA,eAAa,eACT,mBAAc,QAAA;EAiBH,SAAA,KAAA,YAAU,eAAgB,mBAAc,QAAA;EAgB1D,YAAA,OAAA,0BAAwB,KAC1B,eAAa,eACJ,mBAAc,QAAA;EAiBrB,YAAA,OAAA,0BAAwB,eAEjB,mBAAc,QAAA;;;;;;;;cAyBnB,aAzBmB;EAvDlB,UAAA,UAAA,eAAa,eACT,mBAAc,QAAA;EAiBH,SAAA,KAAA,YAAU,eAAgB,mBAAc,QAAA;EAgB1D,YAAA,OAAA,0BAAwB,KAC1B,eAAa,eACJ,mBAAc,QAAA;EAiBrB,YAAA,OAAA,0BAAwB,eAEjB,mBAAc,QAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
3
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
5
|
import { TranslateDictionariesBody, TranslateDictionariesResult } from "@intlayer/backend";
|
|
5
|
-
|
|
6
6
|
//#region src/getIntlayerAPI/translate.d.ts
|
|
7
7
|
declare const getTranslateAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
8
8
|
translateDictionaries: (body: TranslateDictionariesBody, otherOptions?: FetcherOptions) => Promise<TranslateDictionariesResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/translate.ts"],"mappings":";;;;;;cAWa,
|
|
1
|
+
{"version":3,"file":"translate.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/translate.ts"],"mappings":";;;;;;cAWa,kBAAe,iBACV,gBAAc,iBACb;EAOT,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EAUrB,sBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAQX,uBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAQX,qBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAQX,sBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAQX,wBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;;;;;;;;cAuBT,mBAzBmB;EAxDtB,wBAAA,MAAA,2BAAyB,eACjB,mBAAc,QAAA;EAUrB,sBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAQX,uBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAQX,qBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAQX,sBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE;;;EAQX,wBAAA,eAAM,eACC,mBAAc;IAEZ;MAAE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FetcherOptions } from "../fetcher.js";
|
|
2
2
|
import { CMSEndpoint } from "../cms/createIntlayerCMS.js";
|
|
3
|
+
import "../index.js";
|
|
3
4
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
5
|
import { CreateUserBody, GetUserByEmailParams, GetUserByIdParams, GetUsersParams, UpdateUserBody, UserAPI } from "@intlayer/backend";
|
|
5
|
-
|
|
6
6
|
//#region src/getIntlayerAPI/user.d.ts
|
|
7
7
|
type GetUserByAccountParams = {
|
|
8
8
|
providerAccountId: string;
|
|
@@ -11,13 +11,13 @@ type GetUserByAccountParams = {
|
|
|
11
11
|
declare const getUserAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => {
|
|
12
12
|
createUser: (user: CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
|
|
13
13
|
getUsers: (filters?: GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
|
|
14
|
-
getUserById: (userId: GetUserByIdParams[
|
|
15
|
-
getUserByAccount: (providerAccountId: GetUserByAccountParams[
|
|
16
|
-
getUserByEmail: (email: GetUserByEmailParams[
|
|
14
|
+
getUserById: (userId: GetUserByIdParams['userId'], otherOptions?: FetcherOptions) => Promise<GetUserByIdResult>;
|
|
15
|
+
getUserByAccount: (providerAccountId: GetUserByAccountParams['providerAccountId'], provider: GetUserByAccountParams['provider'], otherOptions?: FetcherOptions) => Promise<ResponseData<UserAPI>>;
|
|
16
|
+
getUserByEmail: (email: GetUserByEmailParams['email'], otherOptions?: FetcherOptions) => Promise<GetUserByEmailResult>;
|
|
17
17
|
updateUser: (user: UpdateUserBody, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
18
18
|
deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
19
19
|
uploadAvatar: (file: File, otherOptions?: FetcherOptions) => Promise<UploadUserAvatarResult>;
|
|
20
|
-
getVerifyEmailStatusURL: (userId: string | UserAPI[
|
|
20
|
+
getVerifyEmailStatusURL: (userId: string | UserAPI['id']) => string;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* Authenticated `user` endpoint bound to an Intlayer CMS authenticator.
|
|
@@ -28,13 +28,13 @@ declare const getUserAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: Int
|
|
|
28
28
|
declare const userEndpoint: CMSEndpoint<{
|
|
29
29
|
createUser: (user: CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
|
|
30
30
|
getUsers: (filters?: GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
|
|
31
|
-
getUserById: (userId: GetUserByIdParams[
|
|
32
|
-
getUserByAccount: (providerAccountId: GetUserByAccountParams[
|
|
33
|
-
getUserByEmail: (email: GetUserByEmailParams[
|
|
31
|
+
getUserById: (userId: GetUserByIdParams['userId'], otherOptions?: FetcherOptions) => Promise<GetUserByIdResult>;
|
|
32
|
+
getUserByAccount: (providerAccountId: GetUserByAccountParams['providerAccountId'], provider: GetUserByAccountParams['provider'], otherOptions?: FetcherOptions) => Promise<ResponseData<UserAPI>>;
|
|
33
|
+
getUserByEmail: (email: GetUserByEmailParams['email'], otherOptions?: FetcherOptions) => Promise<GetUserByEmailResult>;
|
|
34
34
|
updateUser: (user: UpdateUserBody, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
35
35
|
deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
36
36
|
uploadAvatar: (file: File, otherOptions?: FetcherOptions) => Promise<UploadUserAvatarResult>;
|
|
37
|
-
getVerifyEmailStatusURL: (userId: string | UserAPI[
|
|
37
|
+
getVerifyEmailStatusURL: (userId: string | UserAPI['id']) => string;
|
|
38
38
|
}>;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { getUserAPI, userEndpoint };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/user.ts"],"mappings":";;;;;;KAoBK
|
|
1
|
+
{"version":3,"file":"user.d.ts","names":[],"sources":["../../../src/getIntlayerAPI/user.ts"],"mappings":";;;;;;KAoBK;EAA2B;EAA2B;;cAG9C,aAAU,iBACL,gBAAc,iBACb;EAuFT,aAAA,MAAA,gBAAc,eACN,mBAAc,QAAA;EA5ElB,WAAA,UAAA,gBAAc,eACV,mBAAc,QAAA;EAmBpB,cAAA,QAAA,6BAA2B,eACrB,mBAAc,QAAA;EAmCT,mBAAA,mBAAA,6CAA2C,UACpD,oCAAkC,eAC9B,mBAAc,QAAA,aAAA;EApBrB,iBAAA,OAAA,+BAA6B,eACtB,mBAAc,QAAA;EAuDtB,aAAA,MAAA,gBAAc,eACN,mBAAc,QAAA;EAkBpB,aAAA,gBAAM,eACA,mBAAc,QAAA;EAiBtB,eAAA,MAAA,MAAI,eACI,mBAAc,QAAA;EAiCW,0BAAA,iBAAS;;;;;;;;cAsBvC,cAtBuC;EA1F1C,aAAA,MAAA,gBAAc,eACN,mBAAc,QAAA;EA5ElB,WAAA,UAAA,gBAAc,eACV,mBAAc,QAAA;EAmBpB,cAAA,QAAA,6BAA2B,eACrB,mBAAc,QAAA;EAmCT,mBAAA,mBAAA,6CAA2C,UACpD,oCAAkC,eAC9B,mBAAc,QAAA,aAAA;EApBrB,iBAAA,OAAA,+BAA6B,eACtB,mBAAc,QAAA;EAuDtB,aAAA,MAAA,gBAAc,eACN,mBAAc,QAAA;EAkBpB,aAAA,gBAAM,eACA,mBAAc,QAAA;EAiBtB,eAAA,MAAA,MAAI,eACI,mBAAc,QAAA;EAiCW,0BAAA,iBAAS"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { FetcherOptions, fetcher, fetcherOptions } from "./fetcher.js";
|
|
2
2
|
import { AuthManager, AuthManagerOptions, BindSectionOptions, createAuthManager } from "./cms/createAuthManager.js";
|
|
3
3
|
import { CMSEndpoint, IntlayerCMS, IntlayerCMSOptions, createEndpoint, createIntlayerCMS } from "./cms/createIntlayerCMS.js";
|
|
4
|
+
import "./cms/index.js";
|
|
4
5
|
import { fetchDistantDictionaries } from "./distantDictionary/fetchDistantDictionaries.js";
|
|
5
6
|
import { fetchDistantDictionary } from "./distantDictionary/fetchDistantDictionary.js";
|
|
7
|
+
import "./distantDictionary/index.js";
|
|
6
8
|
import { analyticsEndpoint, getAnalyticsAPI } from "./getIntlayerAPI/analytics.js";
|
|
7
9
|
import { assetEndpoint, getAssetAPI } from "./getIntlayerAPI/asset.js";
|
|
8
10
|
import { AuditEvent, DiscoverUrlsParams, DiscoverUrlsResult, GetRecursiveAuditStatusParams, GetRecursiveAuditStatusResult, RecursiveAuditJobParams, ScanUrlBody, StartRecursiveAuditBody, StartRecursiveAuditResult, auditEndpoint, getAuditAPI } from "./getIntlayerAPI/audit.js";
|
|
@@ -28,4 +30,4 @@ import { IntlayerAPI, getIntlayerAPI } from "./getIntlayerAPI/index.js";
|
|
|
28
30
|
import { IntlayerAPIProxy, getIntlayerAPIProxy } from "./proxy.js";
|
|
29
31
|
import { AIOptions } from "./types.js";
|
|
30
32
|
import { AskDocQuestionBody, AskDocQuestionResult, AutocompleteBody, ChatBody, ChatResult, ClientAction, aiEndpoint, getAiAPI } from "./getIntlayerAPI/ai.js";
|
|
31
|
-
export { AIOptions, AskDocQuestionBody, AskDocQuestionResult, AuditEvent, AuthManager, AuthManagerOptions, AutocompleteBody, BindSectionOptions, BitbucketAuthCallbackBody, BitbucketAuthCallbackResult, BitbucketCheckConfigBody, BitbucketCheckConfigResult, BitbucketGetAuthUrlResult, BitbucketGetConfigFileBody, BitbucketGetConfigFileResult, BitbucketListReposResult, BitbucketRepository, CMSEndpoint, ChatBody, ChatResult, ClientAction, DiscoverUrlsParams, DiscoverUrlsResult, FetcherOptions, GetDemoSessionResult, GetRecursiveAuditStatusParams, GetRecursiveAuditStatusResult, GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubGetTokenResult, GitHubListReposResult, GitHubRepository, GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, IntlayerAPI, IntlayerAPIProxy, IntlayerCMS, IntlayerCMSOptions, OtherShowcaseProjectsQuery, RecursiveAuditJobParams, ScanUrlBody, ShowcaseProjectsQuery, StartRecursiveAuditBody, StartRecursiveAuditResult, TranslateDictionariesBody, TranslateDictionariesResult, aiEndpoint, analyticsEndpoint, assetEndpoint, auditEndpoint, bitbucketEndpoint, createAuthManager, createEndpoint, createIntlayerCMS, dictionaryEndpoint, editorEndpoint, environmentEndpoint, fetchDistantDictionaries, fetchDistantDictionary, fetcher, fetcherOptions, getAiAPI, getAnalyticsAPI, getAssetAPI, getAuditAPI, getBitbucketAPI, getDictionaryAPI, getEditorAPI, getEnvironmentAPI, getGithubAPI, getGitlabAPI, getIntlayerAPI, getIntlayerAPIProxy, getNewsletterAPI, getOAuthAPI, getOrganizationAPI, getProjectAPI, getReviewerAPI, getSearchAPI, getShowcaseProjectAPI, getStatusAPI, getStripeAPI, getTagAPI, getTranslateAPI, getUserAPI, githubEndpoint, gitlabEndpoint, newsletterEndpoint, organizationEndpoint, projectEndpoint, reviewerEndpoint, searchEndpoint, showcaseProjectEndpoint, statusEndpoint, stripeEndpoint, tagEndpoint, translateEndpoint, userEndpoint };
|
|
33
|
+
export { type AIOptions, AskDocQuestionBody, type AskDocQuestionResult, type AuditEvent, AuthManager, AuthManagerOptions, AutocompleteBody, BindSectionOptions, BitbucketAuthCallbackBody, BitbucketAuthCallbackResult, BitbucketCheckConfigBody, BitbucketCheckConfigResult, BitbucketGetAuthUrlResult, BitbucketGetConfigFileBody, BitbucketGetConfigFileResult, BitbucketListReposResult, BitbucketRepository, CMSEndpoint, ChatBody, type ChatResult, ClientAction, DiscoverUrlsParams, DiscoverUrlsResult, FetcherOptions, GetDemoSessionResult, GetRecursiveAuditStatusParams, type GetRecursiveAuditStatusResult, GitHubAuthCallbackBody, GitHubAuthCallbackResult, GitHubCheckConfigBody, GitHubCheckConfigResult, GitHubGetAuthUrlResult, GitHubGetConfigFileBody, GitHubGetConfigFileResult, GitHubGetTokenResult, GitHubListReposResult, GitHubRepository, GitLabAuthCallbackBody, GitLabAuthCallbackResult, GitLabCheckConfigBody, GitLabCheckConfigResult, GitLabGetAuthUrlResult, GitLabGetConfigFileBody, GitLabGetConfigFileResult, GitLabListProjectsResult, GitLabProject, IntlayerAPI, IntlayerAPIProxy, IntlayerCMS, IntlayerCMSOptions, OtherShowcaseProjectsQuery, RecursiveAuditJobParams, ScanUrlBody, ShowcaseProjectsQuery, StartRecursiveAuditBody, type StartRecursiveAuditResult, type TranslateDictionariesBody, type TranslateDictionariesResult, aiEndpoint, analyticsEndpoint, assetEndpoint, auditEndpoint, bitbucketEndpoint, createAuthManager, createEndpoint, createIntlayerCMS, dictionaryEndpoint, editorEndpoint, environmentEndpoint, fetchDistantDictionaries, fetchDistantDictionary, fetcher, fetcherOptions, getAiAPI, getAnalyticsAPI, getAssetAPI, getAuditAPI, getBitbucketAPI, getDictionaryAPI, getEditorAPI, getEnvironmentAPI, getGithubAPI, getGitlabAPI, getIntlayerAPI, getIntlayerAPIProxy, getNewsletterAPI, getOAuthAPI, getOrganizationAPI, getProjectAPI, getReviewerAPI, getSearchAPI, getShowcaseProjectAPI, getStatusAPI, getStripeAPI, getTagAPI, getTranslateAPI, getUserAPI, githubEndpoint, gitlabEndpoint, newsletterEndpoint, organizationEndpoint, projectEndpoint, reviewerEndpoint, searchEndpoint, showcaseProjectEndpoint, statusEndpoint, stripeEndpoint, tagEndpoint, translateEndpoint, userEndpoint };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { ResponseData } from "../utils/responseData.js";
|
|
2
2
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
3
|
+
import "/Users/aymericpineau/Documents/intlayer_/node_modules/.bun/fastify@5.10.0/node_modules/fastify/fastify.js";
|
|
3
4
|
//#region ../../intlayer-editor/server/dist/controllers/configuration.controller.d.ts
|
|
4
5
|
//#region src/controllers/configuration.controller.d.ts
|
|
5
6
|
type GetConfigurationResult = ResponseData<IntlayerConfig>;
|
|
6
|
-
/**
|
|
7
|
-
* Get the Intlayer configuration
|
|
8
|
-
*/
|
|
9
7
|
//#endregion
|
|
10
8
|
export { GetConfigurationResult };
|
|
11
9
|
//# sourceMappingURL=configuration.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration.controller.d.ts","names":[],"sources":["../../../../../../../../intlayer-editor/server/dist/controllers/configuration.controller.d.ts"],"mappings":";;;;;KAIK,yBAAyB,aAAa"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { ResponseData } from "../utils/responseData.js";
|
|
2
2
|
import { UnmergedDictionaries } from "../../../../@intlayer/unmerged-dictionaries-entry/dist/types/index.js";
|
|
3
|
+
import "/Users/aymericpineau/Documents/intlayer_/node_modules/.bun/fastify@5.10.0/node_modules/fastify/fastify.js";
|
|
3
4
|
import { DictionaryStatus } from "@intlayer/engine/build";
|
|
4
5
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
5
|
-
|
|
6
6
|
//#region ../../intlayer-editor/server/dist/controllers/dictionary.controller.d.ts
|
|
7
7
|
//#region src/controllers/dictionary.controller.d.ts
|
|
8
8
|
type GetEditorDictionariesResult = ResponseData<UnmergedDictionaries>;
|
|
9
|
-
/**
|
|
10
|
-
* Get the Intlayer configuration
|
|
11
|
-
*/
|
|
12
9
|
type WriteContentDeclarationBody = {
|
|
13
10
|
dictionary: Dictionary;
|
|
14
11
|
};
|
|
@@ -17,9 +14,6 @@ type WriteContentDeclarationResultData = {
|
|
|
17
14
|
path: string;
|
|
18
15
|
};
|
|
19
16
|
type WriteContentDeclarationResult = ResponseData<WriteContentDeclarationResultData>;
|
|
20
|
-
/**
|
|
21
|
-
* Adds a new dictionary to the database.
|
|
22
|
-
*/
|
|
23
17
|
//#endregion
|
|
24
18
|
export { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult };
|
|
25
19
|
//# sourceMappingURL=dictionary.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dictionary.controller.d.ts","names":[],"sources":["../../../../../../../../intlayer-editor/server/dist/controllers/dictionary.controller.d.ts"],"mappings":";;;;;;;KAMK,8BAA8B,aAAa;KAK3C;EACH,YAAY;;KAET;EACH,QAAQ;EACR;;KAEG,gCAAgC,aAAa"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { GetConfigurationResult } from "./controllers/configuration.controller.js";
|
|
2
|
-
import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "./controllers/dictionary.controller.js";
|
|
2
|
+
import { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "./controllers/dictionary.controller.js";
|
|
3
|
+
export { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult };
|