@intlayer/backend 8.7.8-canary.0 → 8.7.8

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
- createdAt?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
18
+ title?: _$mongoose.SchemaDefinitionProperty<string, 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
- updatedAt?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
29
+ createdAt?: _$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,8 +37,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
37
37
  }, "id"> & {
38
38
  id: string;
39
39
  }>;
40
- creatorId?: User["id"];
41
- key?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
40
+ updatedAt?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
42
41
  id: string;
43
42
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
44
43
  _id: _$mongoose.Types.ObjectId;
@@ -60,7 +59,8 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
60
59
  }, "id"> & {
61
60
  id: string;
62
61
  }>;
63
- projectIds?: _$mongoose.SchemaDefinitionProperty<(string | _$mongoose.Types.ObjectId)[], DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
62
+ creatorId?: User["id"];
63
+ key?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
64
64
  id: string;
65
65
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
66
66
  _id: _$mongoose.Types.ObjectId;
@@ -71,7 +71,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
71
71
  }, "id"> & {
72
72
  id: string;
73
73
  }>;
74
- title?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
74
+ tags?: _$mongoose.SchemaDefinitionProperty<string[], DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
75
75
  id: string;
76
76
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
77
77
  _id: _$mongoose.Types.ObjectId;
@@ -82,7 +82,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
82
82
  }, "id"> & {
83
83
  id: string;
84
84
  }>;
85
- tags?: _$mongoose.SchemaDefinitionProperty<string[], DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
85
+ content?: _$mongoose.SchemaDefinitionProperty<VersionedContent, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
86
86
  id: string;
87
87
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
88
88
  _id: _$mongoose.Types.ObjectId;
@@ -93,7 +93,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
93
93
  }, "id"> & {
94
94
  id: string;
95
95
  }>;
96
- priority?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
96
+ projectIds?: _$mongoose.SchemaDefinitionProperty<(string | _$mongoose.Types.ObjectId)[], DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
97
97
  id: string;
98
98
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
99
99
  _id: _$mongoose.Types.ObjectId;
@@ -104,7 +104,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
104
104
  }, "id"> & {
105
105
  id: string;
106
106
  }>;
107
- importMode?: _$mongoose.SchemaDefinitionProperty<"static" | "dynamic" | "fetch", DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
107
+ priority?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
108
108
  id: string;
109
109
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
110
110
  _id: _$mongoose.Types.ObjectId;
@@ -115,7 +115,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
115
115
  }, "id"> & {
116
116
  id: string;
117
117
  }>;
118
- content?: _$mongoose.SchemaDefinitionProperty<VersionedContent, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
118
+ importMode?: _$mongoose.SchemaDefinitionProperty<"dynamic" | "static" | "fetch", DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
119
119
  id: string;
120
120
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
121
121
  _id: _$mongoose.Types.ObjectId;
@@ -14,7 +14,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
14
14
  }, "id"> & {
15
15
  id: string;
16
16
  }, {
17
- createdAt?: _$mongoose.SchemaDefinitionProperty<Date, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
17
+ title?: _$mongoose.SchemaDefinitionProperty<string, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
18
18
  id: string;
19
19
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
20
20
  _id: _$mongoose.Types.ObjectId;
@@ -25,7 +25,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
25
25
  }, "id"> & {
26
26
  id: string;
27
27
  }>;
28
- updatedAt?: _$mongoose.SchemaDefinitionProperty<Date, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
28
+ createdAt?: _$mongoose.SchemaDefinitionProperty<Date, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
29
29
  id: string;
30
30
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
31
31
  _id: _$mongoose.Types.ObjectId;
@@ -36,7 +36,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
36
36
  }, "id"> & {
37
37
  id: string;
38
38
  }>;
39
- organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
39
+ updatedAt?: _$mongoose.SchemaDefinitionProperty<Date, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
40
40
  id: string;
41
41
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
42
42
  _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
- projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
50
+ _id?: _$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
- title?: _$mongoose.SchemaDefinitionProperty<string, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
61
+ userId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, 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
- _id?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
72
+ projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, 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
- userId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
83
+ organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
84
84
  id: string;
85
85
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
86
86
  _id: _$mongoose.Types.ObjectId;
@@ -15,7 +15,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
15
15
  }, "id"> & {
16
16
  id: string;
17
17
  }, {
18
- createdAt?: _$mongoose.SchemaDefinitionProperty<number, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
18
+ type?: _$mongoose.SchemaDefinitionProperty<PlanType, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
19
19
  id: string;
20
20
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
21
21
  _id: _$mongoose.Types.ObjectId;
@@ -26,7 +26,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
26
26
  }, "id"> & {
27
27
  id: string;
28
28
  }>;
29
- updatedAt?: _$mongoose.SchemaDefinitionProperty<number, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
29
+ createdAt?: _$mongoose.SchemaDefinitionProperty<number, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
30
30
  id: string;
31
31
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
32
32
  _id: _$mongoose.Types.ObjectId;
