@intlayer/backend 8.7.8 → 8.7.10

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.
@@ -15,7 +15,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
15
15
  }, "id"> & {
16
16
  id: string;
17
17
  }, {
18
- title?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
18
+ createdAt?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
19
19
  id: string;
20
20
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
21
21
  _id: _$mongoose.Types.ObjectId;
@@ -26,7 +26,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
26
26
  }, "id"> & {
27
27
  id: string;
28
28
  }>;
29
- createdAt?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
29
+ updatedAt?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
30
30
  id: string;
31
31
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
32
32
  _id: _$mongoose.Types.ObjectId;
@@ -37,7 +37,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
37
37
  }, "id"> & {
38
38
  id: string;
39
39
  }>;
40
- updatedAt?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
40
+ description?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
41
41
  id: string;
42
42
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
43
43
  _id: _$mongoose.Types.ObjectId;
@@ -48,7 +48,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
48
48
  }, "id"> & {
49
49
  id: string;
50
50
  }>;
51
- description?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
51
+ tags?: _$mongoose.SchemaDefinitionProperty<string[], DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
52
52
  id: string;
53
53
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
54
54
  _id: _$mongoose.Types.ObjectId;
@@ -59,8 +59,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
59
59
  }, "id"> & {
60
60
  id: string;
61
61
  }>;
62
- creatorId?: User["id"];
63
- key?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
62
+ title?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
64
63
  id: string;
65
64
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
66
65
  _id: _$mongoose.Types.ObjectId;
@@ -71,7 +70,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
71
70
  }, "id"> & {
72
71
  id: string;
73
72
  }>;
74
- tags?: _$mongoose.SchemaDefinitionProperty<string[], DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
73
+ key?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
75
74
  id: string;
76
75
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
77
76
  _id: _$mongoose.Types.ObjectId;
@@ -82,6 +81,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
82
81
  }, "id"> & {
83
82
  id: string;
84
83
  }>;
84
+ creatorId?: User["id"];
85
85
  content?: _$mongoose.SchemaDefinitionProperty<VersionedContent, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
86
86
  id: string;
87
87
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
@@ -14,7 +14,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
14
14
  }, "id"> & {
15
15
  id: string;
16
16
  }, {
17
- title?: _$mongoose.SchemaDefinitionProperty<string, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
17
+ _id?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
18
18
  id: string;
19
19
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
20
20
  _id: _$mongoose.Types.ObjectId;
@@ -47,7 +47,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
47
47
  }, "id"> & {
48
48
  id: string;
49
49
  }>;
50
- _id?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
50
+ userId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
51
51
  id: string;
52
52
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
53
53
  _id: _$mongoose.Types.ObjectId;
@@ -58,7 +58,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
58
58
  }, "id"> & {
59
59
  id: string;
60
60
  }>;
61
- userId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
61
+ discussionId?: _$mongoose.SchemaDefinitionProperty<string, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
62
62
  id: string;
63
63
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
64
64
  _id: _$mongoose.Types.ObjectId;
@@ -69,7 +69,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
69
69
  }, "id"> & {
70
70
  id: string;
71
71
  }>;
72
- projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
72
+ isArchived?: _$mongoose.SchemaDefinitionProperty<boolean, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
73
73
  id: string;
74
74
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
75
75
  _id: _$mongoose.Types.ObjectId;
@@ -80,7 +80,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
80
80
  }, "id"> & {
81
81
  id: string;
82
82
  }>;
83
- organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
83
+ title?: _$mongoose.SchemaDefinitionProperty<string, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
84
84
  id: string;
85
85
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
86
86
  _id: _$mongoose.Types.ObjectId;
@@ -91,7 +91,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
91
91
  }, "id"> & {
92
92
  id: string;
93
93
  }>;
94
- discussionId?: _$mongoose.SchemaDefinitionProperty<string, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
94
+ messages?: _$mongoose.SchemaDefinitionProperty<Message[], DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
95
95
  id: string;
96
96
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
97
97
  _id: _$mongoose.Types.ObjectId;
