@intlayer/backend 8.7.8 → 8.7.9
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/dist/types/schemas/dictionary.schema.d.ts +8 -8
- package/dist/types/schemas/discussion.schema.d.ts +6 -6
- package/dist/types/schemas/organization.schema.d.ts +3 -3
- package/dist/types/schemas/plans.schema.d.ts +8 -8
- package/dist/types/schemas/project.schema.d.ts +6 -6
- package/dist/types/schemas/session.schema.d.ts +10 -10
- package/dist/types/schemas/showcaseProject.schema.d.ts +11 -11
- package/dist/types/schemas/tag.schema.d.ts +7 -7
- package/package.json +9 -9
|
@@ -15,7 +15,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
15
15
|
}, "id"> & {
|
|
16
16
|
id: string;
|
|
17
17
|
}, {
|
|
18
|
-
|
|
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
|
-
|
|
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
|
-
|
|
40
|
+
title?: _$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;
|
|
@@ -59,8 +59,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
59
59
|
}, "id"> & {
|
|
60
60
|
id: string;
|
|
61
61
|
}>;
|
|
62
|
-
|
|
63
|
-
key?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
62
|
+
tags?: _$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
|
-
|
|
73
|
+
content?: _$mongoose.SchemaDefinitionProperty<VersionedContent, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
75
74
|
id: string;
|
|
76
75
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
|
|
77
76
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -82,7 +81,8 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
82
81
|
}, "id"> & {
|
|
83
82
|
id: string;
|
|
84
83
|
}>;
|
|
85
|
-
|
|
84
|
+
creatorId?: User["id"];
|
|
85
|
+
key?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
86
86
|
id: string;
|
|
87
87
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
|
|
88
88
|
_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
|
-
importMode?: _$mongoose.SchemaDefinitionProperty<"
|
|
118
|
+
importMode?: _$mongoose.SchemaDefinitionProperty<"static" | "dynamic" | "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
|
-
|
|
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
|
-
|
|
50
|
+
title?: _$mongoose.SchemaDefinitionProperty<string, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
|
|
51
51
|
id: string;
|
|
52
52
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
|
|
53
53
|
_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
|
-
|
|
72
|
+
discussionId?: _$mongoose.SchemaDefinitionProperty<string, 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
|
-
|
|
83
|
+
messages?: _$mongoose.SchemaDefinitionProperty<Message[], 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
|
-
|
|
94
|
+
projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, 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
|
-
|
|
105
|
+
organizationId?: _$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;
|
|
@@ -51,7 +51,8 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
|
|
|
51
51
|
}>;
|
|
52
52
|
membersIds?: any;
|
|
53
53
|
adminsIds?: any;
|
|
54
|
-
|
|
54
|
+
creatorId?: User["id"];
|
|
55
|
+
domain?: _$mongoose.SchemaDefinitionProperty<string, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
|
|
55
56
|
id: string;
|
|
56
57
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
|
|
57
58
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -62,7 +63,7 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
|
|
|
62
63
|
}, "id"> & {
|
|
63
64
|
id: string;
|
|
64
65
|
}>;
|
|
65
|
-
|
|
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"> & {
|
|
@@ -15,7 +15,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
15
15
|
}, "id"> & {
|
|
16
16
|
id: string;
|
|
17
17
|
}, {
|
|
18
|
-
|
|
18
|
+
createdAt?: _$mongoose.SchemaDefinitionProperty<number, 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
|
-
|
|
29
|
+
updatedAt?: _$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
|
-
|
|
40
|
+
type?: _$mongoose.SchemaDefinitionProperty<PlanType, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
|
|
41
41
|
id: string;
|
|
42
42
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
|
|
43
43
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -48,7 +48,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
48
48
|
}, "id"> & {
|
|
49
49
|
id: string;
|
|
50
50
|
}>;
|
|
51
|
-
|
|
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;
|
|
@@ -60,7 +60,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
60
60
|
id: string;
|
|
61
61
|
}>;
|
|
62
62
|
creatorId?: User["id"];
|
|
63
|
-
|
|
63
|
+
customerId?: _$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
|
-
|
|
74
|
+
period?: _$mongoose.SchemaDefinitionProperty<"MONTHLY" | "YEARLY", 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
|
-
|
|
85
|
+
subscriptionId?: _$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;
|
|
@@ -93,7 +93,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
93
93
|
}, "id"> & {
|
|
94
94
|
id: string;
|
|
95
95
|
}>;
|
|
96
|
-
|
|
96
|
+
priceId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
|
|
97
97
|
id: string;
|
|
98
98
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
|
|
99
99
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -37,7 +37,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
37
37
|
}, "id"> & {
|
|
38
38
|
id: string;
|
|
39
39
|
}>;
|
|
40
|
-
|
|
40
|
+
imageUrl?: _$mongoose.SchemaDefinitionProperty<string, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
41
41
|
id: string;
|
|
42
42
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
43
43
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -48,10 +48,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
48
48
|
}, "id"> & {
|
|
49
49
|
id: string;
|
|
50
50
|
}>;
|
|
51
|
-
|
|
52
|
-
adminsIds?: any;
|
|
53
|
-
creatorId?: User["id"];
|
|
54
|
-
organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
51
|
+
name?: _$mongoose.SchemaDefinitionProperty<string, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
55
52
|
id: string;
|
|
56
53
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
57
54
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -62,7 +59,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
62
59
|
}, "id"> & {
|
|
63
60
|
id: string;
|
|
64
61
|
}>;
|
|
65
|
-
|
|
62
|
+
organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
66
63
|
id: string;
|
|
67
64
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
68
65
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -73,6 +70,9 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
73
70
|
}, "id"> & {
|
|
74
71
|
id: string;
|
|
75
72
|
}>;
|
|
73
|
+
membersIds?: any;
|
|
74
|
+
adminsIds?: any;
|
|
75
|
+
creatorId?: User["id"];
|
|
76
76
|
configuration?: _$mongoose.SchemaDefinitionProperty<ProjectConfiguration, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
77
77
|
id: string;
|
|
78
78
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
@@ -15,7 +15,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
|
|
|
15
15
|
}, "id"> & {
|
|
16
16
|
id: string;
|
|
17
17
|
}, {
|
|
18
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
33
|
+
title?: _$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;
|
|
@@ -48,15 +48,6 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
48
48
|
}, "id"> & {
|
|
49
49
|
id: string;
|
|
50
50
|
}>;
|
|
51
|
-
status?: _$mongoose.SchemaDefinitionProperty<ShowcaseProjectStatus, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
52
|
-
id: string;
|
|
53
|
-
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
54
|
-
_id: _$mongoose.Types.ObjectId;
|
|
55
|
-
}> & {
|
|
56
|
-
__v: number;
|
|
57
|
-
}, "id"> & {
|
|
58
|
-
id: string;
|
|
59
|
-
}>;
|
|
60
51
|
imageUrl?: _$mongoose.SchemaDefinitionProperty<string, 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<{
|
|
@@ -183,6 +174,15 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
183
174
|
}, "id"> & {
|
|
184
175
|
id: string;
|
|
185
176
|
}>;
|
|
177
|
+
status?: _$mongoose.SchemaDefinitionProperty<ShowcaseProjectStatus, 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
|
-
|
|
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
|
-
|
|
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,8 +59,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
59
59
|
}, "id"> & {
|
|
60
60
|
id: string;
|
|
61
61
|
}>;
|
|
62
|
-
|
|
63
|
-
key?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
62
|
+
projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
64
63
|
id: string;
|
|
65
64
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
|
|
66
65
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -71,7 +70,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
71
70
|
}, "id"> & {
|
|
72
71
|
id: string;
|
|
73
72
|
}>;
|
|
74
|
-
|
|
73
|
+
organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
75
74
|
id: string;
|
|
76
75
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
|
|
77
76
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -82,7 +81,8 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
82
81
|
}, "id"> & {
|
|
83
82
|
id: string;
|
|
84
83
|
}>;
|
|
85
|
-
|
|
84
|
+
creatorId?: User["id"];
|
|
85
|
+
key?: _$mongoose.SchemaDefinitionProperty<string, 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
|
-
|
|
96
|
+
instructions?: _$mongoose.SchemaDefinitionProperty<string, 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.
|
|
3
|
+
"version": "8.7.9",
|
|
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.
|
|
85
|
-
"@intlayer/chokidar": "8.7.
|
|
86
|
-
"@intlayer/core": "8.7.
|
|
84
|
+
"@intlayer/ai": "8.7.9",
|
|
85
|
+
"@intlayer/chokidar": "8.7.9",
|
|
86
|
+
"@intlayer/core": "8.7.9",
|
|
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.
|
|
96
|
+
"fastify-intlayer": "8.7.9",
|
|
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.
|
|
113
|
-
"@intlayer/docs": "8.7.
|
|
114
|
-
"@intlayer/types": "8.7.
|
|
112
|
+
"@intlayer/config": "8.7.9",
|
|
113
|
+
"@intlayer/docs": "8.7.9",
|
|
114
|
+
"@intlayer/types": "8.7.9",
|
|
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.
|
|
122
|
+
"intlayer": "8.7.9",
|
|
123
123
|
"rimraf": "6.1.3",
|
|
124
124
|
"tsdown": "0.21.10",
|
|
125
125
|
"typescript": "6.0.3",
|