@osaas/types 0.8.1 → 0.8.2
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/lib/schema/Tenant.d.ts +33 -54
- package/lib/schema/Tenant.d.ts.map +1 -1
- package/lib/schema/Tenant.js +0 -2
- package/lib/schema/Tenant.js.map +1 -1
- package/lib/schema/User.d.ts +38 -89
- package/lib/schema/User.d.ts.map +1 -1
- package/package.json +3 -3
package/lib/schema/Tenant.d.ts
CHANGED
|
@@ -15,14 +15,13 @@
|
|
|
15
15
|
/// <reference types="mongoose/types/populate" />
|
|
16
16
|
/// <reference types="mongoose/types/query" />
|
|
17
17
|
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
18
19
|
/// <reference types="mongoose/types/session" />
|
|
19
20
|
/// <reference types="mongoose/types/types" />
|
|
20
21
|
/// <reference types="mongoose/types/utility" />
|
|
21
22
|
/// <reference types="mongoose/types/validation" />
|
|
22
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
23
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
25
|
import { Schema } from 'mongoose';
|
|
27
26
|
export declare const BILLING_OPTIONS: readonly ["paypal", "invoice", "stripe"];
|
|
28
27
|
export declare const AUTH_PROVIDERS: readonly ["azure-ad"];
|
|
@@ -30,101 +29,81 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
30
29
|
_id: string;
|
|
31
30
|
enabled: boolean;
|
|
32
31
|
billing: "paypal" | "invoice" | "stripe";
|
|
33
|
-
repositories:
|
|
34
|
-
_id: string;
|
|
35
|
-
type: "github";
|
|
36
|
-
}, import("mongoose").Types.Subdocument<string, any, {
|
|
32
|
+
repositories: {
|
|
37
33
|
_id: string;
|
|
38
34
|
type: "github";
|
|
39
|
-
}
|
|
40
|
-
_id: string;
|
|
41
|
-
type: "github";
|
|
42
|
-
}>;
|
|
35
|
+
}[];
|
|
43
36
|
schemaVersion: number;
|
|
44
|
-
name?: string |
|
|
45
|
-
description?: string |
|
|
46
|
-
avatarUrl?: string |
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
description?: string | undefined;
|
|
39
|
+
avatarUrl?: string | undefined;
|
|
47
40
|
authProvider?: {
|
|
48
41
|
provider: "azure-ad";
|
|
49
42
|
clientId: string;
|
|
50
43
|
clientSecret: string;
|
|
51
44
|
emailRegex: string;
|
|
52
45
|
config?: {
|
|
53
|
-
azureAdTenantId?: string |
|
|
54
|
-
} |
|
|
55
|
-
} |
|
|
46
|
+
azureAdTenantId?: string | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
} | undefined;
|
|
56
49
|
authCredentials?: {
|
|
57
50
|
clientSecretHash: string;
|
|
58
51
|
grantType: string;
|
|
59
|
-
rotatedAt?:
|
|
60
|
-
} |
|
|
52
|
+
rotatedAt?: Date | undefined;
|
|
53
|
+
} | undefined;
|
|
61
54
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
62
55
|
_id: string;
|
|
63
56
|
enabled: boolean;
|
|
64
57
|
billing: "paypal" | "invoice" | "stripe";
|
|
65
|
-
repositories:
|
|
66
|
-
_id: string;
|
|
67
|
-
type: "github";
|
|
68
|
-
}, import("mongoose").Types.Subdocument<string, any, {
|
|
69
|
-
_id: string;
|
|
70
|
-
type: "github";
|
|
71
|
-
}> & {
|
|
58
|
+
repositories: {
|
|
72
59
|
_id: string;
|
|
73
60
|
type: "github";
|
|
74
|
-
}
|
|
61
|
+
}[];
|
|
75
62
|
schemaVersion: number;
|
|
76
|
-
name?: string |
|
|
77
|
-
description?: string |
|
|
78
|
-
avatarUrl?: string |
|
|
63
|
+
name?: string | undefined;
|
|
64
|
+
description?: string | undefined;
|
|
65
|
+
avatarUrl?: string | undefined;
|
|
79
66
|
authProvider?: {
|
|
80
67
|
provider: "azure-ad";
|
|
81
68
|
clientId: string;
|
|
82
69
|
clientSecret: string;
|
|
83
70
|
emailRegex: string;
|
|
84
71
|
config?: {
|
|
85
|
-
azureAdTenantId?: string |
|
|
86
|
-
} |
|
|
87
|
-
} |
|
|
72
|
+
azureAdTenantId?: string | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
} | undefined;
|
|
88
75
|
authCredentials?: {
|
|
89
76
|
clientSecretHash: string;
|
|
90
77
|
grantType: string;
|
|
91
|
-
rotatedAt?:
|
|
92
|
-
} |
|
|
93
|
-
}
|
|
78
|
+
rotatedAt?: Date | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
}>> & import("mongoose").FlatRecord<{
|
|
94
81
|
_id: string;
|
|
95
82
|
enabled: boolean;
|
|
96
83
|
billing: "paypal" | "invoice" | "stripe";
|
|
97
|
-
repositories:
|
|
98
|
-
_id: string;
|
|
99
|
-
type: "github";
|
|
100
|
-
}, import("mongoose").Types.Subdocument<string, any, {
|
|
101
|
-
_id: string;
|
|
102
|
-
type: "github";
|
|
103
|
-
}> & {
|
|
84
|
+
repositories: {
|
|
104
85
|
_id: string;
|
|
105
86
|
type: "github";
|
|
106
|
-
}
|
|
87
|
+
}[];
|
|
107
88
|
schemaVersion: number;
|
|
108
|
-
name?: string |
|
|
109
|
-
description?: string |
|
|
110
|
-
avatarUrl?: string |
|
|
89
|
+
name?: string | undefined;
|
|
90
|
+
description?: string | undefined;
|
|
91
|
+
avatarUrl?: string | undefined;
|
|
111
92
|
authProvider?: {
|
|
112
93
|
provider: "azure-ad";
|
|
113
94
|
clientId: string;
|
|
114
95
|
clientSecret: string;
|
|
115
96
|
emailRegex: string;
|
|
116
97
|
config?: {
|
|
117
|
-
azureAdTenantId?: string |
|
|
118
|
-
} |
|
|
119
|
-
} |
|
|
98
|
+
azureAdTenantId?: string | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
} | undefined;
|
|
120
101
|
authCredentials?: {
|
|
121
102
|
clientSecretHash: string;
|
|
122
103
|
grantType: string;
|
|
123
|
-
rotatedAt?:
|
|
124
|
-
} |
|
|
104
|
+
rotatedAt?: Date | undefined;
|
|
105
|
+
} | undefined;
|
|
125
106
|
}> & Required<{
|
|
126
107
|
_id: string;
|
|
127
|
-
}
|
|
128
|
-
__v: number;
|
|
129
|
-
}>;
|
|
108
|
+
}>>;
|
|
130
109
|
//# sourceMappingURL=Tenant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tenant.d.ts","sourceRoot":"","sources":["../../src/schema/Tenant.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tenant.d.ts","sourceRoot":"","sources":["../../src/schema/Tenant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAkB,MAAM,UAAU,CAAC;AAKlD,eAAO,MAAM,eAAe,0CAA2C,CAAC;AACxE,eAAO,MAAM,cAAc,uBAAwB,CAAC;AAMpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EvB,CAAC"}
|
package/lib/schema/Tenant.js
CHANGED
|
@@ -10,8 +10,6 @@ function tenantIdValidator(_id) {
|
|
|
10
10
|
return _id.length && _id.length <= 10 && /^[a-z]([a-z0-9])*$/.test(_id);
|
|
11
11
|
}
|
|
12
12
|
exports.TenantSchema = new mongoose_1.Schema({
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
14
|
-
// @ts-ignore mongoose v8 types exclude _id from SchemaDefinition inference but runtime supports it
|
|
15
13
|
_id: {
|
|
16
14
|
type: String,
|
|
17
15
|
required: true,
|
package/lib/schema/Tenant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tenant.js","sourceRoot":"","sources":["../../src/schema/Tenant.ts"],"names":[],"mappings":";;;AA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E,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,oBAAoB;aAC9B;YACD,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE;SAC3C;QACD,QAAQ,EAAE,KAAK;KAChB;IAED,YAAY,EAAE;QACZ;YACE,IAAI,EAAE;gBACJ,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,CAAC,QAAQ,CAAC;gBAChB,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,QAAQ;aAClB;YACD,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;SACtC;KACF;IAED,aAAa,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE;CACzE,CAAC,CAAC"}
|
package/lib/schema/User.d.ts
CHANGED
|
@@ -15,146 +15,95 @@
|
|
|
15
15
|
/// <reference types="mongoose/types/populate" />
|
|
16
16
|
/// <reference types="mongoose/types/query" />
|
|
17
17
|
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
18
19
|
/// <reference types="mongoose/types/session" />
|
|
19
20
|
/// <reference types="mongoose/types/types" />
|
|
20
21
|
/// <reference types="mongoose/types/utility" />
|
|
21
22
|
/// <reference types="mongoose/types/validation" />
|
|
22
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
23
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
25
|
import { Schema } from 'mongoose';
|
|
27
26
|
export type UserRole = 'osaas-admin' | 'user';
|
|
28
27
|
export type TenantUserRole = 'owner' | 'admin' | 'member';
|
|
29
28
|
export declare const UserSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
30
29
|
paypal: {
|
|
31
|
-
payerId?: string |
|
|
30
|
+
payerId?: string | undefined;
|
|
32
31
|
};
|
|
33
32
|
schemaVersion: number;
|
|
34
33
|
role: UserRole;
|
|
35
34
|
email: string;
|
|
36
|
-
tenants:
|
|
37
|
-
_id: string;
|
|
38
|
-
role: "owner" | "admin" | "member";
|
|
39
|
-
personalAccessToken: string;
|
|
40
|
-
}, import("mongoose").Types.Subdocument<string, any, {
|
|
35
|
+
tenants: {
|
|
41
36
|
_id: string;
|
|
42
37
|
role: "owner" | "admin" | "member";
|
|
43
38
|
personalAccessToken: string;
|
|
44
|
-
}
|
|
45
|
-
_id: string;
|
|
46
|
-
role: "owner" | "admin" | "member";
|
|
47
|
-
personalAccessToken: string;
|
|
48
|
-
}>;
|
|
39
|
+
}[];
|
|
49
40
|
notifications: import("mongoose").Types.DocumentArray<{
|
|
50
41
|
message: string;
|
|
51
42
|
link: string;
|
|
52
|
-
createdAt:
|
|
53
|
-
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
54
|
-
message: string;
|
|
55
|
-
link: string;
|
|
56
|
-
createdAt: NativeDate;
|
|
57
|
-
}> & {
|
|
58
|
-
message: string;
|
|
59
|
-
link: string;
|
|
60
|
-
createdAt: NativeDate;
|
|
43
|
+
createdAt: Date;
|
|
61
44
|
}>;
|
|
62
45
|
favoriteServices: string[];
|
|
63
|
-
lastAccessed?:
|
|
64
|
-
emailVerified?:
|
|
65
|
-
lastContacted?:
|
|
66
|
-
captcha?: string |
|
|
67
|
-
firstName?: string |
|
|
68
|
-
lastName?: string |
|
|
69
|
-
jobTitle?: string |
|
|
70
|
-
industry?: string |
|
|
46
|
+
lastAccessed?: Date | undefined;
|
|
47
|
+
emailVerified?: Date | undefined;
|
|
48
|
+
lastContacted?: Date | undefined;
|
|
49
|
+
captcha?: string | undefined;
|
|
50
|
+
firstName?: string | undefined;
|
|
51
|
+
lastName?: string | undefined;
|
|
52
|
+
jobTitle?: string | undefined;
|
|
53
|
+
industry?: string | undefined;
|
|
71
54
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
72
55
|
paypal: {
|
|
73
|
-
payerId?: string |
|
|
56
|
+
payerId?: string | undefined;
|
|
74
57
|
};
|
|
75
58
|
schemaVersion: number;
|
|
76
59
|
role: UserRole;
|
|
77
60
|
email: string;
|
|
78
|
-
tenants:
|
|
61
|
+
tenants: {
|
|
79
62
|
_id: string;
|
|
80
63
|
role: "owner" | "admin" | "member";
|
|
81
64
|
personalAccessToken: string;
|
|
82
|
-
}
|
|
83
|
-
_id: string;
|
|
84
|
-
role: "owner" | "admin" | "member";
|
|
85
|
-
personalAccessToken: string;
|
|
86
|
-
}> & {
|
|
87
|
-
_id: string;
|
|
88
|
-
role: "owner" | "admin" | "member";
|
|
89
|
-
personalAccessToken: string;
|
|
90
|
-
}>;
|
|
65
|
+
}[];
|
|
91
66
|
notifications: import("mongoose").Types.DocumentArray<{
|
|
92
67
|
message: string;
|
|
93
68
|
link: string;
|
|
94
|
-
createdAt:
|
|
95
|
-
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
96
|
-
message: string;
|
|
97
|
-
link: string;
|
|
98
|
-
createdAt: NativeDate;
|
|
99
|
-
}> & {
|
|
100
|
-
message: string;
|
|
101
|
-
link: string;
|
|
102
|
-
createdAt: NativeDate;
|
|
69
|
+
createdAt: Date;
|
|
103
70
|
}>;
|
|
104
71
|
favoriteServices: string[];
|
|
105
|
-
lastAccessed?:
|
|
106
|
-
emailVerified?:
|
|
107
|
-
lastContacted?:
|
|
108
|
-
captcha?: string |
|
|
109
|
-
firstName?: string |
|
|
110
|
-
lastName?: string |
|
|
111
|
-
jobTitle?: string |
|
|
112
|
-
industry?: string |
|
|
113
|
-
}
|
|
72
|
+
lastAccessed?: Date | undefined;
|
|
73
|
+
emailVerified?: Date | undefined;
|
|
74
|
+
lastContacted?: Date | undefined;
|
|
75
|
+
captcha?: string | undefined;
|
|
76
|
+
firstName?: string | undefined;
|
|
77
|
+
lastName?: string | undefined;
|
|
78
|
+
jobTitle?: string | undefined;
|
|
79
|
+
industry?: string | undefined;
|
|
80
|
+
}>> & import("mongoose").FlatRecord<{
|
|
114
81
|
paypal: {
|
|
115
|
-
payerId?: string |
|
|
82
|
+
payerId?: string | undefined;
|
|
116
83
|
};
|
|
117
84
|
schemaVersion: number;
|
|
118
85
|
role: UserRole;
|
|
119
86
|
email: string;
|
|
120
|
-
tenants:
|
|
121
|
-
_id: string;
|
|
122
|
-
role: "owner" | "admin" | "member";
|
|
123
|
-
personalAccessToken: string;
|
|
124
|
-
}, import("mongoose").Types.Subdocument<string, any, {
|
|
87
|
+
tenants: {
|
|
125
88
|
_id: string;
|
|
126
89
|
role: "owner" | "admin" | "member";
|
|
127
90
|
personalAccessToken: string;
|
|
128
|
-
}
|
|
129
|
-
_id: string;
|
|
130
|
-
role: "owner" | "admin" | "member";
|
|
131
|
-
personalAccessToken: string;
|
|
132
|
-
}>;
|
|
91
|
+
}[];
|
|
133
92
|
notifications: import("mongoose").Types.DocumentArray<{
|
|
134
93
|
message: string;
|
|
135
94
|
link: string;
|
|
136
|
-
createdAt:
|
|
137
|
-
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
138
|
-
message: string;
|
|
139
|
-
link: string;
|
|
140
|
-
createdAt: NativeDate;
|
|
141
|
-
}> & {
|
|
142
|
-
message: string;
|
|
143
|
-
link: string;
|
|
144
|
-
createdAt: NativeDate;
|
|
95
|
+
createdAt: Date;
|
|
145
96
|
}>;
|
|
146
97
|
favoriteServices: string[];
|
|
147
|
-
lastAccessed?:
|
|
148
|
-
emailVerified?:
|
|
149
|
-
lastContacted?:
|
|
150
|
-
captcha?: string |
|
|
151
|
-
firstName?: string |
|
|
152
|
-
lastName?: string |
|
|
153
|
-
jobTitle?: string |
|
|
154
|
-
industry?: string |
|
|
98
|
+
lastAccessed?: Date | undefined;
|
|
99
|
+
emailVerified?: Date | undefined;
|
|
100
|
+
lastContacted?: Date | undefined;
|
|
101
|
+
captcha?: string | undefined;
|
|
102
|
+
firstName?: string | undefined;
|
|
103
|
+
lastName?: string | undefined;
|
|
104
|
+
jobTitle?: string | undefined;
|
|
105
|
+
industry?: string | undefined;
|
|
155
106
|
}> & {
|
|
156
107
|
_id: import("mongoose").Types.ObjectId;
|
|
157
|
-
} & {
|
|
158
|
-
__v: number;
|
|
159
108
|
}>;
|
|
160
109
|
//# sourceMappingURL=User.d.ts.map
|
package/lib/schema/User.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../src/schema/User.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../src/schema/User.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;AAC9C,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AAY1D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuErB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osaas/types",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "OSaaS shared types",
|
|
5
5
|
"author": "Jonas Birmé <jonas.birme@eyevinn.se>",
|
|
6
6
|
"homepage": "https://github.com/Eyevinn/osaas-lib-util#readme",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"url": "https://github.com/Eyevinn/osaas-lib-util/issues"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"mongoose": "^
|
|
31
|
+
"mongoose": "^7.4.3",
|
|
32
32
|
"nanoid": "^3.0.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "3de8e3ff5130c9a3c9c33a039fef7ef03963dd4d"
|
|
35
35
|
}
|