@intlayer/backend 7.0.8 → 7.0.9-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 +4 -4
- package/dist/assets/utils/AI/askDocQuestion/embeddings/frequent_questions/en/package_version_error.json +3080 -0
- package/dist/types/controllers/ai.controller.d.ts.map +1 -1
- package/dist/types/controllers/dictionary.controller.d.ts.map +1 -1
- package/dist/types/emails/InviteUserEmail.d.ts +4 -4
- 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/ResetUserPassword.d.ts.map +1 -1
- package/dist/types/emails/SubscriptionPaymentCancellation.d.ts +4 -4
- 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/emails/Welcome.d.ts.map +1 -1
- package/dist/types/models/dictionary.model.d.ts +4 -4
- package/dist/types/models/dictionary.model.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/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/session.schema.d.ts +6 -6
- package/dist/types/schemas/user.schema.d.ts +6 -6
- package/dist/types/services/email.service.d.ts +10 -10
- 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 +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
|
|
11
|
+
import * as react_jsx_runtime26 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):
|
|
26
|
+
}: InviteUserEmailProps): react_jsx_runtime26.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):
|
|
36
|
+
}: ValidateUserEmailProps): react_jsx_runtime26.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):
|
|
46
|
+
}: ResetPasswordEmailProps): react_jsx_runtime26.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):
|
|
56
|
+
}: WelcomeEmailProps): react_jsx_runtime26.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):
|
|
65
|
+
}: PasswordChangeConfirmationEmailProps): react_jsx_runtime26.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):
|
|
78
|
+
}: SubscriptionPaymentSuccessProps): react_jsx_runtime26.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):
|
|
91
|
+
}: SubscriptionPaymentCancellationProps): react_jsx_runtime26.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):
|
|
104
|
+
}: SubscriptionPaymentErrorProps): react_jsx_runtime26.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):
|
|
118
|
+
}: OAuthTokenCreatedEmailProps): react_jsx_runtime26.JSX.Element;
|
|
119
119
|
PreviewProps: OAuthTokenCreatedEmailProps;
|
|
120
120
|
};
|
|
121
121
|
subject: string;
|
|
@@ -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 mongoose107 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: mongoose107.Types.ObjectId | mongoose107.Query<any, any, {}, unknown, "find", Record<string, never>> | mongoose107.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
|
|
4
|
+
import * as mongoose80 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:
|
|
40
|
+
filters: mongoose80.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
|
|
4
|
+
import * as mongoose79 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:
|
|
33
|
+
filters: mongoose79.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
|
|
4
|
+
import * as mongoose78 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:
|
|
31
|
+
filters: mongoose78.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.
|
|
3
|
+
"version": "7.0.9-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": [
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"cross-env": "10.1.0",
|
|
85
85
|
"dotenv": "16.6.1",
|
|
86
86
|
"express": "5.1.0",
|
|
87
|
-
"express-intlayer": "7.0.
|
|
87
|
+
"express-intlayer": "7.0.9-canary.0",
|
|
88
88
|
"express-rate-limit": "8.1.0",
|
|
89
89
|
"helmet": "8.1.0",
|
|
90
90
|
"mongodb": "6.20.0",
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
"winston": "3.18.3"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@intlayer/config": "7.0.
|
|
103
|
-
"@intlayer/core": "7.0.
|
|
104
|
-
"@intlayer/docs": "7.0.
|
|
105
|
-
"@intlayer/types": "7.0.
|
|
102
|
+
"@intlayer/config": "7.0.9-canary.0",
|
|
103
|
+
"@intlayer/core": "7.0.9-canary.0",
|
|
104
|
+
"@intlayer/docs": "7.0.9-canary.0",
|
|
105
|
+
"@intlayer/types": "7.0.9-canary.0",
|
|
106
106
|
"@types/body-parser": "1.19.6",
|
|
107
107
|
"@types/compression": "1.8.1",
|
|
108
108
|
"@types/cookie-parser": "1.4.10",
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
"@types/oauth2-server": "3.0.18",
|
|
115
115
|
"@types/react": "19.2.2",
|
|
116
116
|
"@types/validator": "13.12.2",
|
|
117
|
-
"@utils/ts-config": "7.0.
|
|
118
|
-
"@utils/ts-config-types": "7.0.
|
|
119
|
-
"@utils/tsdown-config": "7.0.
|
|
120
|
-
"intlayer": "7.0.
|
|
117
|
+
"@utils/ts-config": "7.0.9-canary.0",
|
|
118
|
+
"@utils/ts-config-types": "7.0.9-canary.0",
|
|
119
|
+
"@utils/tsdown-config": "7.0.9-canary.0",
|
|
120
|
+
"intlayer": "7.0.9-canary.0",
|
|
121
121
|
"rimraf": "6.1.0",
|
|
122
122
|
"tsdown": "0.16.0",
|
|
123
123
|
"tsx": "^4.20.6",
|