@@ -102,7 +102,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
102
102
  }, "id"> & {
103
103
  id: string;
104
104
  }>;
105
- messages?: _$mongoose.SchemaDefinitionProperty<Message[], DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
105
+ projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
106
106
  id: string;
107
107
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
108
108
  _id: _$mongoose.Types.ObjectId;
@@ -113,7 +113,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
113
113
  }, "id"> & {
114
114
  id: string;
115
115
  }>;
116
- isArchived?: _$mongoose.SchemaDefinitionProperty<boolean, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
116
+ organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
117
117
  id: string;
118
118
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
119
119
  _id: _$mongoose.Types.ObjectId;
@@ -38,7 +38,7 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
38
38
  }, "id"> & {
39
39
  id: string;
40
40
  }>;
41
- name?: _$mongoose.SchemaDefinitionProperty<string, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
41
+ domain?: _$mongoose.SchemaDefinitionProperty<string, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
42
42
  id: string;
43
43
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
44
44
  _id: _$mongoose.Types.ObjectId;
@@ -49,9 +49,7 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
49
49
  }, "id"> & {
50
50
  id: string;
51
51
  }>;
52
- membersIds?: any;
53
- adminsIds?: any;
54
- ssoEnabled?: _$mongoose.SchemaDefinitionProperty<boolean, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
52
+ name?: _$mongoose.SchemaDefinitionProperty<string, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
55
53
  id: string;
56
54
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
57
55
  _id: _$mongoose.Types.ObjectId;
@@ -62,7 +60,10 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
62
60
  }, "id"> & {
63
61
  id: string;
64
62
  }>;
65
- domain?: _$mongoose.SchemaDefinitionProperty<string, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
63
+ creatorId?: User["id"];
64
+ membersIds?: any;
65
+ adminsIds?: any;
66
+ ssoEnabled?: _$mongoose.SchemaDefinitionProperty<boolean, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
66
67
  id: string;
67
68
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
68
69
  _id: _$mongoose.Types.ObjectId;
@@ -73,7 +74,6 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
73
74
  }, "id"> & {
74
75
  id: string;
75
76
  }>;
76
- creatorId?: User["id"];
77
77
  plan?: _$mongoose.SchemaDefinitionProperty<Plan, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
78
78
  id: string;
79
79
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
@@ -48,7 +48,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
48
48
  }, "id"> & {
49
49
  id: string;
50
50
  }>;
51
- customerId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
51
+ status?: _$mongoose.SchemaDefinitionProperty<"active" | "canceled" | "past_due" | "unpaid" | "incomplete" | "incomplete_expired" | "paused" | "trialing", PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
52
52
  id: string;
53
53
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
54
54
  _id: _$mongoose.Types.ObjectId;
@@ -71,7 +71,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
71
71
  }, "id"> & {
72
72
  id: string;
73
73
  }>;
74
- priceId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
74
+ customerId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
75
75
  id: string;
76
76
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
77
77
  _id: _$mongoose.Types.ObjectId;
@@ -82,7 +82,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
82
82
  }, "id"> & {
83
83
  id: string;
84
84
  }>;
85
- status?: _$mongoose.SchemaDefinitionProperty<"active" | "canceled" | "past_due" | "unpaid" | "incomplete" | "incomplete_expired" | "paused" | "trialing", PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
85
+ priceId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
86
86
  id: string;
87
87
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
88
88
  _id: _$mongoose.Types.ObjectId;
@@ -48,8 +48,6 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
48
48
  }, "id"> & {
49
49
  id: string;
50
50
  }>;
51
- membersIds?: any;
52
- adminsIds?: any;
53
51
  creatorId?: User["id"];
54
52
  organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
55
53
  id: string;
@@ -62,7 +60,9 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
62
60
  }, "id"> & {
63
61
  id: string;
64
62
  }>;
65
- imageUrl?: _$mongoose.SchemaDefinitionProperty<string, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
63
+ membersIds?: any;
64
+ adminsIds?: any;
65
+ configuration?: _$mongoose.SchemaDefinitionProperty<ProjectConfiguration, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
66
66
  id: string;
