@intlayer/backend 7.2.2 → 7.3.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/blog/en/compiler_vs_declarative_i18n.json +5132 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/build.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/configuration.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/debug.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/doc-review.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/doc-translate.json +3080 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/editor.json +1028 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/fill.json +3080 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/index.json +4106 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/list.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/live.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/pull.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/push.json +3080 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/sdk.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/test.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/transform.json +2054 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/version.json +1028 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/watch.json +1028 -0
- package/dist/esm/controllers/ai.controller.mjs +23 -23
- package/dist/esm/controllers/ai.controller.mjs.map +1 -1
- package/dist/esm/export.mjs +3 -2
- package/dist/esm/utils/AI/askDocQuestion/askDocQuestion.mjs +1 -1
- package/dist/esm/utils/AI/askDocQuestion/askDocQuestion.mjs.map +1 -1
- package/dist/esm/utils/AI/askDocQuestion/indexMarkdownFiles.mjs.map +1 -1
- package/dist/esm/utils/AI/auditDictionary/index.mjs +1 -1
- package/dist/esm/utils/AI/auditDictionary/index.mjs.map +1 -1
- package/dist/esm/utils/AI/auditDictionaryField/index.mjs +1 -1
- package/dist/esm/utils/AI/auditDictionaryField/index.mjs.map +1 -1
- package/dist/esm/utils/AI/auditDictionaryMetadata/index.mjs +5 -29
- package/dist/esm/utils/AI/auditDictionaryMetadata/index.mjs.map +1 -1
- package/dist/esm/utils/AI/auditTag/index.mjs +1 -1
- package/dist/esm/utils/AI/auditTag/index.mjs.map +1 -1
- package/dist/esm/utils/AI/autocomplete/index.mjs +1 -2
- package/dist/esm/utils/AI/autocomplete/index.mjs.map +1 -1
- package/dist/esm/utils/AI/customQuery/index.mjs +5 -11
- package/dist/esm/utils/AI/customQuery/index.mjs.map +1 -1
- package/dist/esm/utils/AI/translateJSON/index.mjs +6 -53
- package/dist/esm/utils/AI/translateJSON/index.mjs.map +1 -1
- package/dist/types/controllers/ai.controller.d.ts +1 -1
- package/dist/types/controllers/ai.controller.d.ts.map +1 -1
- package/dist/types/emails/InviteUserEmail.d.ts +4 -4
- package/dist/types/emails/MagicLinkEmail.d.ts +4 -4
- package/dist/types/emails/MagicLinkEmail.d.ts.map +1 -1
- package/dist/types/emails/OAuthTokenCreatedEmail.d.ts +4 -4
- package/dist/types/emails/OAuthTokenCreatedEmail.d.ts.map +1 -1
- package/dist/types/emails/PasswordChangeConfirmation.d.ts +4 -4
- package/dist/types/emails/ResetUserPassword.d.ts +4 -4
- package/dist/types/emails/SubscriptionPaymentCancellation.d.ts +4 -4
- package/dist/types/emails/SubscriptionPaymentCancellation.d.ts.map +1 -1
- package/dist/types/emails/SubscriptionPaymentError.d.ts +4 -4
- package/dist/types/emails/SubscriptionPaymentError.d.ts.map +1 -1
- package/dist/types/emails/SubscriptionPaymentSuccess.d.ts +4 -4
- package/dist/types/emails/ValidateUserEmail.d.ts +4 -4
- package/dist/types/emails/Welcome.d.ts +4 -4
- package/dist/types/export.d.ts +2 -2
- package/dist/types/models/dictionary.model.d.ts +4 -4
- package/dist/types/models/discussion.model.d.ts +2 -2
- package/dist/types/models/oAuth2.model.d.ts +3 -3
- package/dist/types/routes/ai.routes.d.ts.map +1 -1
- package/dist/types/routes/project.routes.d.ts.map +1 -1
- package/dist/types/schemas/dictionary.schema.d.ts +6 -6
- package/dist/types/schemas/discussion.schema.d.ts +6 -6
- package/dist/types/schemas/oAuth2.schema.d.ts +5 -5
- package/dist/types/schemas/oAuth2.schema.d.ts.map +1 -1
- package/dist/types/schemas/organization.schema.d.ts +6 -6
- package/dist/types/schemas/plans.schema.d.ts +6 -6
- package/dist/types/schemas/project.schema.d.ts +6 -6
- package/dist/types/schemas/project.schema.d.ts.map +1 -1
- package/dist/types/schemas/session.schema.d.ts +6 -6
- package/dist/types/schemas/tag.schema.d.ts +6 -6
- package/dist/types/schemas/tag.schema.d.ts.map +1 -1
- package/dist/types/schemas/user.schema.d.ts +6 -6
- package/dist/types/services/email.service.d.ts +11 -11
- package/dist/types/types/plan.types.d.ts.map +1 -1
- package/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts +1 -1
- package/dist/types/utils/AI/askDocQuestion/indexMarkdownFiles.d.ts.map +1 -1
- package/dist/types/utils/AI/auditDictionary/index.d.ts +1 -1
- package/dist/types/utils/AI/auditDictionaryField/index.d.ts +1 -1
- package/dist/types/utils/AI/auditDictionaryMetadata/index.d.ts +3 -16
- package/dist/types/utils/AI/auditDictionaryMetadata/index.d.ts.map +1 -1
- package/dist/types/utils/AI/auditTag/index.d.ts +1 -1
- package/dist/types/utils/AI/autocomplete/index.d.ts +1 -1
- package/dist/types/utils/AI/autocomplete/index.d.ts.map +1 -1
- package/dist/types/utils/AI/customQuery/index.d.ts +3 -10
- package/dist/types/utils/AI/customQuery/index.d.ts.map +1 -1
- package/dist/types/utils/AI/translateJSON/index.d.ts +3 -17
- package/dist/types/utils/AI/translateJSON/index.d.ts.map +1 -1
- package/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +2 -2
- package/package.json +9 -14
- package/dist/assets/utils/AI/auditDictionaryMetadata/PROMPT.md +0 -73
- package/dist/assets/utils/AI/translateJSON/PROMPT.md +0 -45
- package/dist/esm/utils/AI/aiSdk.mjs +0 -98
- package/dist/esm/utils/AI/aiSdk.mjs.map +0 -1
- package/dist/types/utils/AI/aiSdk.d.ts +0 -62
- package/dist/types/utils/AI/aiSdk.d.ts.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Discussion } from "../types/discussion.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose68 from "mongoose";
|
|
3
3
|
import { Model } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/models/discussion.model.d.ts
|
|
6
|
-
declare const DiscussionModel: Model<Discussion, {}, {}, {},
|
|
6
|
+
declare const DiscussionModel: Model<Discussion, {}, {}, {}, mongoose68.Document<unknown, {}, Discussion, {}, {}> & Discussion & Required<{
|
|
7
7
|
_id: unknown;
|
|
8
8
|
}> & {
|
|
9
9
|
__v: number;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { User } from "../types/user.types.js";
|
|
2
2
|
import "../export.js";
|
|
3
3
|
import { Token as Token$1 } from "../schemas/oAuth2.schema.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose69 from "mongoose";
|
|
5
5
|
import { Model } from "mongoose";
|
|
6
6
|
import * as oauth2_server0 from "oauth2-server";
|
|
7
7
|
|
|
8
8
|
//#region src/models/oAuth2.model.d.ts
|
|
9
|
-
declare const OAuth2AccessTokenModel: Model<Token$1, {}, {}, {},
|
|
9
|
+
declare const OAuth2AccessTokenModel: Model<Token$1, {}, {}, {}, mongoose69.Document<unknown, {}, Token$1, {}, {}> & Omit<oauth2_server0.Token, "user" | "client"> & {
|
|
10
10
|
clientId: oauth2_server0.Client["id"];
|
|
11
11
|
userId: User["id"];
|
|
12
12
|
} & {
|
|
13
|
-
_id:
|
|
13
|
+
_id: mongoose69.Types.ObjectId;
|
|
14
14
|
} & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.routes.d.ts","names":[],"sources":["../../../src/routes/ai.routes.ts"],"sourcesContent":[],"mappings":";;;cAea,UAAU;cAEV,OAAA;AAFA,cAMA,WANU,
|
|
1
|
+
{"version":3,"file":"ai.routes.d.ts","names":[],"sources":["../../../src/routes/ai.routes.ts"],"sourcesContent":[],"mappings":";;;cAea,UAAU;cAEV,OAAA;AAFA,cAMA,WANU,EAAA,GAAiB,GAAA;EAE3B,WAAO,EAAA;IAIP,QAAA,EA+CQ,MAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.routes.d.ts","names":[],"sources":["../../../src/routes/project.routes.ts"],"sourcesContent":[],"mappings":";;;cAkBa,eAAe;cAEf,YAAA;AAFA,cAMA,gBANe,
|
|
1
|
+
{"version":3,"file":"project.routes.d.ts","names":[],"sources":["../../../src/routes/project.routes.ts"],"sourcesContent":[],"mappings":";;;cAkBa,eAAe;cAEf,YAAA;AAFA,cAMA,gBANe,EAAA,GAAiB,GAAA;EAEhC,WAAA,EAAA;IAIA,QAAA,EAAA,MA0DQ"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Dictionary, DictionarySchema } from "../types/dictionary.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose77 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/dictionary.schema.d.ts
|
|
6
|
-
declare const dictionarySchema: Schema<DictionarySchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const dictionarySchema: Schema<DictionarySchema, mongoose77.Model<DictionarySchema, any, any, any, mongoose77.Document<unknown, any, DictionarySchema, any, {}> & Omit<Dictionary, "id"> & {
|
|
7
|
+
_id: mongoose77.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose77.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose77.DefaultSchemaOptions, DictionarySchema, mongoose77.Document<unknown, {}, mongoose77.FlatRecord<DictionarySchema>, {}, mongoose77.ResolveSchemaOptions<mongoose77.DefaultSchemaOptions>> & mongoose77.FlatRecord<DictionarySchema> & Required<{
|
|
13
|
+
_id: mongoose77.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Discussion, DiscussionSchema } from "../types/discussion.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose54 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/discussion.schema.d.ts
|
|
6
|
-
declare const discussionSchema: Schema<DiscussionSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const discussionSchema: Schema<DiscussionSchema, mongoose54.Model<DiscussionSchema, any, any, any, mongoose54.Document<unknown, any, DiscussionSchema, any, {}> & Omit<Discussion, "id"> & {
|
|
7
|
+
_id: mongoose54.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose54.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose54.DefaultSchemaOptions, DiscussionSchema, mongoose54.Document<unknown, {}, mongoose54.FlatRecord<DiscussionSchema>, {}, mongoose54.ResolveSchemaOptions<mongoose54.DefaultSchemaOptions>> & mongoose54.FlatRecord<DiscussionSchema> & Required<{
|
|
13
|
+
_id: mongoose54.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { User } from "../types/user.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose67 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
import { Client, Token as Token$1 } from "oauth2-server";
|
|
5
5
|
|
|
@@ -8,15 +8,15 @@ type Token = Omit<Token$1, 'client' | 'user'> & {
|
|
|
8
8
|
clientId: Client['id'];
|
|
9
9
|
userId: User['id'];
|
|
10
10
|
};
|
|
11
|
-
declare const accessTokenSchema: Schema<Token,
|
|
11
|
+
declare const accessTokenSchema: Schema<Token, mongoose67.Model<Token, any, any, any, mongoose67.Document<unknown, any, Token, any, {}> & Omit<Token$1, "user" | "client"> & {
|
|
12
12
|
clientId: Client["id"];
|
|
13
13
|
userId: User["id"];
|
|
14
14
|
} & {
|
|
15
|
-
_id:
|
|
15
|
+
_id: mongoose67.Types.ObjectId;
|
|
16
16
|
} & {
|
|
17
17
|
__v: number;
|
|
18
|
-
}, any>, {}, {}, {}, {},
|
|
19
|
-
_id:
|
|
18
|
+
}, any>, {}, {}, {}, {}, mongoose67.DefaultSchemaOptions, Token, mongoose67.Document<unknown, {}, mongoose67.FlatRecord<Token>, {}, mongoose67.ResolveSchemaOptions<mongoose67.DefaultSchemaOptions>> & mongoose67.FlatRecord<Token> & {
|
|
19
|
+
_id: mongoose67.Types.ObjectId;
|
|
20
20
|
} & {
|
|
21
21
|
__v: number;
|
|
22
22
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oAuth2.schema.d.ts","names":[],"sources":["../../../src/schemas/oAuth2.schema.ts"],"sourcesContent":[],"mappings":";;;;;;KAIY,KAAA,GAAQ,KAAK;YACb;UACF;AAFV,CAAA;AAAyB,cAKZ,iBALY,EAKK,MALL,CAKK,KALL,aAKK,KALL,CAKK,KALL,EAAA,GAAA,EAAA,GAAA,EAAA,GAAA,EAKK,UAAA,CAAA,QALL,CAAA,OAAA,EAAA,GAAA,EAKK,KALL,EAAA,GAAA,EAAA,CAAA,CAAA,CAAA,GAKK,IALL,CAKK,OALL,EAAA,
|
|
1
|
+
{"version":3,"file":"oAuth2.schema.d.ts","names":[],"sources":["../../../src/schemas/oAuth2.schema.ts"],"sourcesContent":[],"mappings":";;;;;;KAIY,KAAA,GAAQ,KAAK;YACb;UACF;AAFV,CAAA;AAAyB,cAKZ,iBALY,EAKK,MALL,CAKK,KALL,aAKK,KALL,CAKK,KALL,EAAA,GAAA,EAAA,GAAA,EAAA,GAAA,EAKK,UAAA,CAAA,QALL,CAAA,OAAA,EAAA,GAAA,EAKK,KALL,EAAA,GAAA,EAAA,CAAA,CAAA,CAAA,GAKK,IALL,CAKK,OALL,EAAA,MAAA,GAAA,QAAA,CAAA,GAAA;EAAL,QAAA,EACR,MADQ,CAAA,IAAA,CAAA;EACR,MAAA,EACF,IADE,CAAA,IAAA,CAAA;CACF,GAAA;EAAI,GAAA,2BAAA;AAGd,CAAA,GAAa;EAAiB,GAAA,EAAA,MAAA;CAAA,EAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,UAAA,CAAA,oBAAA,OAAA,qBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,uBAAA,MAAA,CAAA,EAAA,CAAA,CAAA,iCAAA,iCAAA,CAAA,wBAAA,MAAA,CAAA,GAAA;EAAA,GAAA,2BAAA;CAAA,GAAA;EAAA,GAAA,EAAA,MAAA;CAAA,CAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Organization, OrganizationSchema } from "../types/organization.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose0 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/organization.schema.d.ts
|
|
6
|
-
declare const organizationSchema: Schema<OrganizationSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const organizationSchema: Schema<OrganizationSchema, mongoose0.Model<OrganizationSchema, any, any, any, mongoose0.Document<unknown, any, OrganizationSchema, any, {}> & Omit<Organization, "id"> & {
|
|
7
|
+
_id: mongoose0.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose0.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose0.DefaultSchemaOptions, OrganizationSchema, mongoose0.Document<unknown, {}, mongoose0.FlatRecord<OrganizationSchema>, {}, mongoose0.ResolveSchemaOptions<mongoose0.DefaultSchemaOptions>> & mongoose0.FlatRecord<OrganizationSchema> & Required<{
|
|
13
|
+
_id: mongoose0.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Plan, PlanSchema } from "../types/plan.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose10 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/plans.schema.d.ts
|
|
6
|
-
declare const planSchema: Schema<PlanSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const planSchema: Schema<PlanSchema, mongoose10.Model<PlanSchema, any, any, any, mongoose10.Document<unknown, any, PlanSchema, any, {}> & Omit<Plan, "id"> & {
|
|
7
|
+
_id: mongoose10.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose10.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose10.DefaultSchemaOptions, PlanSchema, mongoose10.Document<unknown, {}, mongoose10.FlatRecord<PlanSchema>, {}, mongoose10.ResolveSchemaOptions<mongoose10.DefaultSchemaOptions>> & mongoose10.FlatRecord<PlanSchema> & Required<{
|
|
13
|
+
_id: mongoose10.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Project, ProjectSchema } from "../types/project.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose88 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/project.schema.d.ts
|
|
6
|
-
declare const projectSchema: Schema<ProjectSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const projectSchema: Schema<ProjectSchema, mongoose88.Model<ProjectSchema, any, any, any, mongoose88.Document<unknown, any, ProjectSchema, any, {}> & Omit<Project, "id"> & {
|
|
7
|
+
_id: mongoose88.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose88.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose88.DefaultSchemaOptions, ProjectSchema, mongoose88.Document<unknown, {}, mongoose88.FlatRecord<ProjectSchema>, {}, mongoose88.ResolveSchemaOptions<mongoose88.DefaultSchemaOptions>> & mongoose88.FlatRecord<ProjectSchema> & Required<{
|
|
13
|
+
_id: mongoose88.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.schema.d.ts","names":[],"sources":["../../../src/schemas/project.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAyDa,eAAa,OAAA,
|
|
1
|
+
{"version":3,"file":"project.schema.d.ts","names":[],"sources":["../../../src/schemas/project.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAyDa,eAAa,OAAA,0BAAA,MAAA,8BAAA,UAAA,CAAA,uBAAA,0BAAA,KAAA;;;EAAb,GAAA,2BA0DZ;CA1DyB,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA;CAAA,EAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,UAAA,CAAA,oBAAA,eAAA,qBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,uBAAA,cAAA,CAAA,EAAA,CAAA,CAAA,iCAAA,iCAAA,CAAA,wBAAA,cAAA,CAAA,WAAA,CAAA;EAAA,GAAA,2BAAA;CAAA,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SessionData, SessionSchema } from "../types/session.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose21 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/session.schema.d.ts
|
|
6
|
-
declare const sessionSchema: Schema<SessionSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const sessionSchema: Schema<SessionSchema, mongoose21.Model<SessionSchema, any, any, any, mongoose21.Document<unknown, any, SessionSchema, any, {}> & Omit<SessionData, "id"> & {
|
|
7
|
+
_id: mongoose21.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose21.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose21.DefaultSchemaOptions, SessionSchema, mongoose21.Document<unknown, {}, mongoose21.FlatRecord<SessionSchema>, {}, mongoose21.ResolveSchemaOptions<mongoose21.DefaultSchemaOptions>> & mongoose21.FlatRecord<SessionSchema> & Required<{
|
|
13
|
+
_id: mongoose21.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Tag, TagSchema } from "../types/tag.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose32 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/tag.schema.d.ts
|
|
6
|
-
declare const tagSchema: Schema<TagSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const tagSchema: Schema<TagSchema, mongoose32.Model<TagSchema, any, any, any, mongoose32.Document<unknown, any, TagSchema, any, {}> & Omit<Tag, "id"> & {
|
|
7
|
+
_id: mongoose32.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose32.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose32.DefaultSchemaOptions, TagSchema, mongoose32.Document<unknown, {}, mongoose32.FlatRecord<TagSchema>, {}, mongoose32.ResolveSchemaOptions<mongoose32.DefaultSchemaOptions>> & mongoose32.FlatRecord<TagSchema> & Required<{
|
|
13
|
+
_id: mongoose32.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.schema.d.ts","names":[],"sources":["../../../src/schemas/tag.schema.ts"],"sourcesContent":[],"mappings":";;;;;cASa,WAAS,OAAA,
|
|
1
|
+
{"version":3,"file":"tag.schema.d.ts","names":[],"sources":["../../../src/schemas/tag.schema.ts"],"sourcesContent":[],"mappings":";;;;;cASa,WAAS,OAAA,qBAAA,MAAA,0BAAA,SAAA,CAAA,uBAAA,sBAAA,KAAA,GAAA;;;EAAT,GAAA,0BA4DZ;CA5DqB,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA;CAAA,EAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,SAAA,CAAA,oBAAA,WAAA,oBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,sBAAA,UAAA,CAAA,EAAA,CAAA,CAAA,gCAAA,gCAAA,CAAA,uBAAA,UAAA,CAAA,WAAA,CAAA;EAAA,GAAA,0BAAA;CAAA,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { User, UserSchema } from "../types/user.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose43 from "mongoose";
|
|
3
3
|
import { Schema } from "mongoose";
|
|
4
4
|
|
|
5
5
|
//#region src/schemas/user.schema.d.ts
|
|
6
|
-
declare const userSchema: Schema<UserSchema,
|
|
7
|
-
_id:
|
|
6
|
+
declare const userSchema: Schema<UserSchema, mongoose43.Model<UserSchema, any, any, any, mongoose43.Document<unknown, any, UserSchema, any, {}> & Omit<User, "id"> & {
|
|
7
|
+
_id: mongoose43.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose43.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose43.DefaultSchemaOptions, UserSchema, mongoose43.Document<unknown, {}, mongoose43.FlatRecord<UserSchema>, {}, mongoose43.ResolveSchemaOptions<mongoose43.DefaultSchemaOptions>> & mongoose43.FlatRecord<UserSchema> & Required<{
|
|
13
|
+
_id: mongoose43.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -9,7 +9,7 @@ import { SubscriptionPaymentSuccessProps } from "../emails/SubscriptionPaymentSu
|
|
|
9
9
|
import { ValidateUserEmailProps } from "../emails/ValidateUserEmail.js";
|
|
10
10
|
import { WelcomeEmailProps } from "../emails/Welcome.js";
|
|
11
11
|
import { Locale } from "@intlayer/types";
|
|
12
|
-
import * as
|
|
12
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
13
13
|
import { ComponentProps } from "react";
|
|
14
14
|
|
|
15
15
|
//#region src/services/email.service.d.ts
|
|
@@ -24,7 +24,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
24
24
|
inviteLink,
|
|
25
25
|
inviteFromIp,
|
|
26
26
|
inviteFromLocation
|
|
27
|
-
}: InviteUserEmailProps):
|
|
27
|
+
}: InviteUserEmailProps): react_jsx_runtime20.JSX.Element;
|
|
28
28
|
PreviewProps: InviteUserEmailProps;
|
|
29
29
|
};
|
|
30
30
|
subject: string;
|
|
@@ -34,7 +34,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
34
34
|
({
|
|
35
35
|
username,
|
|
36
36
|
validationLink
|
|
37
|
-
}: ValidateUserEmailProps):
|
|
37
|
+
}: ValidateUserEmailProps): react_jsx_runtime20.JSX.Element;
|
|
38
38
|
PreviewProps: ValidateUserEmailProps;
|
|
39
39
|
};
|
|
40
40
|
subject: string;
|
|
@@ -44,7 +44,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
44
44
|
({
|
|
45
45
|
username,
|
|
46
46
|
resetLink
|
|
47
|
-
}: ResetPasswordEmailProps):
|
|
47
|
+
}: ResetPasswordEmailProps): react_jsx_runtime20.JSX.Element;
|
|
48
48
|
PreviewProps: ResetPasswordEmailProps;
|
|
49
49
|
};
|
|
50
50
|
subject: string;
|
|
@@ -54,7 +54,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
54
54
|
({
|
|
55
55
|
username,
|
|
56
56
|
loginLink
|
|
57
|
-
}: WelcomeEmailProps):
|
|
57
|
+
}: WelcomeEmailProps): react_jsx_runtime20.JSX.Element;
|
|
58
58
|
PreviewProps: WelcomeEmailProps;
|
|
59
59
|
};
|
|
60
60
|
subject: string;
|
|
@@ -64,7 +64,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
64
64
|
({
|
|
65
65
|
username,
|
|
66
66
|
magicLink
|
|
67
|
-
}: MagicLinkEmailProps):
|
|
67
|
+
}: MagicLinkEmailProps): react_jsx_runtime20.JSX.Element;
|
|
68
68
|
PreviewProps: MagicLinkEmailProps;
|
|
69
69
|
};
|
|
70
70
|
subject: string;
|
|
@@ -73,7 +73,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
73
73
|
template: {
|
|
74
74
|
({
|
|
75
75
|
username
|
|
76
|
-
}: PasswordChangeConfirmationEmailProps):
|
|
76
|
+
}: PasswordChangeConfirmationEmailProps): react_jsx_runtime20.JSX.Element;
|
|
77
77
|
PreviewProps: PasswordChangeConfirmationEmailProps;
|
|
78
78
|
};
|
|
79
79
|
subject: string;
|
|
@@ -86,7 +86,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
86
86
|
organizationName,
|
|
87
87
|
subscriptionStartDate,
|
|
88
88
|
manageSubscriptionLink
|
|
89
|
-
}: SubscriptionPaymentSuccessProps):
|
|
89
|
+
}: SubscriptionPaymentSuccessProps): react_jsx_runtime20.JSX.Element;
|
|
90
90
|
PreviewProps: SubscriptionPaymentSuccessProps;
|
|
91
91
|
};
|
|
92
92
|
subject: string;
|
|
@@ -99,7 +99,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
99
99
|
organizationName,
|
|
100
100
|
cancellationDate,
|
|
101
101
|
reactivateLink
|
|
102
|
-
}: SubscriptionPaymentCancellationProps):
|
|
102
|
+
}: SubscriptionPaymentCancellationProps): react_jsx_runtime20.JSX.Element;
|
|
103
103
|
PreviewProps: SubscriptionPaymentCancellationProps;
|
|
104
104
|
};
|
|
105
105
|
subject: string;
|
|
@@ -112,7 +112,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
112
112
|
organizationName,
|
|
113
113
|
errorDate,
|
|
114
114
|
retryPaymentLink
|
|
115
|
-
}: SubscriptionPaymentErrorProps):
|
|
115
|
+
}: SubscriptionPaymentErrorProps): react_jsx_runtime20.JSX.Element;
|
|
116
116
|
PreviewProps: SubscriptionPaymentErrorProps;
|
|
117
117
|
};
|
|
118
118
|
subject: string;
|
|
@@ -126,7 +126,7 @@ declare const getEmailComponents: (locale?: Locale) => {
|
|
|
126
126
|
tokenDetailsUrl,
|
|
127
127
|
securityLogUrl,
|
|
128
128
|
supportUrl
|
|
129
|
-
}: OAuthTokenCreatedEmailProps):
|
|
129
|
+
}: OAuthTokenCreatedEmailProps): react_jsx_runtime20.JSX.Element;
|
|
130
130
|
PreviewProps: OAuthTokenCreatedEmailProps;
|
|
131
131
|
};
|
|
132
132
|
subject: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.types.d.ts","names":[],"sources":["../../../src/types/plan.types.ts"],"sourcesContent":[],"mappings":";;;;;KAIY,QAAA;KAEA,QAAA;EAFA,IAAA,EAGJ,QAHY;EAER,SAAA,CAAA,EAEE,IAFM,CAAA,IAAA,
|
|
1
|
+
{"version":3,"file":"plan.types.d.ts","names":[],"sources":["../../../src/types/plan.types.ts"],"sourcesContent":[],"mappings":";;;;;KAIY,QAAA;KAEA,QAAA;EAFA,IAAA,EAGJ,QAHY;EAER,SAAA,CAAA,EAEE,IAFM,CAAA,IAAA,CACZ;EAiBI,cAAI,CAAA,EAAA,MAAG;EAMP,UAAO,CAAA,EAAA,MAAA;EAEP,OAAA,CAAA,EAAA,MAAU;EACV,MAAA,CAAA,EAAA,QAAa,GAAA,UAAS,GAAA,UAAD,GAAA,QAAA,GAAA,YAAA,GAAA,oBAAA,GAAA,QAAA,GAAA,UAAA;EACrB,MAAA,CAAA,EAAA,SAAY,GAAA,QAAA;CAAyB;AAAtB,KAVf,IAAA,GAAO,QAUQ,GAAA;EAA8B,EAAA,EATnD,KAAA,CAAM,QAS6C;EAAI,SAAA,EAAA,MAAA;;;KAJjD,OAAA,GAAU,iBAAiB;KAE3B,UAAA,GAAa,SAAS;KACtB,aAAA,GAAgB,MAAM;KACtB,YAAA,GAAe,sBAAsB,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexMarkdownFiles.d.ts","names":[],"sources":["../../../../../src/utils/AI/askDocQuestion/indexMarkdownFiles.ts"],"sourcesContent":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"indexMarkdownFiles.d.ts","names":[],"sources":["../../../../../src/utils/AI/askDocQuestion/indexMarkdownFiles.ts"],"sourcesContent":[],"mappings":";;AAqIA;;;;cAAa,0BAA+B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tag } from "../../../types/tag.types.js";
|
|
2
|
-
import { AIConfig, AIOptions } from "
|
|
2
|
+
import { AIConfig, AIOptions, AuditFileResultData } from "@intlayer/ai";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/AI/auditDictionaryMetadata/index.d.ts
|
|
5
5
|
type AuditOptions = {
|
|
@@ -8,26 +8,13 @@ type AuditOptions = {
|
|
|
8
8
|
aiConfig: AIConfig;
|
|
9
9
|
applicationContext?: string;
|
|
10
10
|
};
|
|
11
|
-
type AuditFileResultData = {
|
|
12
|
-
fileContent: {
|
|
13
|
-
title: string;
|
|
14
|
-
description: string;
|
|
15
|
-
tags: string[];
|
|
16
|
-
};
|
|
17
|
-
tokenUsed: number;
|
|
18
|
-
};
|
|
19
11
|
declare const aiDefaultOptions: AIOptions;
|
|
20
12
|
/**
|
|
21
13
|
* Audits a content declaration file by constructing a prompt for AI models.
|
|
22
14
|
* The prompt includes details about the project's locales, file paths of content declarations,
|
|
23
15
|
* and requests for identifying issues or inconsistencies.
|
|
24
16
|
*/
|
|
25
|
-
declare const auditDictionaryMetadata: (
|
|
26
|
-
tags,
|
|
27
|
-
fileContent,
|
|
28
|
-
applicationContext,
|
|
29
|
-
aiConfig
|
|
30
|
-
}: AuditOptions) => Promise<AuditFileResultData | undefined>;
|
|
17
|
+
declare const auditDictionaryMetadata: (options: AuditOptions) => Promise<AuditFileResultData | undefined>;
|
|
31
18
|
//#endregion
|
|
32
|
-
export { AuditFileResultData, AuditOptions, aiDefaultOptions, auditDictionaryMetadata };
|
|
19
|
+
export { type AuditFileResultData, AuditOptions, aiDefaultOptions, auditDictionaryMetadata };
|
|
33
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/utils/AI/auditDictionaryMetadata/index.ts"],"sourcesContent":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/utils/AI/auditDictionaryMetadata/index.ts"],"sourcesContent":[],"mappings":";;;;KASY,YAAA;;EAAA,IAAA,EAEJ,GAFI,EAAA;EASC,QAAA,EAND,QAMC;EASA,kBAAA,CAAA,EAAA,MAUZ;CATU;AACR,cAXU,gBAWV,EAX4B,SAW5B;;;;;;cAFU,mCACF,iBACR,QAAQ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dictionary } from "../../../types/dictionary.types.js";
|
|
2
2
|
import { TagAPI } from "../../../types/tag.types.js";
|
|
3
|
-
import { AIConfig, AIOptions } from "
|
|
3
|
+
import { AIConfig, AIOptions } from "@intlayer/ai";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/AI/auditTag/index.d.ts
|
|
6
6
|
type AuditOptions = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/utils/AI/autocomplete/index.ts"],"sourcesContent":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/utils/AI/autocomplete/index.ts"],"sourcesContent":[],"mappings":";;;KASY,mBAAA;;EAAA,QAAA,EAEA,QAFA;EASA,kBAAA,CAAA,EAAA,MAAA;EAQC,aAAA,CAAA,EAAA,MAIZ;EAOY,WAAA,CAAA,EAAA,MAgCZ;EAhCkC,YAAA,CAAA,EAAA,MAAA;CAAA;AAAA,KAnBvB,0BAAA,GAmBuB;EAAA,cAAA,EAAA,MAAA;EAAA,SAAA,EAAA,MAAA;CAAA;AAOhC,cAlBU,gBAkBV,EAlB4B,SAkB5B;;;;;;cAPU;;;;;;;GAOV,wBAAsB,QAAQ"}
|
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
import { AIConfig, AIOptions, Messages } from "
|
|
1
|
+
import { AIConfig, AIOptions, CustomQueryResultData, Messages } from "@intlayer/ai";
|
|
2
2
|
|
|
3
3
|
//#region src/utils/AI/customQuery/index.d.ts
|
|
4
4
|
type CustomQueryOptions = {
|
|
5
5
|
messages: Messages;
|
|
6
6
|
aiConfig: AIConfig;
|
|
7
7
|
};
|
|
8
|
-
type CustomQueryResultData = {
|
|
9
|
-
fileContent: string;
|
|
10
|
-
tokenUsed: number;
|
|
11
|
-
};
|
|
12
8
|
declare const aiDefaultOptions: AIOptions;
|
|
13
9
|
/**
|
|
14
10
|
* CustomQuerys a content declaration file by constructing a prompt for AI models.
|
|
15
11
|
* The prompt includes details about the project's locales, file paths of content declarations,
|
|
16
12
|
* and requests for identifying issues or inconsistencies.
|
|
17
13
|
*/
|
|
18
|
-
declare const customQuery: (
|
|
19
|
-
messages,
|
|
20
|
-
aiConfig
|
|
21
|
-
}: CustomQueryOptions) => Promise<CustomQueryResultData | undefined>;
|
|
14
|
+
declare const customQuery: (options: CustomQueryOptions) => Promise<CustomQueryResultData | undefined>;
|
|
22
15
|
//#endregion
|
|
23
|
-
export { CustomQueryOptions, CustomQueryResultData, aiDefaultOptions, customQuery };
|
|
16
|
+
export { CustomQueryOptions, type CustomQueryResultData, aiDefaultOptions, customQuery };
|
|
24
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/utils/AI/customQuery/index.ts"],"sourcesContent":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/utils/AI/customQuery/index.ts"],"sourcesContent":[],"mappings":";;;KASY,kBAAA;YACA;EADA,QAAA,EAEA,QAFA;AAOZ,CAAA;AAWW,cAXE,gBAWF,EAXoB,SAWpB;;;;;;cADE,uBACF,uBACR,QAAQ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tag } from "../../../types/tag.types.js";
|
|
2
|
-
import { AIConfig, AIOptions } from "
|
|
2
|
+
import { AIConfig, AIOptions, AIProvider, TranslateJSONResultData } from "@intlayer/ai";
|
|
3
3
|
import { Locale } from "@intlayer/types";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/AI/translateJSON/index.d.ts
|
|
@@ -14,27 +14,13 @@ type TranslateJSONOptions = {
|
|
|
14
14
|
mode: 'complete' | 'review';
|
|
15
15
|
applicationContext?: string;
|
|
16
16
|
};
|
|
17
|
-
type TranslateJSONResultData = {
|
|
18
|
-
fileContent: string;
|
|
19
|
-
tokenUsed: number;
|
|
20
|
-
};
|
|
21
17
|
declare const aiDefaultOptions: AIOptions;
|
|
22
18
|
/**
|
|
23
19
|
* TranslateJSONs a content declaration file by constructing a prompt for AI models.
|
|
24
20
|
* The prompt includes details about the project's locales, file paths of content declarations,
|
|
25
21
|
* and requests for identifying issues or inconsistencies.
|
|
26
22
|
*/
|
|
27
|
-
declare const translateJSON: (
|
|
28
|
-
entryFileContent,
|
|
29
|
-
presetOutputContent,
|
|
30
|
-
dictionaryDescription,
|
|
31
|
-
aiConfig,
|
|
32
|
-
entryLocale,
|
|
33
|
-
outputLocale,
|
|
34
|
-
tags,
|
|
35
|
-
mode,
|
|
36
|
-
applicationContext
|
|
37
|
-
}: TranslateJSONOptions) => Promise<TranslateJSONResultData | undefined>;
|
|
23
|
+
declare const translateJSON: (options: TranslateJSONOptions) => Promise<TranslateJSONResultData | undefined>;
|
|
38
24
|
//#endregion
|
|
39
|
-
export { TranslateJSONOptions, TranslateJSONResultData, aiDefaultOptions, translateJSON };
|
|
25
|
+
export { AIProvider, TranslateJSONOptions, type TranslateJSONResultData, aiDefaultOptions, translateJSON };
|
|
40
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/utils/AI/translateJSON/index.ts"],"sourcesContent":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../../src/utils/AI/translateJSON/index.ts"],"sourcesContent":[],"mappings":";;;;;KAWY,oBAAA;oBACQ;EADR,mBAAA,EAEW,IAFS;EACZ,qBAAA,CAAA,EAAA,MAAA;EACG,WAAA,EAER,MAFQ;EAER,YAAA,EACC,MADD;EACC,IAAA,EACR,GADQ,EAAA;EACR,QAAA,EACI,QADJ;EACI,IAAA,EAAA,UAAA,GAAA,QAAA;EAAQ,kBAAA,CAAA,EAAA,MAAA;AAOpB,CAAA;AAWW,cAXE,gBAWF,EAXoB,SAWpB;;;;;;cADE,yBACF,yBACR,QAAQ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dictionary } from "../../types/dictionary.types.js";
|
|
2
2
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose103 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { Request } from "express";
|
|
7
7
|
|
|
@@ -41,7 +41,7 @@ declare const getDictionaryFiltersAndPagination: (req: Request<FiltersAndPaginat
|
|
|
41
41
|
skip: number;
|
|
42
42
|
pageSize: number;
|
|
43
43
|
getNumberOfPages: (totalItems: number) => number;
|
|
44
|
-
filters:
|
|
44
|
+
filters: mongoose103.FilterQuery<Dictionary>;
|
|
45
45
|
sortOptions: Record<string, 1 | -1>;
|
|
46
46
|
};
|
|
47
47
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
2
2
|
import { Discussion } from "../../types/discussion.types.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose106 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { Request } from "express";
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ declare const getDiscussionFiltersAndPagination: (req: Request<FiltersAndPaginat
|
|
|
30
30
|
skip: number;
|
|
31
31
|
pageSize: number;
|
|
32
32
|
getNumberOfPages: (totalItems: number) => number;
|
|
33
|
-
filters:
|
|
33
|
+
filters: mongoose106.Types.ObjectId | mongoose106.Query<any, any, {}, unknown, "find", Record<string, never>> | mongoose106.FilterQuery<Discussion>;
|
|
34
34
|
sortOptions: Record<string, 1 | -1>;
|
|
35
35
|
};
|
|
36
36
|
//#endregion
|