@@ -37,7 +37,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
37
37
  }, "id"> & {
38
38
  id: string;
39
39
  }>;
40
- type?: _$mongoose.SchemaDefinitionProperty<PlanType, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
40
+ updatedAt?: _$mongoose.SchemaDefinitionProperty<number, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
41
41
  id: string;
42
42
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
43
43
  _id: _$mongoose.Types.ObjectId;
@@ -48,8 +48,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
48
48
  }, "id"> & {
49
49
  id: string;
50
50
  }>;
51
- creatorId?: User["id"];
52
- period?: _$mongoose.SchemaDefinitionProperty<"MONTHLY" | "YEARLY", PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
51
+ customerId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
53
52
  id: string;
54
53
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
55
54
  _id: _$mongoose.Types.ObjectId;
@@ -60,7 +59,8 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
60
59
  }, "id"> & {
61
60
  id: string;
62
61
  }>;
63
- status?: _$mongoose.SchemaDefinitionProperty<"active" | "canceled" | "past_due" | "unpaid" | "incomplete" | "incomplete_expired" | "paused" | "trialing", PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
62
+ creatorId?: User["id"];
63
+ subscriptionId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
64
64
  id: string;
65
65
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
66
66
  _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
- subscriptionId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
74
+ priceId?: _$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
- customerId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
85
+ status?: _$mongoose.SchemaDefinitionProperty<"active" | "canceled" | "past_due" | "unpaid" | "incomplete" | "incomplete_expired" | "paused" | "trialing", PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
86
86
  id: string;
87
87
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
88
88
  _id: _$mongoose.Types.ObjectId;
@@ -93,7 +93,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
93
93
  }, "id"> & {
94
94
  id: string;
95
95
  }>;
96
- priceId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
96
+ period?: _$mongoose.SchemaDefinitionProperty<"MONTHLY" | "YEARLY", PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
97
97
  id: string;
98
98
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
99
99
  _id: _$mongoose.Types.ObjectId;
@@ -62,7 +62,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
62
62
  }, "id"> & {
63
63
  id: string;
64
64
  }>;
65
- configuration?: _$mongoose.SchemaDefinitionProperty<ProjectConfiguration, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
65
+ imageUrl?: _$mongoose.SchemaDefinitionProperty<string, 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
- repository?: _$mongoose.SchemaDefinitionProperty<RepositoryConnection, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
76
+ configuration?: _$mongoose.SchemaDefinitionProperty<ProjectConfiguration, 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
- webhooks?: _$mongoose.SchemaDefinitionProperty<ProjectConfigCI, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
87
+ repository?: _$mongoose.SchemaDefinitionProperty<RepositoryConnection, 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
- autoFill?: _$mongoose.SchemaDefinitionProperty<boolean, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
98
+ webhooks?: _$mongoose.SchemaDefinitionProperty<ProjectConfigCI, 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
- imageUrl?: _$mongoose.SchemaDefinitionProperty<string, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
109
+ autoFill?: _$mongoose.SchemaDefinitionProperty<boolean, 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
- createdAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
18
+ locale?: _$mongoose.SchemaDefinitionProperty<_$intlayer.Locale, 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
- updatedAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
29
+ createdAt?: _$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
- locale?: _$mongoose.SchemaDefinitionProperty<_$intlayer.Locale, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
40
+ updatedAt?: _$mongoose.SchemaDefinitionProperty<Date, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
41
41
  id: string;
42
42
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
43
43
  _id: string & _$mongoose.Types.ObjectId;
@@ -12,16 +12,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
12
12
  }, "id"> & {
13
13
  id: string;
14
14
  }, {
15
- createdAt?: _$mongoose.SchemaDefinitionProperty<Date, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
16
- id: string;
17
- }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
18
- _id: _$mongoose.Types.ObjectId;
19
- }> & {
20
- __v: number;
21
- }, "id"> & {
22
- id: string;
23
- }>;
24
- imageUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
15
+ title?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
25
16
  id: string;
26
17
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
27
18
  _id: _$mongoose.Types.ObjectId;
@@ -30,7 +21,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
30
21
  }, "id"> & {
31
22
  id: string;
32
23
  }>;
33
- description?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
24
+ createdAt?: _$mongoose.SchemaDefinitionProperty<Date, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
34
25
  id: string;
35
26
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
36
27
  _id: _$mongoose.Types.ObjectId;
@@ -39,7 +30,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
39
30
  }, "id"> & {
40
31
  id: string;
41
32
  }>;
42
- title?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
33
+ _id?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
43
34
  id: string;
44
35
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
45
36
  _id: _$mongoose.Types.ObjectId;
@@ -48,7 +39,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
48
39
  }, "id"> & {
49
40
  id: string;
50
41
  }>;
51
- tags?: _$mongoose.SchemaDefinitionProperty<string[], ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
42
+ description?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
52
43
  id: string;
53
44
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
54
45
  _id: _$mongoose.Types.ObjectId;
