@intlayer/backend 7.0.9-canary.2 → 7.0.9-canary.3

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 (40) hide show
  1. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/packages/intlayer/getLocalizedUrl.json +6146 -5120
  2. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/packages/intlayer/getMultilingualUrls.json +5124 -3072
  3. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/packages/intlayer/getPrefix.json +4106 -0
  4. package/dist/types/controllers/stripe.controller.d.ts.map +1 -1
  5. package/dist/types/controllers/tag.controller.d.ts.map +1 -1
  6. package/dist/types/emails/InviteUserEmail.d.ts +4 -4
  7. package/dist/types/emails/InviteUserEmail.d.ts.map +1 -1
  8. package/dist/types/emails/MagicLinkEmail.d.ts +4 -4
  9. package/dist/types/emails/PasswordChangeConfirmation.d.ts +4 -4
  10. package/dist/types/emails/PasswordChangeConfirmation.d.ts.map +1 -1
  11. package/dist/types/emails/ResetUserPassword.d.ts +4 -4
  12. package/dist/types/emails/SubscriptionPaymentCancellation.d.ts +4 -4
  13. package/dist/types/emails/SubscriptionPaymentError.d.ts +4 -4
  14. package/dist/types/emails/SubscriptionPaymentSuccess.d.ts +4 -4
  15. package/dist/types/emails/ValidateUserEmail.d.ts +4 -4
  16. package/dist/types/emails/Welcome.d.ts +4 -4
  17. package/dist/types/models/discussion.model.d.ts +2 -2
  18. package/dist/types/models/discussion.model.d.ts.map +1 -1
  19. package/dist/types/models/oAuth2.model.d.ts +3 -3
  20. package/dist/types/models/oAuth2.model.d.ts.map +1 -1
  21. package/dist/types/routes/ai.routes.d.ts.map +1 -1
  22. package/dist/types/routes/newsletter.routes.d.ts.map +1 -1
  23. package/dist/types/schemas/dictionary.schema.d.ts +6 -6
  24. package/dist/types/schemas/discussion.schema.d.ts +6 -6
  25. package/dist/types/schemas/oAuth2.schema.d.ts +5 -5
  26. package/dist/types/schemas/oAuth2.schema.d.ts.map +1 -1
  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/project.schema.d.ts.map +1 -1
  31. package/dist/types/schemas/session.schema.d.ts +6 -6
  32. package/dist/types/schemas/tag.schema.d.ts +6 -6
  33. package/dist/types/schemas/user.schema.d.ts +6 -6
  34. package/dist/types/services/email.service.d.ts +11 -11
  35. package/dist/types/utils/filtersAndPagination/getDictionaryFiltersAndPagination.d.ts +2 -2
  36. package/dist/types/utils/filtersAndPagination/getDiscussionFiltersAndPagination.d.ts +2 -2
  37. package/dist/types/utils/filtersAndPagination/getOrganizationFiltersAndPagination.d.ts +2 -2
  38. package/dist/types/utils/filtersAndPagination/getProjectFiltersAndPagination.d.ts +2 -2
  39. package/dist/types/utils/filtersAndPagination/getTagFiltersAndPagination.d.ts +2 -2
  40. package/package.json +4 -4
@@ -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 react_jsx_runtime29 from "react/jsx-runtime";
12
+ import * as react_jsx_runtime23 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): react_jsx_runtime29.JSX.Element;
27
+ }: InviteUserEmailProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
37
+ }: ValidateUserEmailProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
47
+ }: ResetPasswordEmailProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
57
+ }: WelcomeEmailProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
67
+ }: MagicLinkEmailProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
76
+ }: PasswordChangeConfirmationEmailProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
89
+ }: SubscriptionPaymentSuccessProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
102
+ }: SubscriptionPaymentCancellationProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
115
+ }: SubscriptionPaymentErrorProps): react_jsx_runtime23.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): react_jsx_runtime29.JSX.Element;
129
+ }: OAuthTokenCreatedEmailProps): react_jsx_runtime23.JSX.Element;
130
130
  PreviewProps: OAuthTokenCreatedEmailProps;
131
131
  };
132
132
  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 mongoose51 from "mongoose";
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: mongoose51.FilterQuery<Dictionary>;
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 mongoose52 from "mongoose";
4
+ import * as mongoose100 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: mongoose52.Types.ObjectId | mongoose52.Query<any, any, {}, unknown, "find", Record<string, never>> | mongoose52.FilterQuery<Discussion>;
33
+ filters: mongoose100.Types.ObjectId | mongoose100.Query<any, any, {}, unknown, "find", Record<string, never>> | mongoose100.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 mongoose50 from "mongoose";
4
+ import * as mongoose105 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: mongoose50.FilterQuery<Organization>;
40
+ filters: mongoose105.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 mongoose49 from "mongoose";
4
+ import * as mongoose104 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: mongoose49.FilterQuery<Project>;
33
+ filters: mongoose104.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 mongoose55 from "mongoose";
4
+ import * as mongoose106 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: mongoose55.FilterQuery<Tag>;
31
+ filters: mongoose106.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.9-canary.2",
3
+ "version": "7.0.9-canary.3",
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": [
@@ -64,9 +64,9 @@
64
64
  "lint": "biome lint .",
65
65
  "lint:fix": "biome lint --write .",
66
66
  "prepublish": "cp -f ../../README.md ./README.md",
67
- "publish": "bun publish --access public || true",
68
- "publish:canary": "bun publish --tag canary --access public || true",
69
- "publish:latest": "bun publish --tag latest --access public || true",
67
+ "publish": "bun publish || true",
68
+ "publish:canary": "bun publish --tag canary || true",
69
+ "publish:latest": "bun publish --tag latest || true",
70
70
  "start": "cross-env NODE_ENV=production node dist/esm/index.mjs",
71
71
  "start:stripe": "stripe listen --forward-to localhost:3100/webhook/stripe",
72
72
  "test": "vitest run",