@intlayer/backend 7.0.2-canary.0 → 7.0.2

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.
Files changed (39) hide show
  1. package/dist/assets/utils/AI/askDocQuestion/embeddings.json +27650 -24576
  2. package/dist/types/controllers/ai.controller.d.ts.map +1 -1
  3. package/dist/types/controllers/projectAccessKey.controller.d.ts.map +1 -1
  4. package/dist/types/controllers/tag.controller.d.ts.map +1 -1
  5. package/dist/types/emails/InviteUserEmail.d.ts +4 -4
  6. package/dist/types/emails/OAuthTokenCreatedEmail.d.ts +4 -4
  7. package/dist/types/emails/OAuthTokenCreatedEmail.d.ts.map +1 -1
  8. package/dist/types/emails/PasswordChangeConfirmation.d.ts +4 -4
  9. package/dist/types/emails/PasswordChangeConfirmation.d.ts.map +1 -1
  10. package/dist/types/emails/SubscriptionPaymentCancellation.d.ts +4 -4
  11. package/dist/types/emails/SubscriptionPaymentError.d.ts +4 -4
  12. package/dist/types/emails/SubscriptionPaymentError.d.ts.map +1 -1
  13. package/dist/types/emails/ValidateUserEmail.d.ts +4 -4
  14. package/dist/types/emails/Welcome.d.ts +4 -4
  15. package/dist/types/emails/Welcome.d.ts.map +1 -1
  16. package/dist/types/models/dictionary.model.d.ts +4 -4
  17. package/dist/types/models/dictionary.model.d.ts.map +1 -1
  18. package/dist/types/models/discussion.model.d.ts +2 -2
  19. package/dist/types/models/discussion.model.d.ts.map +1 -1
  20. package/dist/types/models/oAuth2.model.d.ts +3 -3
  21. package/dist/types/models/oAuth2.model.d.ts.map +1 -1
  22. package/dist/types/schemas/dictionary.schema.d.ts +6 -6
  23. package/dist/types/schemas/dictionary.schema.d.ts.map +1 -1
  24. package/dist/types/schemas/discussion.schema.d.ts +6 -6
  25. package/dist/types/schemas/discussion.schema.d.ts.map +1 -1
  26. package/dist/types/schemas/oAuth2.schema.d.ts +5 -5
  27. package/dist/types/schemas/organization.schema.d.ts +6 -6
  28. package/dist/types/schemas/plans.schema.d.ts +6 -6
  29. package/dist/types/schemas/project.schema.d.ts +6 -6
  30. package/dist/types/schemas/session.schema.d.ts +6 -6
  31. package/dist/types/schemas/tag.schema.d.ts +6 -6
  32. package/dist/types/schemas/user.schema.d.ts +6 -6
  33. package/dist/types/services/email.service.d.ts +10 -10
  34. package/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +2 -2
  35. package/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +2 -2
  36. package/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts +2 -2
  37. package/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +2 -2
  38. package/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +2 -2
  39. package/package.json +10 -10
@@ -8,7 +8,7 @@ import { SubscriptionPaymentSuccessProps } from "../emails/SubscriptionPaymentSu
8
8
  import { ValidateUserEmailProps } from "../emails/ValidateUserEmail.js";
9
9
  import { WelcomeEmailProps } from "../emails/Welcome.js";
10
10
  import { Locale } from "@intlayer/types";
11
- import * as react_jsx_runtime26 from "react/jsx-runtime";
11
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
12
12
  import { ComponentProps } from "react";
13
13
 
14
14
  //#region src/services/email.service.d.ts
@@ -23,7 +23,7 @@ declare const getEmailComponents: (locale?: Locale) => {
23
23
  inviteLink,
24
24
  inviteFromIp,
25
25
  inviteFromLocation
26
- }: InviteUserEmailProps): react_jsx_runtime26.JSX.Element;
26
+ }: InviteUserEmailProps): react_jsx_runtime23.JSX.Element;
27
27
  PreviewProps: InviteUserEmailProps;
28
28
  };
29
29
  subject: string;
@@ -33,7 +33,7 @@ declare const getEmailComponents: (locale?: Locale) => {
33
33
  ({
34
34
  username,
35
35
  validationLink
36
- }: ValidateUserEmailProps): react_jsx_runtime26.JSX.Element;
36
+ }: ValidateUserEmailProps): react_jsx_runtime23.JSX.Element;
37
37
  PreviewProps: ValidateUserEmailProps;
