@intlayer/backend 8.7.10 → 8.7.11
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 +7 -7
- package/dist/types/schemas/discussion.schema.d.ts +6 -6
- package/dist/types/schemas/organization.schema.d.ts +8 -8
- 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 +8 -8
- package/dist/types/schemas/showcaseProject.schema.d.ts +9 -9
- package/dist/types/schemas/tag.schema.d.ts +9 -9
- package/package.json +9 -9
|
@@ -15,6 +15,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
15
15
|
}, "id"> & {
|
|
16
16
|
id: string;
|
|
17
17
|
}, {
|
|
18
|
+
creatorId?: User["id"];
|
|
18
19
|
createdAt?: _$mongoose.SchemaDefinitionProperty<number, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
19
20
|
id: string;
|
|
20
21
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
|
|
@@ -37,7 +38,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
37
38
|
}, "id"> & {
|
|
38
39
|
id: string;
|
|
39
40
|
}>;
|
|
40
|
-
|
|
41
|
+
title?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
41
42
|
id: string;
|
|
42
43
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
|
|
43
44
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -48,7 +49,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
48
49
|
}, "id"> & {
|
|
49
50
|
id: string;
|
|
50
51
|
}>;
|
|
51
|
-
|
|
52
|
+
content?: _$mongoose.SchemaDefinitionProperty<VersionedContent, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
52
53
|
id: string;
|
|
53
54
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
|
|
54
55
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -59,7 +60,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
59
60
|
}, "id"> & {
|
|
60
61
|
id: string;
|
|
61
62
|
}>;
|
|
62
|
-
|
|
63
|
+
key?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
63
64
|
id: string;
|
|
64
65
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
|
|
65
66
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -70,7 +71,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
70
71
|
}, "id"> & {
|
|
71
72
|
id: string;
|
|
72
73
|
}>;
|
|
73
|
-
|
|
74
|
+
description?: _$mongoose.SchemaDefinitionProperty<string, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
74
75
|
id: string;
|
|
75
76
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Dictionary, "id"> & {
|
|
76
77
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -81,8 +82,7 @@ declare const dictionarySchema: Schema<DictionarySchema, _$mongoose.Model<Dictio
|
|
|
81
82
|
}, "id"> & {
|
|
82
83
|
id: string;
|
|
83
84
|
}>;
|
|
84
|
-
|
|
85
|
-
content?: _$mongoose.SchemaDefinitionProperty<VersionedContent, DictionarySchema, _$mongoose.Document<unknown, {}, DictionarySchema, {
|
|
85
|
+
tags?: _$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;
|
|
@@ -47,7 +47,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
|
|
|
47
47
|
}, "id"> & {
|
|
48
48
|
id: string;
|
|
49
49
|
}>;
|
|
50
|
-
|
|
50
|
+
organizationId?: _$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
|
-
|
|
61
|
+
projectId?: _$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
|
-
|
|
72
|
+
userId?: _$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;
|
|
@@ -91,7 +91,7 @@ declare const discussionSchema: Schema<DiscussionSchema, _$mongoose.Model<Discus
|
|
|
91
91
|
}, "id"> & {
|
|
92
92
|
id: string;
|
|
93
93
|
}>;
|
|
94
|
-
|
|
94
|
+
discussionId?: _$mongoose.SchemaDefinitionProperty<string, 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
|
+
messages?: _$mongoose.SchemaDefinitionProperty<Message[], 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
|
-
|
|
116
|
+
isArchived?: _$mongoose.SchemaDefinitionProperty<boolean, DiscussionSchema, _$mongoose.Document<unknown, {}, DiscussionSchema, {
|
|
117
117
|
id: string;
|
|
118
118
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Discussion, "id"> & {
|
|
119
119
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -16,7 +16,7 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
|
|
|
16
16
|
}, "id"> & {
|
|
17
17
|
id: string;
|
|
18
18
|
}, {
|
|
19
|
-
|
|
19
|
+
name?: _$mongoose.SchemaDefinitionProperty<string, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
|
|
20
20
|
id: string;
|
|
21
21
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
|
|
22
22
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -27,7 +27,9 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
|
|
|
27
27
|
}, "id"> & {
|
|
28
28
|
id: string;
|
|
29
29
|
}>;
|
|
30
|
-
|
|
30
|
+
membersIds?: any;
|
|
31
|
+
adminsIds?: any;
|
|
32
|
+
ssoEnabled?: _$mongoose.SchemaDefinitionProperty<boolean, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
|
|
31
33
|
id: string;
|
|
32
34
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
|
|
33
35
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -49,7 +51,8 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
|
|
|
49
51
|
}, "id"> & {
|
|
50
52
|
id: string;
|
|
51
53
|
}>;
|
|
52
|
-
|
|
54
|
+
creatorId?: User["id"];
|
|
55
|
+
plan?: _$mongoose.SchemaDefinitionProperty<Plan, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
|
|
53
56
|
id: string;
|
|
54
57
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
|
|
55
58
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -60,10 +63,7 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
|
|
|
60
63
|
}, "id"> & {
|
|
61
64
|
id: string;
|
|
62
65
|
}>;
|
|
63
|
-
|
|
64
|
-
membersIds?: any;
|
|
65
|
-
adminsIds?: any;
|
|
66
|
-
ssoEnabled?: _$mongoose.SchemaDefinitionProperty<boolean, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
|
|
66
|
+
createdAt?: _$mongoose.SchemaDefinitionProperty<number, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
|
|
67
67
|
id: string;
|
|
68
68
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
|
|
69
69
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -74,7 +74,7 @@ declare const organizationSchema: Schema<OrganizationSchema, _$mongoose.Model<Or
|
|
|
74
74
|
}, "id"> & {
|
|
75
75
|
id: string;
|
|
76
76
|
}>;
|
|
77
|
-
|
|
77
|
+
updatedAt?: _$mongoose.SchemaDefinitionProperty<number, OrganizationSchema, _$mongoose.Document<unknown, {}, OrganizationSchema, {
|
|
78
78
|
id: string;
|
|
79
79
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
|
|
80
80
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -15,7 +15,8 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
15
15
|
}, "id"> & {
|
|
16
16
|
id: string;
|
|
17
17
|
}, {
|
|
18
|
-
|
|
18
|
+
creatorId?: User["id"];
|
|
19
|
+
createdAt?: _$mongoose.SchemaDefinitionProperty<number, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
|
|
19
20
|
id: string;
|
|
20
21
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
|
|
21
22
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -26,7 +27,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
26
27
|
}, "id"> & {
|
|
27
28
|
id: string;
|
|
28
29
|
}>;
|
|
29
|
-
|
|
30
|
+
updatedAt?: _$mongoose.SchemaDefinitionProperty<number, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
|
|
30
31
|
id: string;
|
|
31
32
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
|
|
32
33
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -37,7 +38,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
37
38
|
}, "id"> & {
|
|
38
39
|
id: string;
|
|
39
40
|
}>;
|
|
40
|
-
|
|
41
|
+
type?: _$mongoose.SchemaDefinitionProperty<PlanType, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
|
|
41
42
|
id: string;
|
|
42
43
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
|
|
43
44
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -48,7 +49,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
48
49
|
}, "id"> & {
|
|
49
50
|
id: string;
|
|
50
51
|
}>;
|
|
51
|
-
|
|
52
|
+
subscriptionId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
|
|
52
53
|
id: string;
|
|
53
54
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Plan, "id"> & {
|
|
54
55
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -59,8 +60,7 @@ declare const planSchema: Schema<PlanSchema, _$mongoose.Model<PlanSchema, any, a
|
|
|
59
60
|
}, "id"> & {
|
|
60
61
|
id: string;
|
|
61
62
|
}>;
|
|
62
|
-
|
|
63
|
-
subscriptionId?: _$mongoose.SchemaDefinitionProperty<string, PlanSchema, _$mongoose.Document<unknown, {}, PlanSchema, {
|
|
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
|
+
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
|
-
|
|
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;
|
|
@@ -15,7 +15,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
15
15
|
}, "id"> & {
|
|
16
16
|
id: string;
|
|
17
17
|
}, {
|
|
18
|
-
|
|
18
|
+
name?: _$mongoose.SchemaDefinitionProperty<string, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
19
19
|
id: string;
|
|
20
20
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
21
21
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -26,7 +26,10 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
26
26
|
}, "id"> & {
|
|
27
27
|
id: string;
|
|
28
28
|
}>;
|
|
29
|
-
|
|
29
|
+
membersIds?: any;
|
|
30
|
+
adminsIds?: any;
|
|
31
|
+
creatorId?: User["id"];
|
|
32
|
+
createdAt?: _$mongoose.SchemaDefinitionProperty<number, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
30
33
|
id: string;
|
|
31
34
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
32
35
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -37,7 +40,7 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
37
40
|
}, "id"> & {
|
|
38
41
|
id: string;
|
|
39
42
|
}>;
|
|
40
|
-
|
|
43
|
+
updatedAt?: _$mongoose.SchemaDefinitionProperty<number, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
41
44
|
id: string;
|
|
42
45
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
43
46
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -48,7 +51,6 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
48
51
|
}, "id"> & {
|
|
49
52
|
id: string;
|
|
50
53
|
}>;
|
|
51
|
-
creatorId?: User["id"];
|
|
52
54
|
organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
53
55
|
id: string;
|
|
54
56
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
@@ -60,8 +62,6 @@ declare const projectSchema: Schema<ProjectSchema, _$mongoose.Model<ProjectSchem
|
|
|
60
62
|
}, "id"> & {
|
|
61
63
|
id: string;
|
|
62
64
|
}>;
|
|
63
|
-
membersIds?: any;
|
|
64
|
-
adminsIds?: any;
|
|
65
65
|
configuration?: _$mongoose.SchemaDefinitionProperty<ProjectConfiguration, ProjectSchema, _$mongoose.Document<unknown, {}, ProjectSchema, {
|
|
66
66
|
id: string;
|
|
67
67
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Project, "id"> & {
|
|
@@ -37,7 +37,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
|
|
|
37
37
|
}, "id"> & {
|
|
38
38
|
id: string;
|
|
39
39
|
}>;
|
|
40
|
-
|
|
40
|
+
expiresAt?: _$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;
|
|
@@ -48,7 +48,7 @@ declare const sessionSchema: Schema<SessionSchema, _$mongoose.Model<SessionSchem
|
|
|
48
48
|
}, "id"> & {
|
|
49
49
|
id: string;
|
|
50
50
|
}>;
|
|
51
|
-
|
|
51
|
+
userId?: _$mongoose.SchemaDefinitionProperty<string, 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
|
+
locale?: _$mongoose.SchemaDefinitionProperty<_$intlayer.Locale, 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
|
+
token?: _$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
|
+
ipAddress?: _$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
|
+
userAgent?: _$mongoose.SchemaDefinitionProperty<string, 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
|
+
activeOrganizationId?: _$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
|
+
activeProjectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, SessionSchema, _$mongoose.Document<unknown, {}, SessionSchema, {
|
|
118
118
|
id: string;
|
|
119
119
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<SessionData, "id"> & {
|
|
120
120
|
_id: string & _$mongoose.Types.ObjectId;
|
|
@@ -30,7 +30,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
30
30
|
}, "id"> & {
|
|
31
31
|
id: string;
|
|
32
32
|
}>;
|
|
33
|
-
|
|
33
|
+
status?: _$mongoose.SchemaDefinitionProperty<ShowcaseProjectStatus, 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,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
39
39
|
}, "id"> & {
|
|
40
40
|
id: string;
|
|
41
41
|
}>;
|
|
42
|
-
|
|
42
|
+
imageUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
43
43
|
id: string;
|
|
44
44
|
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
45
45
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -48,7 +48,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
48
48
|
}, "id"> & {
|
|
49
49
|
id: string;
|
|
50
50
|
}>;
|
|
51
|
-
|
|
51
|
+
owner?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
52
52
|
id: string;
|
|
53
53
|
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
54
54
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -57,7 +57,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
57
57
|
}, "id"> & {
|
|
58
58
|
id: string;
|
|
59
59
|
}>;
|
|
60
|
-
|
|
60
|
+
title?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
61
61
|
id: string;
|
|
62
62
|
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
63
63
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -66,7 +66,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
66
66
|
}, "id"> & {
|
|
67
67
|
id: string;
|
|
68
68
|
}>;
|
|
69
|
-
|
|
69
|
+
description?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
70
70
|
id: string;
|
|
71
71
|
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
72
72
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -75,7 +75,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
75
75
|
}, "id"> & {
|
|
76
76
|
id: string;
|
|
77
77
|
}>;
|
|
78
|
-
|
|
78
|
+
logoUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
79
79
|
id: string;
|
|
80
80
|
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
81
81
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -84,7 +84,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
84
84
|
}, "id"> & {
|
|
85
85
|
id: string;
|
|
86
86
|
}>;
|
|
87
|
-
|
|
87
|
+
websiteUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
88
88
|
id: string;
|
|
89
89
|
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
90
90
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -93,7 +93,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
93
93
|
}, "id"> & {
|
|
94
94
|
id: string;
|
|
95
95
|
}>;
|
|
96
|
-
|
|
96
|
+
githubUrl?: _$mongoose.SchemaDefinitionProperty<string, ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
97
97
|
id: string;
|
|
98
98
|
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
99
99
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -102,7 +102,7 @@ declare const showcaseProjectSchema: Schema<ShowcaseProjectDocument, _$mongoose.
|
|
|
102
102
|
}, "id"> & {
|
|
103
103
|
id: string;
|
|
104
104
|
}>;
|
|
105
|
-
|
|
105
|
+
tags?: _$mongoose.SchemaDefinitionProperty<string[], ShowcaseProjectDocument, _$mongoose.Document<unknown, {}, ShowcaseProjectDocument, {
|
|
106
106
|
id: string;
|
|
107
107
|
}, _$mongoose.DefaultSchemaOptions> & Omit<ShowcaseProject & _$mongoose.Document<_$mongoose.Types.ObjectId, any, any, Record<string, any>, {}> & Required<{
|
|
108
108
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -15,7 +15,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
15
15
|
}, "id"> & {
|
|
16
16
|
id: string;
|
|
17
17
|
}, {
|
|
18
|
-
|
|
18
|
+
name?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
19
19
|
id: string;
|
|
20
20
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
|
|
21
21
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -26,7 +26,8 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
26
26
|
}, "id"> & {
|
|
27
27
|
id: string;
|
|
28
28
|
}>;
|
|
29
|
-
|
|
29
|
+
creatorId?: User["id"];
|
|
30
|
+
createdAt?: _$mongoose.SchemaDefinitionProperty<number, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
30
31
|
id: string;
|
|
31
32
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
|
|
32
33
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -37,7 +38,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
37
38
|
}, "id"> & {
|
|
38
39
|
id: string;
|
|
39
40
|
}>;
|
|
40
|
-
|
|
41
|
+
updatedAt?: _$mongoose.SchemaDefinitionProperty<number, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
41
42
|
id: string;
|
|
42
43
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
|
|
43
44
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -48,7 +49,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
48
49
|
}, "id"> & {
|
|
49
50
|
id: string;
|
|
50
51
|
}>;
|
|
51
|
-
|
|
52
|
+
organizationId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
52
53
|
id: string;
|
|
53
54
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
|
|
54
55
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -59,7 +60,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
59
60
|
}, "id"> & {
|
|
60
61
|
id: string;
|
|
61
62
|
}>;
|
|
62
|
-
|
|
63
|
+
projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
63
64
|
id: string;
|
|
64
65
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
|
|
65
66
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -70,7 +71,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
70
71
|
}, "id"> & {
|
|
71
72
|
id: string;
|
|
72
73
|
}>;
|
|
73
|
-
|
|
74
|
+
key?: _$mongoose.SchemaDefinitionProperty<string, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
74
75
|
id: string;
|
|
75
76
|
}, _$mongoose.DefaultSchemaOptions> & Omit<Omit<Tag, "id"> & {
|
|
76
77
|
_id: _$mongoose.Types.ObjectId;
|
|
@@ -81,8 +82,7 @@ declare const tagSchema: Schema<TagSchema, _$mongoose.Model<TagSchema, any, any,
|
|
|
81
82
|
}, "id"> & {
|
|
82
83
|
id: string;
|
|
83
84
|
}>;
|
|
84
|
-
|
|
85
|
-
projectId?: _$mongoose.SchemaDefinitionProperty<_$mongoose.Types.ObjectId, TagSchema, _$mongoose.Document<unknown, {}, TagSchema, {
|
|
85
|
+
description?: _$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.11",
|
|
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.11",
|
|
85
|
+
"@intlayer/chokidar": "8.7.11",
|
|
86
|
+
"@intlayer/core": "8.7.11",
|
|
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.11",
|
|
97
97
|
"ioredis": "5.10.1",
|
|
98
98
|
"mongodb": "7.2.0",
|
|
99
99
|
"mongoose": "9.6.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.11",
|
|
113
|
+
"@intlayer/docs": "8.7.11",
|
|
114
|
+
"@intlayer/types": "8.7.11",
|
|
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.11",
|
|
123
123
|
"rimraf": "6.1.3",
|
|
124
124
|
"tsdown": "0.21.10",
|
|
125
125
|
"typescript": "6.0.3",
|