67
67
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
68
68
  _id: _$mongoose.Types.ObjectId;
@@ -73,7 +73,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
73
73
  }, "id"> & {
74
74
  id: string;
75
75
  }>;
76
- configuration?: _$mongoose.SchemaDefinitionProperty<ProjectConfiguration, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
76
+ repository?: _$mongoose.SchemaDefinitionProperty<RepositoryConnection, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
77
77
  id: string;
78
78
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
79
79
  _id: _$mongoose.Types.ObjectId;
@@ -84,7 +84,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
84
84
  }, "id"> & {
85
85
  id: string;
86
86
  }>;
87
- repository?: _$mongoose.SchemaDefinitionProperty<RepositoryConnection, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
87
+ webhooks?: _$mongoose.SchemaDefinitionProperty<ProjectConfigCI, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
88
88
  id: string;
89
89
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
90
90
  _id: _$mongoose.Types.ObjectId;
@@ -95,7 +95,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
95
95
  }, "id"> & {
96
96
  id: string;
97
97
  }>;
98
- webhooks?: _$mongoose.SchemaDefinitionProperty<ProjectConfigCI, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
98
+ autoFill?: _$mongoose.SchemaDefinitionProperty<boolean, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
99
99
  id: string;
100
100
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
101
101
  _id: _$mongoose.Types.ObjectId;
@@ -106,7 +106,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
106
106
  }, "id"> & {
107
107
  id: string;
108
108
  }>;
109
- autoFill?: _$mongoose.SchemaDefinitionProperty<boolean, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
109
+ imageUrl?: _$mongoose.SchemaDefinitionProperty<string, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
110
110
  id: string;
111
111
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
112
112
  _id: _$mongoose.Types.ObjectId;
@@ -15,7 +15,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
15
15
  }, "id"> & {
16
16
  id: string;
17
17
  }, {
18
- locale?: _$mongoose.SchemaDefinitionProperty<_$intlayer.Locale, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
18
+ createdAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
19
19
  id: string;
20
20
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
21
21
  _id: string & _$mongoose.Types.ObjectId;
@@ -26,7 +26,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
26
26
  }, "id"> & {
27
27
  id: string;
28
28
  }>;
29
- createdAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
29
+ updatedAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
30
30
  id: string;
31
31
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
32
32
  _id: string & _$mongoose.Types.ObjectId;
@@ -37,7 +37,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
37
37
  }, "id"> & {
38
38
  id: string;
39
39
  }>;
40
- updatedAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
40
+ userId?: _$mongoose.SchemaDefinitionProperty<string, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
41
41
  id: string;
42
42
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
43
43
  _id: string & _$mongoose.Types.ObjectId;
@@ -48,7 +48,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
48
48
  }, "id"> & {
49
49
  id: string;
50
50
  }>;
51
- userId?: _$mongoose.SchemaDefinitionProperty<string, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
51
+ expiresAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
52
52
  id: string;
53
53
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
54
54
  _id: string & _$mongoose.Types.ObjectId;
@@ -59,7 +59,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
59
59
  }, "id"> & {
60
60
  id: string;
61
61
  }>;
62
- expiresAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
62
+ token?: _$mongoose.SchemaDefinitionProperty<string, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
63
63
  id: string;
64
64
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
65
65
  _id: string & _$mongoose.Types.ObjectId;
@@ -70,7 +70,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
70
70
  }, "id"> & {
71
71
  id: string;
72
72
  }>;
73
- token?: _$mongoose.SchemaDefinitionProperty<string, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
73
+ ipAddress?: _$mongoose.SchemaDefinitionProperty<string, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
74
74
  id: string;
75
75
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
76
76
  _id: string & _$mongoose.Types.ObjectId;
@@ -81,7 +81,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
81
81
  }, "id"> & {
82
82
  id: string;
83
83
  }>;