38
38
  };
39
39
  subject: string;
@@ -43,7 +43,7 @@ declare const getEmailComponents: (locale?: Locale) => {
43
43
  ({
44
44
  username,
45
45
  resetLink
46
- }: ResetPasswordEmailProps): react_jsx_runtime26.JSX.Element;
46
+ }: ResetPasswordEmailProps): react_jsx_runtime23.JSX.Element;
47
47
  PreviewProps: ResetPasswordEmailProps;
48
48
  };
49
49
  subject: string;
@@ -53,7 +53,7 @@ declare const getEmailComponents: (locale?: Locale) => {
53
53
  ({
54
54
  username,
55
55
  loginLink
56
- }: WelcomeEmailProps): react_jsx_runtime26.JSX.Element;
56
+ }: WelcomeEmailProps): react_jsx_runtime23.JSX.Element;
57
57
  PreviewProps: WelcomeEmailProps;
58
58
  };
59
59
  subject: string;
@@ -62,7 +62,7 @@ declare const getEmailComponents: (locale?: Locale) => {
62
62
  template: {
63
63
  ({
64
64
  username
65
- }: PasswordChangeConfirmationEmailProps): react_jsx_runtime26.JSX.Element;
65
+ }: PasswordChangeConfirmationEmailProps): react_jsx_runtime23.JSX.Element;
66
66
  PreviewProps: PasswordChangeConfirmationEmailProps;
67
67
  };
68
68
  subject: string;
@@ -75,7 +75,7 @@ declare const getEmailComponents: (locale?: Locale) => {
75
75
  organizationName,
76
76
  subscriptionStartDate,
77
77
  manageSubscriptionLink
78
- }: SubscriptionPaymentSuccessProps): react_jsx_runtime26.JSX.Element;
78
+ }: SubscriptionPaymentSuccessProps): react_jsx_runtime23.JSX.Element;
79
79
  PreviewProps: SubscriptionPaymentSuccessProps;
80
80
  };
81
81
  subject: string;
@@ -88,7 +88,7 @@ declare const getEmailComponents: (locale?: Locale) => {
88
88
  organizationName,
89
89
  cancellationDate,
90
90
  reactivateLink
91
- }: SubscriptionPaymentCancellationProps): react_jsx_runtime26.JSX.Element;
91
+ }: SubscriptionPaymentCancellationProps): react_jsx_runtime23.JSX.Element;
92
92
  PreviewProps: SubscriptionPaymentCancellationProps;
93
93
  };
94
94
  subject: string;
@@ -101,7 +101,7 @@ declare const getEmailComponents: (locale?: Locale) => {
101
101
  organizationName,
102
102
  errorDate,
103
103
  retryPaymentLink
104
- }: SubscriptionPaymentErrorProps): react_jsx_runtime26.JSX.Element;
104
+ }: SubscriptionPaymentErrorProps): react_jsx_runtime23.JSX.Element;
105
105
  PreviewProps: SubscriptionPaymentErrorProps;
106
106
  };
107
107
  subject: string;
@@ -115,7 +115,7 @@ declare const getEmailComponents: (locale?: Locale) => {
115
115
  tokenDetailsUrl,
116
116
  securityLogUrl,
117
117
  supportUrl
118
- }: OAuthTokenCreatedEmailProps): react_jsx_runtime26.JSX.Element;
118
+ }: OAuthTokenCreatedEmailProps): react_jsx_runtime23.JSX.Element;
119
119
  PreviewProps: OAuthTokenCreatedEmailProps;
120
120
  };
121
121
  subject: string;
@@ -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 mongoose109 from "mongoose";
4
+ import * as mongoose92 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: mongoose109.FilterQuery<Dictionary>;
44
+ filters: mongoose92.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 mongoose106 from "mongoose";
4
+ import * as mongoose93 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: mongoose106.Types.ObjectId | mongoose106.Query<any, any, {}, unknown, "find", Record<string, never>> | mongoose106.FilterQuery<Discussion>;
33
+ filters: mongoose93.Types.ObjectId | mongoose93.Query<any, any, {}, unknown, "find", Record<string, never>> | mongoose93.FilterQuery<Discussion>;
34
34
  sortOptions: Record<string, 1 | -1>;
35
35
  };
36
36
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { Organization } from "../../types/organization.types.js";
2
2
  import { ResponseWithSession } from "../../middlewares/sessionAuth.middleware.js";
