@intlayer/backend 7.5.14 → 8.0.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/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/doc-translate.json +4098 -3072
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/cli/fill.json +4098 -3072
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/dictionary/enumeration.json +6148 -4096
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/dictionary/html.json +10262 -0
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/dictionary/insertion.json +4098 -3072
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/dictionary/markdown.json +4096 -6148
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/intlayer_with_vite+preact.json +1 -1
- package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/releases/v8.json +1 -0
- package/dist/esm/services/dictionary.service.mjs +5 -2
- package/dist/esm/services/dictionary.service.mjs.map +1 -1
- package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/cli/doc-translate.json +4098 -3072
- package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/cli/fill.json +4098 -3072
- package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/dictionary/enumeration.json +6148 -4096
- package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/dictionary/html.json +10262 -0
- package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/dictionary/insertion.json +4098 -3072
- package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/dictionary/markdown.json +4096 -6148
- package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/intlayer_with_vite+preact.json +1 -1
- package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/releases/v8.json +1 -0
- package/dist/esm/utils/filtersAndPagination/getDictionaryFiltersAndPagination.mjs +11 -3
- package/dist/esm/utils/filtersAndPagination/getDictionaryFiltersAndPagination.mjs.map +1 -1
- package/dist/esm/utils/mapper/dictionary.mjs +2 -2
- package/dist/esm/utils/mapper/dictionary.mjs.map +1 -1
- package/dist/types/controllers/ai.controller.d.ts.map +1 -1
- package/dist/types/controllers/projectAccessKey.controller.d.ts.map +1 -1
- package/dist/types/emails/InviteUserEmail.d.ts +4 -4
- package/dist/types/emails/InviteUserEmail.d.ts.map +1 -1
- 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/PasswordChangeConfirmation.d.ts.map +1 -1
- package/dist/types/emails/ResetUserPassword.d.ts +4 -4
- package/dist/types/emails/ResetUserPassword.d.ts.map +1 -1
- 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/SubscriptionPaymentSuccess.d.ts +4 -4
- package/dist/types/emails/SubscriptionPaymentSuccess.d.ts.map +1 -1
- package/dist/types/emails/ValidateUserEmail.d.ts +4 -4
- package/dist/types/emails/Welcome.d.ts +4 -4
- package/dist/types/emails/Welcome.d.ts.map +1 -1
- package/dist/types/models/dictionary.model.d.ts +4 -4
- package/dist/types/models/discussion.model.d.ts +3 -3
- package/dist/types/models/oAuth2.model.d.ts +3 -3
- 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/user.schema.d.ts +6 -6
- package/dist/types/schemas/user.schema.d.ts.map +1 -1
- package/dist/types/services/dictionary.service.d.ts +3 -1
- package/dist/types/services/dictionary.service.d.ts.map +1 -1
- package/dist/types/services/email.service.d.ts +11 -11
- package/dist/types/types/dictionary.types.d.ts +3 -2
- package/dist/types/types/dictionary.types.d.ts.map +1 -1
- package/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +4 -2
- package/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts.map +1 -1
- package/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +1 -1
- package/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +2 -2
- package/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +2 -2
- package/package.json +13 -13
|
@@ -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,
|
|
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,YAKK,KALL,CAKK,KALL,EAAA,GAAA,EAAA,GAAA,EAAA,GAAA,EAKK,SAAA,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,0BAAA;AAGd,CAAA,GAAa;EAAiB,GAAA,EAAA,MAAA;CAAA,EAAA,GAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,SAAA,CAAA,oBAAA,OAAA,oBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,sBAAA,MAAA,CAAA,EAAA,CAAA,CAAA,gCAAA,gCAAA,CAAA,uBAAA,MAAA,CAAA,GAAA;EAAA,GAAA,0BAAA;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 mongoose16 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, mongoose16.Model<OrganizationSchema, any, any, any, mongoose16.Document<unknown, any, OrganizationSchema, any, {}> & Omit<Organization, "id"> & {
|
|
7
|
+
_id: mongoose16.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose16.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose16.DefaultSchemaOptions, OrganizationSchema, mongoose16.Document<unknown, {}, mongoose16.FlatRecord<OrganizationSchema>, {}, mongoose16.ResolveSchemaOptions<mongoose16.DefaultSchemaOptions>> & mongoose16.FlatRecord<OrganizationSchema> & Required<{
|
|
13
|
+
_id: mongoose16.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 mongoose27 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, mongoose27.Model<PlanSchema, any, any, any, mongoose27.Document<unknown, any, PlanSchema, any, {}> & Omit<Plan, "id"> & {
|
|
7
|
+
_id: mongoose27.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose27.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose27.DefaultSchemaOptions, PlanSchema, mongoose27.Document<unknown, {}, mongoose27.FlatRecord<PlanSchema>, {}, mongoose27.ResolveSchemaOptions<mongoose27.DefaultSchemaOptions>> & mongoose27.FlatRecord<PlanSchema> & Required<{
|
|
13
|
+
_id: mongoose27.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 mongoose49 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, mongoose49.Model<ProjectSchema, any, any, any, mongoose49.Document<unknown, any, ProjectSchema, any, {}> & Omit<Project, "id"> & {
|
|
7
|
+
_id: mongoose49.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose49.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose49.DefaultSchemaOptions, ProjectSchema, mongoose49.Document<unknown, {}, mongoose49.FlatRecord<ProjectSchema>, {}, mongoose49.ResolveSchemaOptions<mongoose49.DefaultSchemaOptions>> & mongoose49.FlatRecord<ProjectSchema> & Required<{
|
|
13
|
+
_id: mongoose49.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":";;;;;cA0Ha,eAAa,OAAA,
|
|
1
|
+
{"version":3,"file":"project.schema.d.ts","names":[],"sources":["../../../src/schemas/project.schema.ts"],"sourcesContent":[],"mappings":";;;;;cA0Ha,eAAa,OAAA,0BAAA,MAAA,8BAAA,UAAA,CAAA,uBAAA,0BAAA,KAAA;;;EAAb,GAAA,2BA4DZ;CA5DyB,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 mongoose88 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, mongoose88.Model<SessionSchema, any, any, any, mongoose88.Document<unknown, any, SessionSchema, any, {}> & Omit<SessionData, "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, SessionSchema, mongoose88.Document<unknown, {}, mongoose88.FlatRecord<SessionSchema>, {}, mongoose88.ResolveSchemaOptions<mongoose88.DefaultSchemaOptions>> & mongoose88.FlatRecord<SessionSchema> & Required<{
|
|
13
|
+
_id: mongoose88.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 mongoose60 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, mongoose60.Model<TagSchema, any, any, any, mongoose60.Document<unknown, any, TagSchema, any, {}> & Omit<Tag, "id"> & {
|
|
7
|
+
_id: mongoose60.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose60.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose60.DefaultSchemaOptions, TagSchema, mongoose60.Document<unknown, {}, mongoose60.FlatRecord<TagSchema>, {}, mongoose60.ResolveSchemaOptions<mongoose60.DefaultSchemaOptions>> & mongoose60.FlatRecord<TagSchema> & Required<{
|
|
13
|
+
_id: mongoose60.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { User, UserSchema } from "../types/user.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as mongoose71 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, mongoose71.Model<UserSchema, any, any, any, mongoose71.Document<unknown, any, UserSchema, any, {}> & Omit<User, "id"> & {
|
|
7
|
+
_id: mongoose71.Types.ObjectId;
|
|
8
8
|
} & Required<{
|
|
9
|
-
_id:
|
|
9
|
+
_id: mongoose71.Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
11
|
__v: number;
|
|
12
|
-
}, any>, {}, {}, {}, {},
|
|
13
|
-
_id:
|
|
12
|
+
}, any>, {}, {}, {}, {}, mongoose71.DefaultSchemaOptions, UserSchema, mongoose71.Document<unknown, {}, mongoose71.FlatRecord<UserSchema>, {}, mongoose71.ResolveSchemaOptions<mongoose71.DefaultSchemaOptions>> & mongoose71.FlatRecord<UserSchema> & Required<{
|
|
13
|
+
_id: mongoose71.Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
15
|
__v: number;
|
|
16
16
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.schema.d.ts","names":[],"sources":["../../../src/schemas/user.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAQa,YAAU,OAAA,
|
|
1
|
+
{"version":3,"file":"user.schema.d.ts","names":[],"sources":["../../../src/schemas/user.schema.ts"],"sourcesContent":[],"mappings":";;;;;cAQa,YAAU,OAAA,uBAAA,MAAA,2BAAA,UAAA,CAAA,uBAAA,uBAAA,KAAA,IAAA;;;EAAV,GAAA,2BA+EZ;CA/EsB,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,YAAA,qBAAA,CAAA,OAAA,EAAA,CAAA,CAAA,uBAAA,WAAA,CAAA,EAAA,CAAA,CAAA,iCAAA,iCAAA,CAAA,wBAAA,WAAA,CAAA,WAAA,CAAA;EAAA,GAAA,2BAAA;CAAA,CAAA,GAAA;EAAA,GAAA,EAAA,MAAA"}
|
|
@@ -10,9 +10,11 @@ import { Types } from "mongoose";
|
|
|
10
10
|
* @param filters - MongoDB filter query.
|
|
11
11
|
* @param skip - Number of documents to skip.
|
|
12
12
|
* @param limit - Number of documents to limit.
|
|
13
|
+
* @param sortOptions - Sorting options.
|
|
14
|
+
* @param includeContent - Whether to include the dictionary content.
|
|
13
15
|
* @returns List of dictionaries matching the filters.
|
|
14
16
|
*/
|
|
15
|
-
declare const findDictionaries: (filters: DictionaryFilters, skip?: number, limit?: number, sortOptions?: Record<string, 1 | -1
|
|
17
|
+
declare const findDictionaries: (filters: DictionaryFilters, skip?: number, limit?: number, sortOptions?: Record<string, 1 | -1>, includeContent?: boolean) => Promise<DictionaryDocument[]>;
|
|
16
18
|
/**
|
|
17
19
|
* Finds a dictionary by its ID.
|
|
18
20
|
* @param dictionaryId - The ID of the dictionary to find.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.service.d.ts","names":[],"sources":["../../../src/services/dictionary.service.ts"],"sourcesContent":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"dictionary.service.d.ts","names":[],"sources":["../../../src/services/dictionary.service.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AA0BA;;;;;;AAgDA;AAC+B,cAjDlB,gBAiDkB,EAAA,CAAA,OAAA,EAhDpB,iBAgDoB,EAAA,IAAA,CAAA,EAAA,MAAA,EAAA,KAAA,CAAA,EAAA,MAAA,EAAA,WAAA,CAAA,EA7Cf,MA6Ce,CAAA,MAAA,EAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,cAAA,CAAA,EAAA,OAAA,EAAA,GA3C5B,OA2C4B,CA3CpB,kBA2CoB,EAAA,CAAA;;;;AAoC/B;;;;;AASA;;AAGW,cAjDE,iBAiDF,EAAA,CAAA,YAAA,EAAA,MAAA,GAhDc,KAAA,CAAM,QAgDpB,EAAA,GA/CR,OA+CQ,CA/CA,kBA+CA,CAAA;;;AAiCX;;;AAGG,cAhDU,kBAgDV,EAAA,CAAA,aAAA,EAAA,MAAA,EAAA,SAAA,EAAA,MAAA,GA9CmB,KAAA,CAAM,QA8CzB,EAAA,GA7CA,OA6CA,CA7CQ,kBA6CR,CAAA;AAAO,cAvCG,qBAuCH,EAAA,CAAA,cAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,MAAA,GArCY,KAAA,CAAM,QAqClB,EAAA,GApCP,OAoCO,CApCC,kBAoCD,EAAA,CAAA;AAoCG,cAvCA,qBAwCF,EAAA,CAAA,IAAA,EAAA,MACR,EAAA,EAAA,SAAO,EAAA,MAAA,GAvCY,OAuCZ,CAAA,IAAA,CAAA,EAAA,GAtCP,OAsCO,CAtCC,kBAsCD,EAAA,CAAA;AAeV;;;;;AAoBa,cArCA,iBAoEZ,EAAA,CAAA,OAAA,EAnEU,iBAmEV,EAAA,GAlEE,OAkEF,CAAA,MAAA,CAAA;;;;;;AA5BS,cAvBG,gBAuBH,EAAA,CAAA,UAAA,EAtBI,cAsBJ,EAAA,GArBP,OAqBO,CArBC,kBAqBD,CAAA;AAoCV;;;;;;AAIU,cA3CG,oBA2CH,EAAA,CAAA,YAAA,EAAA,MAAA,GA1Ce,KAAA,CAAM,QA0CrB,EAAA,UAAA,EAzCI,OAyCJ,CAzCY,UAyCZ,CAAA,EAAA,GAxCP,OAwCO,CAxCC,kBAwCD,CAAA;AA+BV;AAqBA;;;;;cAxDa,2DAEC,QAAQ,iCACA,KAAA,CAAM,aACzB,QAAQ;;;;;;cA+BE,gDAEV,QAAQ;cAmBE,+BAAgC"}
|
|
@@ -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;
|
|
@@ -12,7 +12,7 @@ type DictionaryCreationData = {
|
|
|
12
12
|
title?: string;
|
|
13
13
|
description?: string;
|
|
14
14
|
priority?: number;
|
|
15
|
-
|
|
15
|
+
importMode?: 'static' | 'dynamic' | 'live';
|
|
16
16
|
tags?: string[];
|
|
17
17
|
};
|
|
18
18
|
type VersionedContentEl = {
|
|
@@ -30,7 +30,7 @@ type DictionaryData = {
|
|
|
30
30
|
title?: string;
|
|
31
31
|
description?: string;
|
|
32
32
|
priority?: number;
|
|
33
|
-
|
|
33
|
+
importMode?: 'static' | 'dynamic' | 'live';
|
|
34
34
|
tags?: string[];
|
|
35
35
|
};
|
|
36
36
|
type Dictionary = DictionaryData & {
|
|
@@ -41,6 +41,7 @@ type Dictionary = DictionaryData & {
|
|
|
41
41
|
type DictionaryAPI = ObjectIdToString<Dictionary$1 & {
|
|
42
42
|
projectIds: (Project['id'] | string)[];
|
|
43
43
|
updatedAt: number;
|
|
44
|
+
createdAt: number;
|
|
44
45
|
}>;
|
|
45
46
|
type DictionarySchema = RenameId<Dictionary>;
|
|
46
47
|
type DictionaryModelType = Model<Dictionary>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.types.d.ts","names":[],"sources":["../../../src/types/dictionary.types.ts"],"sourcesContent":[],"mappings":";;;;;;;KASY,sBAAA;eACG;EADH,GAAA,EAAA,MAAA;EAWA,OAAA,CAAA,EARA,WAQkB;EAMlB,KAAA,CAAA,EAAA,MAAA;EACA,WAAA,CAAA,EAAA,MAAgB;EAEhB,QAAA,CAAA,EAAA,MAAc;EAEf,
|
|
1
|
+
{"version":3,"file":"dictionary.types.d.ts","names":[],"sources":["../../../src/types/dictionary.types.ts"],"sourcesContent":[],"mappings":";;;;;;;KASY,sBAAA;eACG;EADH,GAAA,EAAA,MAAA;EAWA,OAAA,CAAA,EARA,WAQkB;EAMlB,KAAA,CAAA,EAAA,MAAA;EACA,WAAA,CAAA,EAAA,MAAgB;EAEhB,QAAA,CAAA,EAAA,MAAc;EAEf,UAAA,CAAA,EAAA,QAAA,GAAA,SAAA,GAAA,MAAA;EACI,IAAA,CAAA,EAAA,MAAA,EAAA;CACF;AAAI,KAbL,kBAAA,GAaK;EAQL,IAAA,CAAA,EAAA,MAAU;EAMV,WAAA,CAAA,EAAA,MAAa;EACvB,OAAA,EAzBS,WAyBT;CACe;AAFW,KArBhB,cAAA,GAqBgB,MAAA;AAAgB,KApBhC,gBAAA,GAAmB,GAoBa,CAAA,MAAA,EApBD,kBAoBC,CAAA;AAQhC,KA1BA,cAAA,GA0BgB;EAChB,GAAA,EAAA,MAAA;EACA,OAAA,EA1BD,gBA0BmB;EAAyB,UAAA,EAAA,CAzBxC,OAyBwC,CAAA,IAAA,CAAA,GAAA,MAAA,CAAA,EAAA;EAAtB,SAAA,EAxBpB,IAwBoB,CAAA,IAAA,CAAA;EAAoC,KAAA,CAAA,EAAA,MAAA;EAAU,WAAA,CAAA,EAAA,MAAA;;;;;KAhBnE,UAAA,GAAa;MACnB,KAAA,CAAM;;;;KAKA,aAAA,GAAgB,iBAC1B;eACe;;;;KAML,gBAAA,GAAmB,SAAS;KAC5B,mBAAA,GAAsB,MAAM;KAC5B,kBAAA,GAAqB,sBAAsB,cAAc"}
|
|
@@ -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 mongoose110 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { FastifyRequest } from "fastify";
|
|
7
7
|
import { Request } from "express";
|
|
@@ -22,6 +22,8 @@ type DictionaryFiltersParams = {
|
|
|
22
22
|
key?: string;
|
|
23
23
|
keys?: string[];
|
|
24
24
|
tags?: string | string[];
|
|
25
|
+
location?: 'remote' | 'local' | 'both' | 'none';
|
|
26
|
+
priority?: string;
|
|
25
27
|
version?: string;
|
|
26
28
|
search?: string;
|
|
27
29
|
sortBy?: string;
|
|
@@ -45,7 +47,7 @@ declare const getDictionaryFiltersAndPagination: (req: Request<FiltersAndPaginat
|
|
|
45
47
|
skip: number;
|
|
46
48
|
pageSize: number;
|
|
47
49
|
getNumberOfPages: (totalItems: number) => number;
|
|
48
|
-
filters:
|
|
50
|
+
filters: mongoose110.FilterQuery<Dictionary>;
|
|
49
51
|
sortOptions: Record<string, 1 | -1>;
|
|
50
52
|
};
|
|
51
53
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDictionaryFiltersAndPagination.d.ts","names":[],"sources":["../../../../src/utils/filtersAndPagination/getDictionaryFiltersAndPagination.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAWY,uBAAA;;;EAAA,UAAA,CAAA,EAAA,MAAA,EAAA;
|
|
1
|
+
{"version":3,"file":"getDictionaryFiltersAndPagination.d.ts","names":[],"sources":["../../../../src/utils/filtersAndPagination/getDictionaryFiltersAndPagination.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAWY,uBAAA;;;EAAA,UAAA,CAAA,EAAA,MAAA,EAAA;EA0BA,cAAA,CAAA,EAAA,MAAiB;EAQhB,eAAA,CAAA,EAAA,MAAA,EAAA;EAEsB,MAAA,CAAA,EAAA,MAAA;EAArB,OAAA,CAAA,EAAA,MAAA,EAAA;EAAR,SAAA,CAAA,EAAA,MAAA;EAEoC,UAAA,CAAA,EAAA,MAAA,EAAA;EAArB,KAAA,CAAA,EAAA,MAAA;EADf,WAAA,CAAA,EAAA,MAAA;EAGE,GAAA,CAAA,EAAA,MAAA;;;;;;;;;;;;;;KAdI,iBAAA,GAAoB,gBAAgB;;;;;;;cAQnC,yCAEP,QAAQ,qBAAqB,4BAC7B;eACe,qBAAqB;UAElC"}
|
|
@@ -33,7 +33,7 @@ declare const getDiscussionFiltersAndPagination: (req: Request<FiltersAndPaginat
|
|
|
33
33
|
skip: number;
|
|
34
34
|
pageSize: number;
|
|
35
35
|
getNumberOfPages: (totalItems: number) => number;
|
|
36
|
-
filters: mongoose82.
|
|
36
|
+
filters: mongoose82.Query<any, any, {}, unknown, "find", Record<string, never>> | mongoose82.Types.ObjectId | mongoose82.FilterQuery<Discussion>;
|
|
37
37
|
sortOptions: Record<string, 1 | -1>;
|
|
38
38
|
};
|
|
39
39
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Project } from "../../types/project.types.js";
|
|
2
2
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose85 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { FastifyRequest } from "fastify";
|
|
7
7
|
import { Request } from "express";
|
|
@@ -34,7 +34,7 @@ declare const getProjectFiltersAndPagination: (req: Request<FiltersAndPagination
|
|
|
34
34
|
skip: number;
|
|
35
35
|
pageSize: number;
|
|
36
36
|
getNumberOfPages: (totalItems: number) => number;
|
|
37
|
-
filters:
|
|
37
|
+
filters: mongoose85.FilterQuery<Project>;
|
|
38
38
|
sortOptions: Record<string, 1 | -1>;
|
|
39
39
|
};
|
|
40
40
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tag } from "../../types/tag.types.js";
|
|
2
2
|
import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
|
|
3
3
|
import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as mongoose87 from "mongoose";
|
|
5
5
|
import { RootFilterQuery } from "mongoose";
|
|
6
6
|
import { FastifyRequest } from "fastify";
|
|
7
7
|
import { Request } from "express";
|
|
@@ -32,7 +32,7 @@ declare const getTagFiltersAndPagination: (req: Request<FiltersAndPagination<Tag
|
|
|
32
32
|
skip: number;
|
|
33
33
|
pageSize: number;
|
|
34
34
|
getNumberOfPages: (totalItems: number) => number;
|
|
35
|
-
filters:
|
|
35
|
+
filters: mongoose87.FilterQuery<Tag>;
|
|
36
36
|
sortOptions: Record<string, 1 | -1>;
|
|
37
37
|
};
|
|
38
38
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/backend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-canary.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Intlayer Backend is a an application that allow you to manage your Intlayer content and interact with the intlayer editor.",
|
|
6
6
|
"keywords": [
|
|
@@ -72,23 +72,23 @@
|
|
|
72
72
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@better-auth/core": "1.4.
|
|
76
|
-
"@better-auth/passkey": "1.4.
|
|
77
|
-
"@better-auth/sso": "1.4.
|
|
75
|
+
"@better-auth/core": "1.4.15",
|
|
76
|
+
"@better-auth/passkey": "1.4.15",
|
|
77
|
+
"@better-auth/sso": "1.4.15",
|
|
78
78
|
"@fastify/compress": "^8.0.0",
|
|
79
79
|
"@fastify/cookie": "^11.0.2",
|
|
80
80
|
"@fastify/cors": "^11.2.0",
|
|
81
81
|
"@fastify/formbody": "^8.0.0",
|
|
82
82
|
"@fastify/helmet": "^13.0.2",
|
|
83
83
|
"@fastify/rate-limit": "^10.1.1",
|
|
84
|
-
"@intlayer/ai": "
|
|
84
|
+
"@intlayer/ai": "8.0.0-canary.0",
|
|
85
85
|
"@octokit/rest": "^22.0.1",
|
|
86
86
|
"@react-email/components": "1.0.4",
|
|
87
|
-
"better-auth": "1.4.
|
|
87
|
+
"better-auth": "1.4.15",
|
|
88
88
|
"cross-env": "10.1.0",
|
|
89
89
|
"dotenv": "16.6.1",
|
|
90
90
|
"fastify": "5.6.2",
|
|
91
|
-
"fastify-intlayer": "
|
|
91
|
+
"fastify-intlayer": "8.0.0-canary.0",
|
|
92
92
|
"mongodb": "6.21.0",
|
|
93
93
|
"mongoose": "8.21.0",
|
|
94
94
|
"oauth2-server": "3.1.1",
|
|
@@ -101,19 +101,19 @@
|
|
|
101
101
|
"winston": "3.19.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@intlayer/config": "
|
|
105
|
-
"@intlayer/core": "
|
|
106
|
-
"@intlayer/docs": "
|
|
107
|
-
"@intlayer/types": "
|
|
104
|
+
"@intlayer/config": "8.0.0-canary.0",
|
|
105
|
+
"@intlayer/core": "8.0.0-canary.0",
|
|
106
|
+
"@intlayer/docs": "8.0.0-canary.0",
|
|
107
|
+
"@intlayer/types": "8.0.0-canary.0",
|
|
108
108
|
"@types/crypto-js": "4.2.2",
|
|
109
|
-
"@types/node": "25.0.
|
|
109
|
+
"@types/node": "25.0.9",
|
|
110
110
|
"@types/oauth2-server": "3.0.18",
|
|
111
111
|
"@types/react": "19.2.8",
|
|
112
112
|
"@types/validator": "13.15.10",
|
|
113
113
|
"@utils/ts-config": "1.0.4",
|
|
114
114
|
"@utils/ts-config-types": "1.0.4",
|
|
115
115
|
"@utils/tsdown-config": "1.0.4",
|
|
116
|
-
"intlayer": "
|
|
116
|
+
"intlayer": "8.0.0-canary.0",
|
|
117
117
|
"rimraf": "6.1.2",
|
|
118
118
|
"tsdown": "0.19.0",
|
|
119
119
|
"typescript": "5.9.3",
|