@@ -57,7 +48,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
57
48
  }, "id"> & {
58
49
  id: string;
59
50
  }>;
60
- _id?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
51
+ status?: _$mongoose.SchemaDefinitionProperty<ShowcaseProjectStatus, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
61
52
  id: string;
62
53
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
63
54
  _id: _$mongoose.Types.ObjectId;
@@ -66,7 +57,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
66
57
  }, "id"> & {
67
58
  id: string;
68
59
  }>;
69
- status?: _$mongoose.SchemaDefinitionProperty<ShowcaseProjectStatus, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
60
+ imageUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
70
61
  id: string;
71
62
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
72
63
  _id: _$mongoose.Types.ObjectId;
@@ -75,7 +66,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
75
66
  }, "id"> & {
76
67
  id: string;
77
68
  }>;
78
- owner?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
69
+ logoUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
79
70
  id: string;
80
71
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
81
72
  _id: _$mongoose.Types.ObjectId;
@@ -84,7 +75,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
84
75
  }, "id"> & {
85
76
  id: string;
86
77
  }>;
87
- logoUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
78
+ websiteUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
88
79
  id: string;
89
80
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
90
81
  _id: _$mongoose.Types.ObjectId;
@@ -93,7 +84,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
93
84
  }, "id"> & {
94
85
  id: string;
95
86
  }>;
96
- websiteUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
87
+ githubUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
97
88
  id: string;
98
89
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
99
90
  _id: _$mongoose.Types.ObjectId;
@@ -102,7 +93,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
102
93
  }, "id"> & {
103
94
  id: string;
104
95
  }>;
105
- githubUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
96
+ tags?: _$mongoose.SchemaDefinitionProperty<string[], ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
106
97
  id: string;
107
98
  }, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
108
99
  _id: _$mongoose.Types.ObjectId;
@@ -183,6 +174,15 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
183
174
  }, "id"> & {
184
175
  id: string;
185
176
  }>;
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 };
@@ -48,8 +48,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
48
48
  }, "id"> & {
49
49
  id: string;
50
50
  }>;
51
- creatorId?: User["id"];
52
- organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
51
+ description?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
53
52
  id: string;
54
53
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
55
54
  _id: _$mongoose.Types.ObjectId;
@@ -60,6 +59,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
60
59
  }, "id"> & {
61
60
  id: string;
62
61
  }>;
62
+ creatorId?: User["id"];
63
63
  key?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
64
64
  id: string;
65
65
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
@@ -71,7 +71,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
71
71
  }, "id"> & {
72
72
  id: string;
73
73
  }>;
74
- description?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
74
+ instructions?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
75
75
  id: string;
76
76
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
77
77
  _id: _$mongoose.Types.ObjectId;
@@ -82,7 +82,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
82
82
  }, "id"> & {
83
83
  id: string;
84
84
  }>;
85
- instructions?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
85
+ projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
86
86
  id: string;
87
87
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
88
88
  _id: _$mongoose.Types.ObjectId;
@@ -93,7 +93,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
93
93
  }, "id"> & {
94
94
  id: string;
95
95
  }>;
96
- projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
96
+ organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
97
97
  id: string;
98
98
  }, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
99
99
  _id: _$mongoose.Types.ObjectId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/backend",
3
- "version": "8.7.8-canary.0",
3
+ "version": "8.7.8",
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": [
@@ -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-canary.0",
85
- "@intlayer/chokidar": "8.7.8-canary.0",
86
- "@intlayer/core": "8.7.8-canary.0",
84
+ "@intlayer/ai": "8.7.8",
85
+ "@intlayer/chokidar": "8.7.8",
86
+ "@intlayer/core": "8.7.8",
87
87
  "@octokit/rest": "22.0.1",
88
88
  "@react-email/components": "1.0.12",
89
89
  "better-auth": "1.6.9",
@@ -93,7 +93,7 @@
93
93
  "defu": "6.1.7",
94
94
  "dotenv": "17.4.2",
95
95
  "fastify": "5.8.5",
96
- "fastify-intlayer": "8.7.8-canary.0",
96
+ "fastify-intlayer": "8.7.8",
97
97
  "ioredis": "5.10.1",
98
98
  "mongodb": "7.2.0",
99
99
  "mongoose": "9.5.0",
@@ -109,9 +109,9 @@
109
109
  "zod": "^4.3.6"
110
110
  },
111
111
  "devDependencies": {
112
- "@intlayer/config": "8.7.8-canary.0",
113
- "@intlayer/docs": "8.7.8-canary.0",
114
- "@intlayer/types": "8.7.8-canary.0",
112
+ "@intlayer/config": "8.7.8",
113
+ "@intlayer/docs": "8.7.8",
114
+ "@intlayer/types": "8.7.8",
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-canary.0",
122
+ "intlayer": "8.7.8",
123
123
  "rimraf": "6.1.3",
124
124
  "tsdown": "0.21.10",
125
125
  "typescript": "6.0.3",