3
3
  import { FiltersAndPagination } from "./getFiltersAndPaginationFromBody.js";
4
- import * as mongoose105 from "mongoose";
4
+ import * as mongoose96 from "mongoose";
5
5
  import { RootFilterQuery } from "mongoose";
6
6
  import { Request } from "express";
7
7
 
@@ -37,7 +37,7 @@ declare const getOrganizationFiltersAndPagination: (req: Request<FiltersAndPagin
37
37
  skip: number;
38
38
  pageSize: number;
39
39
  getNumberOfPages: (totalItems: number) => number;
40
- filters: mongoose105.FilterQuery<Organization>;
40
+ filters: mongoose96.FilterQuery<Organization>;
41
41
  sortOptions: Record<string, 1 | -1>;
42
42
  };
43
43
  //#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 mongoose104 from "mongoose";
4
+ import * as mongoose97 from "mongoose";
5
5
  import { RootFilterQuery } from "mongoose";
6
6
  import { Request } from "express";
7
7
 
@@ -30,7 +30,7 @@ declare const getProjectFiltersAndPagination: (req: Request<FiltersAndPagination
30
30
  skip: number;
31
31
  pageSize: number;
32
32
  getNumberOfPages: (totalItems: number) => number;
33
- filters: mongoose104.FilterQuery<Project>;
33
+ filters: mongoose97.FilterQuery<Project>;
34
34
  sortOptions: Record<string, 1 | -1>;
35
35
  };
36
36
  //#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 mongoose103 from "mongoose";
4
+ import * as mongoose98 from "mongoose";
5
5
  import { RootFilterQuery } from "mongoose";
6
6
  import { Request } from "express";
7
7
 
@@ -28,7 +28,7 @@ declare const getTagFiltersAndPagination: (req: Request<FiltersAndPagination<Tag
28
28
  skip: number;
29
29
  pageSize: number;
30
30
  getNumberOfPages: (totalItems: number) => number;
31
- filters: mongoose103.FilterQuery<Tag>;
31
+ filters: mongoose98.FilterQuery<Tag>;
32
32
  sortOptions: Record<string, 1 | -1>;
33
33
  };
34
34
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/backend",
3
- "version": "7.0.2-canary.0",
3
+ "version": "7.0.2",
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": [
@@ -82,7 +82,7 @@
82
82
  "cross-env": "10.1.0",
83
83
  "dotenv": "16.6.1",
84
84
  "express": "5.1.0",
85
- "express-intlayer": "7.0.2-canary.0",
85
+ "express-intlayer": "7.0.2",
86
86
  "express-rate-limit": "8.1.0",
87
87
  "helmet": "8.1.0",
88
88
  "mongodb": "6.20.0",
@@ -97,10 +97,10 @@
97
97
  "winston": "3.18.3"
98
98
  },
99
99
  "devDependencies": {
100
- "@intlayer/config": "7.0.2-canary.0",
101
- "@intlayer/core": "7.0.2-canary.0",
102
- "@intlayer/docs": "7.0.2-canary.0",
103
- "@intlayer/types": "7.0.2-canary.0",
100
+ "@intlayer/config": "7.0.2",
101
+ "@intlayer/core": "7.0.2",
102
+ "@intlayer/docs": "7.0.2",
103
+ "@intlayer/types": "7.0.2",
104
104
  "@types/body-parser": "1.19.6",
105
105
  "@types/compression": "1.8.1",
106
106
  "@types/cookie-parser": "1.4.9",
@@ -112,11 +112,11 @@
112
112
  "@types/oauth2-server": "3.0.18",
113
113
  "@types/react": "19.2.2",
114
114
  "@types/validator": "13.12.2",
115
- "@utils/ts-config": "7.0.2-canary.0",
116
- "@utils/ts-config-types": "7.0.2-canary.0",
117
- "@utils/tsdown-config": "7.0.2-canary.0",
115
+ "@utils/ts-config": "7.0.2",
116
+ "@utils/ts-config-types": "7.0.2",
117
+ "@utils/tsdown-config": "7.0.2",
118
118
  "esbuild-fix-imports-plugin": "1.0.22",
119
- "intlayer": "7.0.2-canary.0",
119
+ "intlayer": "7.0.2",
120
120
  "rimraf": "6.0.1",
121
121
  "tsdown": "0.15.9",
122
122
  "typescript": "5.9.3",