84
- ipAddress?: _$mongoose.SchemaDefinitionProperty<string, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
84
+ userAgent?: _$mongoose.SchemaDefinitionProperty<string, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
85
85
  id: string;
86
86
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
87
87
  _id: string & _$mongoose.Types.ObjectId;
@@ -92,7 +92,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
92
92
  }, "id"> & {
93
93
  id: string;
94
94
  }>;
95
- userAgent?: _$mongoose.SchemaDefinitionProperty<string, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
95
+ activeOrganizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
96
96
  id: string;
97
97
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
98
98
  _id: string & _$mongoose.Types.ObjectId;
@@ -103,7 +103,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
103
103
  }, "id"> & {
104
104
  id: string;
105
105
  }>;
106
- activeOrganizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
106
+ activeProjectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
107
107
  id: string;
108
108
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
109
109
  _id: string & _$mongoose.Types.ObjectId;
@@ -114,7 +114,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
114
114
  }, "id"> & {
115
115
  id: string;
116
116
  }>;
117
- activeProjectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
117
+ locale?: _$mongoose.SchemaDefinitionProperty<_$intlayer.Locale, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
118
118
  id: string;
119
119
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
120
120
  _id: string & _$mongoose.Types.ObjectId;
@@ -12,7 +12,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
12
12
  }, "id"> & {
13
13
  id: string;
14
14
  }, {
15
- title?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
15
+ _id?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
16
16
  id: string;
17
17
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
18
18
  _id: _$mongoose.Types.ObjectId;
@@ -30,7 +30,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
30
30
  }, "id"> & {
31
31
  id: string;
32
32
  }>;
33
- _id?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
33
+ description?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
34
34
  id: string;
35
35
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
36
36
  _id: _$mongoose.Types.ObjectId;
@@ -39,7 +39,16 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
39
39
  }, "id"> & {
40
40
  id: string;
41
41
  }>;
42
- description?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
42
+ tags?: _$mongoose.SchemaDefinitionProperty<string[], ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
43
+ id: string;
44
+ }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
45
+ _id: _$mongoose.Types.ObjectId;
46
+ }> & {
47
+ __v: number;
48
+ }, "id"> & {
49
+ id: string;
50
+ }>;
51
+ title?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
43
52
  id: string;
44
53
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
45
54
  _id: _$mongoose.Types.ObjectId;
@@ -66,7 +75,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
66
75
  }, "id"> & {
67
76
  id: string;
68
77
  }>;
69
- logoUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
78
+ owner?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
70
79
  id: string;
71
80
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
72
81
  _id: _$mongoose.Types.ObjectId;
@@ -75,7 +84,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
75
84
  }, "id"> & {
76
85
  id: string;
77
86
  }>;
78
- websiteUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
87
+ logoUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
79
88
  id: string;
80
89
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
81
90
  _id: _$mongoose.Types.ObjectId;
@@ -84,7 +93,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
84
93
  }, "id"> & {
85
94
  id: string;
86
95
  }>;
87
- githubUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
96
+ websiteUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
88
97
  id: string;
89
98
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
90
99
  _id: _$mongoose.Types.ObjectId;
@@ -93,7 +102,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
93
102
  }, "id"> & {
94
103
  id: string;
95
104
  }>;
96
- tags?: _$mongoose.SchemaDefinitionProperty<string[], ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
105
+ githubUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
97
106
  id: string;
98
107
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
99
108
  _id: _$mongoose.Types.ObjectId;
@@ -174,15 +183,6 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
174
183
  }, "id"> & {
175
184
  id: string;
176
185
  }>;
177
- owner?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
178
- id: string;
179
- }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
180
- _id: _$mongoose.Types.ObjectId;
181
- }> & {
182
- __v: number;
183
- }, "id"> & {
184
- id: string;
185
- }>;
186
186
  }, ShowcaseProjectDocument>;
187
187
  //#endregion
188
188
  export { showcaseProjectSchema };
@@ -37,7 +37,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
37
37
  }, "id"> & {
38
38
  id: string;
39
39
  }>;
40
- name?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
40
+ description?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
41
41
  id: string;
42
42
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
43
43
  _id: _$mongoose.Types.ObjectId;
@@ -48,7 +48,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
48
48
  }, "id"> & {
49
49
  id: string;
50
50
  }>;
51
- description?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
51
+ name?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
52
52
  id: string;
53
53
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
54
54
  _id: _$mongoose.Types.ObjectId;
@@ -59,7 +59,6 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
59
59
  }, "id"> & {
60
60
  id: string;
61
61
  }>;
62
- creatorId?: User["id"];
63
62
  key?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
64
63
  id: string;
65
64
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
@@ -82,6 +81,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
82
81
  }, "id"> & {
83
82
  id: string;
84
83
  }>;
84
+ creatorId?: User["id"];
85
85
  projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
86
86
  id: string;
87
87
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/backend",
3
- "version": "8.7.8",
3
+ "version": "8.7.10",
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": [
@@ -71,7 +71,7 @@
71
71
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
72
72
  },
73
73
  "dependencies": {
74
- "@aws-sdk/client-s3": "^3.1035.0",
74
+ "@aws-sdk/client-s3": "^3.1038.0",
75
75
  "@better-auth/core": "1.6.9",
76
76
  "@better-auth/passkey": "1.6.9",
77
77
  "@better-auth/sso": "1.6.9",
@@ -81,9 +81,9 @@
81
81
  "@fastify/formbody": "8.0.2",
82
82
  "@fastify/helmet": "13.0.2",
83
83
  "@fastify/rate-limit": "10.3.0",
84
- "@intlayer/ai": "8.7.8",
85
- "@intlayer/chokidar": "8.7.8",
86
- "@intlayer/core": "8.7.8",
84
+ "@intlayer/ai": "8.7.10",
85
+ "@intlayer/chokidar": "8.7.10",
86
+ "@intlayer/core": "8.7.10",
87
87
  "@octokit/rest": "22.0.1",
88
88
  "@react-email/components": "1.0.12",
89
89
  "better-auth": "1.6.9",
@@ -93,15 +93,15 @@
93
93
  "defu": "6.1.7",
94
94
  "dotenv": "17.4.2",
95
95
  "fastify": "5.8.5",
96
- "fastify-intlayer": "8.7.8",
96
+ "fastify-intlayer": "8.7.10",
97
97
  "ioredis": "5.10.1",
98
98
  "mongodb": "7.2.0",
99
- "mongoose": "9.5.0",
99
+ "mongoose": "9.6.0",
100
100
  "oauth2-server": "3.1.1",
101
- "openai": "6.34.0",
101
+ "openai": "6.35.0",
102
102
  "puppeteer": "24.42.0",
103
103
  "react": "19.2.5",
104
- "react-email": "6.0.0",
104
+ "react-email": "6.0.5",
105
105
  "resend": "6.12.2",
106
106
  "stripe": "22.1.0",
107
107
  "validator": "13.15.35",
@@ -109,9 +109,9 @@
109
109
  "zod": "^4.3.6"
110
110
  },
111
111
  "devDependencies": {
112
- "@intlayer/config": "8.7.8",
113
- "@intlayer/docs": "8.7.8",
114
- "@intlayer/types": "8.7.8",
112
+ "@intlayer/config": "8.7.10",
113
+ "@intlayer/docs": "8.7.10",
114
+ "@intlayer/types": "8.7.10",
115
115
  "@types/node": "25.6.0",
116
116
  "@types/oauth2-server": "3.0.18",
117
117
  "@types/react": "19.2.14",
@@ -119,7 +119,7 @@
119
119
  "@utils/ts-config": "1.0.4",
120
120
  "@utils/ts-config-types": "1.0.4",
121
121
  "@utils/tsdown-config": "1.0.4",
122
- "intlayer": "8.7.8",
122
+ "intlayer": "8.7.10",
123
123
  "rimraf": "6.1.3",
124
124
  "tsdown": "0.21.10",
125
125
  "typescript": "6.0.3",