@tinyrack/tinyauth-server 0.4.0 → 0.5.0
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/entities/background-job.entity.d.ts.map +1 -1
- package/dist/entities/background-job.entity.js +15 -3
- package/dist/entities/background-job.entity.js.map +1 -1
- package/dist/entities/oauth-client.entity.d.ts +147 -0
- package/dist/entities/oauth-client.entity.d.ts.map +1 -1
- package/dist/entities/oauth-client.entity.js +10 -0
- package/dist/entities/oauth-client.entity.js.map +1 -1
- package/dist/entities/oauth-code.entity.d.ts +147 -0
- package/dist/entities/oauth-code.entity.d.ts.map +1 -1
- package/dist/entities/oauth-device-code.entity.d.ts +1737 -0
- package/dist/entities/oauth-device-code.entity.d.ts.map +1 -0
- package/dist/entities/oauth-device-code.entity.js +61 -0
- package/dist/entities/oauth-device-code.entity.js.map +1 -0
- package/dist/entities/revoked-token.entity.d.ts +147 -0
- package/dist/entities/revoked-token.entity.d.ts.map +1 -1
- package/dist/entities/scheduler-job.entity.d.ts.map +1 -1
- package/dist/entities/scheduler-job.entity.js +10 -2
- package/dist/entities/scheduler-job.entity.js.map +1 -1
- package/dist/entities/user-consent.entity.d.ts +147 -0
- package/dist/entities/user-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-oauth.entity.d.ts.map +1 -1
- package/dist/entities/user-oauth.entity.js +2 -1
- package/dist/entities/user-oauth.entity.js.map +1 -1
- package/dist/entrypoints/app.d.ts +126 -19
- package/dist/entrypoints/app.d.ts.map +1 -1
- package/dist/entrypoints/app.js +72 -5
- package/dist/entrypoints/app.js.map +1 -1
- package/dist/entrypoints/database/postgres/cli.js +5 -5
- package/dist/entrypoints/database/postgres/cli.js.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.d.ts +146 -94
- package/dist/entrypoints/database/postgres/compiled-functions.d.ts.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.js +881 -122
- package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
- package/dist/entrypoints/database/sqlite/cli.js +2 -2
- package/dist/entrypoints/database/sqlite/cli.js.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +146 -94
- package/dist/entrypoints/database/sqlite/compiled-functions.d.ts.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.js +881 -122
- package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
- package/dist/lib/config/client.d.ts +8 -0
- package/dist/lib/config/client.d.ts.map +1 -1
- package/dist/lib/config/client.js +62 -2
- package/dist/lib/config/client.js.map +1 -1
- package/dist/lib/config/resolved.d.ts +4 -0
- package/dist/lib/config/resolved.d.ts.map +1 -1
- package/dist/lib/config/security.d.ts.map +1 -1
- package/dist/lib/config/security.js +25 -2
- package/dist/lib/config/security.js.map +1 -1
- package/dist/lib/crypto.d.ts.map +1 -1
- package/dist/lib/crypto.js +11 -1
- package/dist/lib/crypto.js.map +1 -1
- package/dist/lib/database/entities.d.ts.map +1 -1
- package/dist/lib/database/entities.js +2 -0
- package/dist/lib/database/entities.js.map +1 -1
- package/dist/lib/escape-html.d.ts +7 -0
- package/dist/lib/escape-html.d.ts.map +1 -0
- package/dist/lib/escape-html.js +14 -0
- package/dist/lib/escape-html.js.map +1 -0
- package/dist/migrations/postgres/Migration20260619075007.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260619075007.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260619075007.js +86 -0
- package/dist/migrations/postgres/Migration20260619075007.js.map +1 -0
- package/dist/migrations/postgres/Migration20260619191600_unique_oauth_client_client_id.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260619191600_unique_oauth_client_client_id.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260619191600_unique_oauth_client_client_id.js +12 -0
- package/dist/migrations/postgres/Migration20260619191600_unique_oauth_client_client_id.js.map +1 -0
- package/dist/migrations/postgres/index.d.ts.map +1 -1
- package/dist/migrations/postgres/index.js +4 -0
- package/dist/migrations/postgres/index.js.map +1 -1
- package/dist/migrations/sqlite/Migration20260619075330.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260619075330.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260619075330.js +57 -0
- package/dist/migrations/sqlite/Migration20260619075330.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260619191600_unique_oauth_client_client_id.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260619191600_unique_oauth_client_client_id.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260619191600_unique_oauth_client_client_id.js +12 -0
- package/dist/migrations/sqlite/Migration20260619191600_unique_oauth_client_client_id.js.map +1 -0
- package/dist/migrations/sqlite/index.d.ts.map +1 -1
- package/dist/migrations/sqlite/index.js +4 -0
- package/dist/migrations/sqlite/index.js.map +1 -1
- package/dist/repositories/oauth-device-code.repository.d.ts +20 -0
- package/dist/repositories/oauth-device-code.repository.d.ts.map +1 -0
- package/dist/repositories/oauth-device-code.repository.js +55 -0
- package/dist/repositories/oauth-device-code.repository.js.map +1 -0
- package/dist/routes/.well-known/index.d.ts +29 -3
- package/dist/routes/.well-known/index.d.ts.map +1 -1
- package/dist/routes/.well-known/openid-configuration/get.d.ts +30 -4
- package/dist/routes/.well-known/openid-configuration/get.d.ts.map +1 -1
- package/dist/routes/.well-known/openid-configuration/get.js +5 -2
- package/dist/routes/.well-known/openid-configuration/get.js.map +1 -1
- package/dist/routes/index.d.ts +123 -18
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/oauth/.well-known/openid-configuration/get.d.ts +33 -0
- package/dist/routes/oauth/.well-known/openid-configuration/get.d.ts.map +1 -1
- package/dist/routes/oauth/.well-known/openid-configuration/get.js +78 -44
- package/dist/routes/oauth/.well-known/openid-configuration/get.js.map +1 -1
- package/dist/routes/oauth/authorize/get.d.ts +8 -26
- package/dist/routes/oauth/authorize/get.d.ts.map +1 -1
- package/dist/routes/oauth/authorize/get.js +34 -3
- package/dist/routes/oauth/authorize/get.js.map +1 -1
- package/dist/routes/oauth/cors.d.ts +9 -0
- package/dist/routes/oauth/cors.d.ts.map +1 -0
- package/dist/routes/oauth/cors.js +50 -0
- package/dist/routes/oauth/cors.js.map +1 -0
- package/dist/routes/oauth/device/get-post.d.ts +28 -0
- package/dist/routes/oauth/device/get-post.d.ts.map +1 -0
- package/dist/routes/oauth/device/get-post.js +67 -0
- package/dist/routes/oauth/device/get-post.js.map +1 -0
- package/dist/routes/oauth/device-authorization/post.d.ts +25 -0
- package/dist/routes/oauth/device-authorization/post.d.ts.map +1 -0
- package/dist/routes/oauth/device-authorization/post.js +87 -0
- package/dist/routes/oauth/device-authorization/post.js.map +1 -0
- package/dist/routes/oauth/end-session/get.d.ts +34 -0
- package/dist/routes/oauth/end-session/get.d.ts.map +1 -0
- package/dist/routes/oauth/end-session/get.js +74 -0
- package/dist/routes/oauth/end-session/get.js.map +1 -0
- package/dist/routes/oauth/index.d.ts +95 -16
- package/dist/routes/oauth/index.d.ts.map +1 -1
- package/dist/routes/oauth/index.js +8 -0
- package/dist/routes/oauth/index.js.map +1 -1
- package/dist/routes/oauth/introspect/post.d.ts.map +1 -1
- package/dist/routes/oauth/introspect/post.js +2 -0
- package/dist/routes/oauth/introspect/post.js.map +1 -1
- package/dist/routes/oauth/revoke/post.d.ts.map +1 -1
- package/dist/routes/oauth/revoke/post.js +2 -0
- package/dist/routes/oauth/revoke/post.js.map +1 -1
- package/dist/routes/oauth/token/post.d.ts +2 -0
- package/dist/routes/oauth/token/post.d.ts.map +1 -1
- package/dist/routes/oauth/token/post.js +46 -0
- package/dist/routes/oauth/token/post.js.map +1 -1
- package/dist/routes/oauth/userinfo/get.d.ts +16 -4
- package/dist/routes/oauth/userinfo/get.d.ts.map +1 -1
- package/dist/routes/oauth/userinfo/get.js +50 -30
- package/dist/routes/oauth/userinfo/get.js.map +1 -1
- package/dist/schemas/error.d.ts +100 -0
- package/dist/schemas/error.d.ts.map +1 -1
- package/dist/schemas/error.js +4 -0
- package/dist/schemas/error.js.map +1 -1
- package/dist/schemas/field.d.ts +2 -0
- package/dist/schemas/field.d.ts.map +1 -1
- package/dist/schemas/field.js +6 -1
- package/dist/schemas/field.js.map +1 -1
- package/dist/schemas/response.d.ts +2 -0
- package/dist/schemas/response.d.ts.map +1 -1
- package/dist/schemas/response.js +4 -0
- package/dist/schemas/response.js.map +1 -1
- package/dist/seeders/config.seeder.js +2 -0
- package/dist/seeders/config.seeder.js.map +1 -1
- package/dist/services/container.d.ts +3 -1
- package/dist/services/container.d.ts.map +1 -1
- package/dist/services/jwt.service.d.ts +4 -0
- package/dist/services/jwt.service.d.ts.map +1 -1
- package/dist/services/jwt.service.js +27 -6
- package/dist/services/jwt.service.js.map +1 -1
- package/dist/services/mikro.service.d.ts +2 -0
- package/dist/services/mikro.service.d.ts.map +1 -1
- package/dist/services/mikro.service.js +3 -0
- package/dist/services/mikro.service.js.map +1 -1
- package/dist/services/oauth-authorize.service.d.ts +9 -1
- package/dist/services/oauth-authorize.service.d.ts.map +1 -1
- package/dist/services/oauth-authorize.service.js +109 -17
- package/dist/services/oauth-authorize.service.js.map +1 -1
- package/dist/services/oauth-client.service.d.ts +3 -0
- package/dist/services/oauth-client.service.d.ts.map +1 -1
- package/dist/services/oauth-client.service.js +16 -0
- package/dist/services/oauth-client.service.js.map +1 -1
- package/dist/services/oauth-token.service.d.ts +11 -0
- package/dist/services/oauth-token.service.d.ts.map +1 -1
- package/dist/services/oauth-token.service.js +69 -1
- package/dist/services/oauth-token.service.js.map +1 -1
- package/dist/services/security.service.d.ts +1 -1
- package/dist/services/security.service.d.ts.map +1 -1
- package/dist/services/security.service.js +2 -0
- package/dist/services/security.service.js.map +1 -1
- package/package.json +3 -3
- package/readme.md +5 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-device-code.entity.d.ts","sourceRoot":"","sources":["../../src/entities/oauth-device-code.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,C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+BAAH,GAAG;;;+BAAH,GAAG;;;;;;;;;;;2BAAH,GAAG;;;;;;;2BAAH,GAAG;;;2BAAH,GAAG;;;;;;;;;2BAAH,GAAG;;;;;;+BAAH,GAAG;;;+BAAH,GAAG;;;;;;;;;+BAAH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAH,GAAG;;;mCAAH,GAAG;;;;;;;;;mCAAH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAH,GAAG;;;mCAAH,GAAG;;;;;;;;;mCAAH,GAAG;;;;uCAAH,GAAG;;;uCAAH,GAAG;;;;;;;;;;;;;;;;mCAAH,GAAG;;;mCAAH,GAAG;;;;;;;;;mCAAH,GAAG;;;;uCAAH,GAAG;;;uCAAH,GAAG;;;;;;;;;;;;;;;;;;mCAAH,GAAG;;;mCAAH,GAAG;;;;;;;+BAAH,GAAG;;;+BAAH,GAAG;;;;;;;2BAAH,GAAG;;;;2BAAH,GAAG;;;2BAAH,GAAG;;;;;;;uBAAH,GAAG;;;uBAAH,GAAG;;;;;;;;;;;;;;;;;;;;;;mBAAH,GAAG;;;mBAAH,GAAG;;qIAL9ngB,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAC9C,OAAO,2BAA2B,CACnC,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineEntity } from '@mikro-orm/core';
|
|
2
|
+
import { OAuthDeviceCodeRepository } from "../repositories/oauth-device-code.repository.js";
|
|
3
|
+
import { BaseSchema } from "./base.entity.js";
|
|
4
|
+
import { OAuthClientEntitySchema } from "./oauth-client.entity.js";
|
|
5
|
+
import { UserEntity } from "./user.entity.js";
|
|
6
|
+
export const OAuthDeviceCodeEntitySchema = defineEntity({
|
|
7
|
+
name: 'OAuthDeviceCodeEntity',
|
|
8
|
+
tableName: 'oauth_device_code',
|
|
9
|
+
comment: 'Issued OAuth device authorization grants',
|
|
10
|
+
extends: BaseSchema,
|
|
11
|
+
repository: () => OAuthDeviceCodeRepository,
|
|
12
|
+
properties: (p) => ({
|
|
13
|
+
id: p
|
|
14
|
+
.uuid()
|
|
15
|
+
.primary()
|
|
16
|
+
.onCreate(() => crypto.randomUUID()),
|
|
17
|
+
deviceCodeHash: p
|
|
18
|
+
.string()
|
|
19
|
+
.comment('Hash of the issued device_code')
|
|
20
|
+
.unique(),
|
|
21
|
+
userCodeHash: p
|
|
22
|
+
.string()
|
|
23
|
+
.comment('Hash of the user-facing verification code')
|
|
24
|
+
.unique(),
|
|
25
|
+
client: () => p
|
|
26
|
+
.manyToOne(OAuthClientEntitySchema)
|
|
27
|
+
.comment('Reference to the OAuth client that requested the device code'),
|
|
28
|
+
scope: p
|
|
29
|
+
.json()
|
|
30
|
+
.comment('Scopes requested by the device authorization request')
|
|
31
|
+
.default([]),
|
|
32
|
+
expiresAt: p.datetime().comment('Absolute expiry timestamp for the code'),
|
|
33
|
+
authorizedUser: () => p
|
|
34
|
+
.manyToOne(UserEntity)
|
|
35
|
+
.comment('User that approved the device authorization request')
|
|
36
|
+
.nullable(),
|
|
37
|
+
authorizedAt: p
|
|
38
|
+
.datetime()
|
|
39
|
+
.comment('Timestamp when the user approved the request')
|
|
40
|
+
.nullable(),
|
|
41
|
+
consumedAt: p
|
|
42
|
+
.datetime()
|
|
43
|
+
.comment('Timestamp when the device code was exchanged')
|
|
44
|
+
.nullable(),
|
|
45
|
+
}),
|
|
46
|
+
indexes: [
|
|
47
|
+
{
|
|
48
|
+
name: 'oauth_device_code_device_hash_idx',
|
|
49
|
+
properties: ['deviceCodeHash'],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'oauth_device_code_user_hash_idx',
|
|
53
|
+
properties: ['userCodeHash'],
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'oauth_device_code_expired_at_idx',
|
|
57
|
+
properties: ['expiresAt'],
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
});
|
|
61
|
+
//# sourceMappingURL=oauth-device-code.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth-device-code.entity.js","sourceRoot":"","sources":["../../src/entities/oauth-device-code.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,CAAC,MAAM,2BAA2B,GAAG,YAAY,CAAC;IACtD,IAAI,EAAE,uBAAuB;IAC7B,SAAS,EAAE,mBAAmB;IAC9B,OAAO,EAAE,0CAA0C;IACnD,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,GAAG,EAAE,CAAC,yBAAyB;IAC3C,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAClB,EAAE,EAAE,CAAC;aACF,IAAI,EAAE;aACN,OAAO,EAAE;aACT,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;QACtC,cAAc,EAAE,CAAC;aACd,MAAM,EAAE;aACR,OAAO,CAAC,gCAAgC,CAAC;aACzC,MAAM,EAAE;QACX,YAAY,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,OAAO,CAAC,2CAA2C,CAAC;aACpD,MAAM,EAAE;QACX,MAAM,EAAE,GAAG,EAAE,CACX,CAAC;aACE,SAAS,CAAC,uBAAuB,CAAC;aAClC,OAAO,CACN,8DAA8D,CAC/D;QACL,KAAK,EAAE,CAAC;aACL,IAAI,EAAY;aAChB,OAAO,CAAC,sDAAsD,CAAC;aAC/D,OAAO,CAAC,EAAE,CAAC;QACd,SAAS,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,wCAAwC,CAAC;QACzE,cAAc,EAAE,GAAG,EAAE,CACnB,CAAC;aACE,SAAS,CAAC,UAAU,CAAC;aACrB,OAAO,CAAC,qDAAqD,CAAC;aAC9D,QAAQ,EAAE;QACf,YAAY,EAAE,CAAC;aACZ,QAAQ,EAAE;aACV,OAAO,CAAC,8CAA8C,CAAC;aACvD,QAAQ,EAAE;QACb,UAAU,EAAE,CAAC;aACV,QAAQ,EAAE;aACV,OAAO,CAAC,8CAA8C,CAAC;aACvD,QAAQ,EAAE;KACd,CAAC;IACF,OAAO,EAAE;QACP;YACE,IAAI,EAAE,mCAAmC;YACzC,UAAU,EAAE,CAAC,gBAAgB,CAAC;SAC/B;QACD;YACE,IAAI,EAAE,iCAAiC;YACvC,UAAU,EAAE,CAAC,cAAc,CAAC;SAC7B;QACD;YACE,IAAI,EAAE,kCAAkC;YACxC,UAAU,EAAE,CAAC,WAAW,CAAC;SAC1B;KACF;CACF,CAAC,CAAC"}
|
|
@@ -49,6 +49,12 @@ export declare const RevokedTokenEntitySchema: import("@mikro-orm/core").EntityS
|
|
|
49
49
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
50
50
|
default: never[];
|
|
51
51
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
52
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
53
|
+
default: never[];
|
|
54
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
55
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
56
|
+
default: never[];
|
|
57
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
52
58
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
53
59
|
default: true;
|
|
54
60
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -110,6 +116,49 @@ export declare const RevokedTokenEntitySchema: import("@mikro-orm/core").EntityS
|
|
|
110
116
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
111
117
|
kind: "1:m";
|
|
112
118
|
}>;
|
|
119
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
120
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
121
|
+
primary: true;
|
|
122
|
+
} & {
|
|
123
|
+
onCreate: (...args: any[]) => any;
|
|
124
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
125
|
+
readonly deviceCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
126
|
+
readonly userCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
127
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
128
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
129
|
+
onCreate: (...args: any[]) => any;
|
|
130
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
131
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
132
|
+
onCreate: (...args: any[]) => any;
|
|
133
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
134
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
135
|
+
kind: "m:1";
|
|
136
|
+
}>;
|
|
137
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
138
|
+
default: never[];
|
|
139
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
140
|
+
readonly expiresAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
141
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
142
|
+
kind: "m:1";
|
|
143
|
+
}, "nullable"> & {
|
|
144
|
+
nullable: true;
|
|
145
|
+
}>;
|
|
146
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
147
|
+
nullable: true;
|
|
148
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
149
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
150
|
+
nullable: true;
|
|
151
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
152
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
153
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
154
|
+
onCreate: (...args: any[]) => any;
|
|
155
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
156
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
157
|
+
onCreate: (...args: any[]) => any;
|
|
158
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
159
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
160
|
+
kind: "1:m";
|
|
161
|
+
}>;
|
|
113
162
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
114
163
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
115
164
|
primary: true;
|
|
@@ -584,6 +633,12 @@ export declare const RevokedTokenEntitySchema: import("@mikro-orm/core").EntityS
|
|
|
584
633
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
585
634
|
default: never[];
|
|
586
635
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
636
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
637
|
+
default: never[];
|
|
638
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
639
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
640
|
+
default: never[];
|
|
641
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
587
642
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
588
643
|
default: true;
|
|
589
644
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -645,6 +700,49 @@ export declare const RevokedTokenEntitySchema: import("@mikro-orm/core").EntityS
|
|
|
645
700
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
646
701
|
kind: "1:m";
|
|
647
702
|
}>;
|
|
703
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
704
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
705
|
+
primary: true;
|
|
706
|
+
} & {
|
|
707
|
+
onCreate: (...args: any[]) => any;
|
|
708
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
709
|
+
readonly deviceCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
710
|
+
readonly userCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
711
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
712
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
713
|
+
onCreate: (...args: any[]) => any;
|
|
714
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
715
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
716
|
+
onCreate: (...args: any[]) => any;
|
|
717
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
718
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
719
|
+
kind: "m:1";
|
|
720
|
+
}>;
|
|
721
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
722
|
+
default: never[];
|
|
723
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
724
|
+
readonly expiresAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
725
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
726
|
+
kind: "m:1";
|
|
727
|
+
}, "nullable"> & {
|
|
728
|
+
nullable: true;
|
|
729
|
+
}>;
|
|
730
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
731
|
+
nullable: true;
|
|
732
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
733
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
734
|
+
nullable: true;
|
|
735
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
736
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
737
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
738
|
+
onCreate: (...args: any[]) => any;
|
|
739
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
740
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
741
|
+
onCreate: (...args: any[]) => any;
|
|
742
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
743
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
744
|
+
kind: "1:m";
|
|
745
|
+
}>;
|
|
648
746
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
649
747
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
650
748
|
primary: true;
|
|
@@ -1105,6 +1203,12 @@ export declare const RevokedTokenEntitySchema: import("@mikro-orm/core").EntityS
|
|
|
1105
1203
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1106
1204
|
default: never[];
|
|
1107
1205
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1206
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1207
|
+
default: never[];
|
|
1208
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1209
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1210
|
+
default: never[];
|
|
1211
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1108
1212
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1109
1213
|
default: true;
|
|
1110
1214
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -1166,6 +1270,49 @@ export declare const RevokedTokenEntitySchema: import("@mikro-orm/core").EntityS
|
|
|
1166
1270
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1167
1271
|
kind: "1:m";
|
|
1168
1272
|
}>;
|
|
1273
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1274
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
1275
|
+
primary: true;
|
|
1276
|
+
} & {
|
|
1277
|
+
onCreate: (...args: any[]) => any;
|
|
1278
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1279
|
+
readonly deviceCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1280
|
+
readonly userCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1281
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1282
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1283
|
+
onCreate: (...args: any[]) => any;
|
|
1284
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1285
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1286
|
+
onCreate: (...args: any[]) => any;
|
|
1287
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1288
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1289
|
+
kind: "m:1";
|
|
1290
|
+
}>;
|
|
1291
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1292
|
+
default: never[];
|
|
1293
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1294
|
+
readonly expiresAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1295
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
1296
|
+
kind: "m:1";
|
|
1297
|
+
}, "nullable"> & {
|
|
1298
|
+
nullable: true;
|
|
1299
|
+
}>;
|
|
1300
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
1301
|
+
nullable: true;
|
|
1302
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1303
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
1304
|
+
nullable: true;
|
|
1305
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1306
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1307
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1308
|
+
onCreate: (...args: any[]) => any;
|
|
1309
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1310
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1311
|
+
onCreate: (...args: any[]) => any;
|
|
1312
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1313
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1314
|
+
kind: "1:m";
|
|
1315
|
+
}>;
|
|
1169
1316
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1170
1317
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
1171
1318
|
primary: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revoked-token.entity.d.ts","sourceRoot":"","sources":["../../src/entities/revoked-token.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAKrF;;GAEG;AACH,eAAO,MAAM,UAAU;;;CAGb,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAErE;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB;;;;mBAqD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O,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAGrF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"scheduler-job.entity.d.ts","sourceRoot":"","sources":["../../src/entities/scheduler-job.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAGrF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAsDksgB,GAAG;;;mBAAH,GAAG;;;;mBAAH,GAAG;;;mBAAH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAH,GAAG;;;mBAAH,GAAG;;kIAHxugB,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -31,8 +31,16 @@ export const SchedulerJobEntitySchema = defineEntity({
|
|
|
31
31
|
.comment('Scheduler instance holding the lease')
|
|
32
32
|
.nullable(),
|
|
33
33
|
lockedUntil: p.datetime().comment('Lease expiration timestamp').nullable(),
|
|
34
|
-
runCount: p
|
|
35
|
-
|
|
34
|
+
runCount: p
|
|
35
|
+
.integer()
|
|
36
|
+
.comment('Total run attempts')
|
|
37
|
+
.default(0)
|
|
38
|
+
.check('run_count >= 0'),
|
|
39
|
+
failureCount: p
|
|
40
|
+
.integer()
|
|
41
|
+
.comment('Total failed run attempts')
|
|
42
|
+
.default(0)
|
|
43
|
+
.check('failure_count >= 0'),
|
|
36
44
|
}),
|
|
37
45
|
indexes: [
|
|
38
46
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version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EAAE;QAC1E,SAAS,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,QAAQ,EAAE;QACtE,aAAa,EAAE,CAAC;aACb,QAAQ,EAAE;aACV,OAAO,CAAC,sCAAsC,CAAC;aAC/C,QAAQ,EAAE;QACb,WAAW,EAAE,CAAC;aACX,QAAQ,EAAE;aACV,OAAO,CAAC,kCAAkC,CAAC;aAC3C,QAAQ,EAAE;QACb,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;QAC9D,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,OAAO,CAAC,sCAAsC,CAAC;aAC/C,QAAQ,EAAE;QACb,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,QAAQ,EAAE;QAC1E,QAAQ,EAAE,CAAC;aACR,OAAO,EAAE;aACT,OAAO,CAAC,oBAAoB,CAAC;aAC7B,OAAO,CAAC,CAAC,CAAC;aACV,KAAK,CAAC,gBAAgB,CAAC;QAC1B,YAAY,EAAE,CAAC;aACZ,OAAO,EAAE;aACT,OAAO,CAAC,2BAA2B,CAAC;aACpC,OAAO,CAAC,CAAC,CAAC;aACV,KAAK,CAAC,oBAAoB,CAAC;KAC/B,CAAC;IACF,OAAO,EAAE;QACP;YACE,IAAI,EAAE,wCAAwC;YAC9C,UAAU,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;SACrC;QACD;YACE,IAAI,EAAE,iCAAiC;YACvC,UAAU,EAAE,CAAC,aAAa,CAAC;SAC5B;KACF;CACF,CAAC,CAAC"}
|
|
@@ -222,6 +222,12 @@ export declare const UserConsentEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
222
222
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
223
223
|
default: never[];
|
|
224
224
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
225
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
226
|
+
default: never[];
|
|
227
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
228
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
229
|
+
default: never[];
|
|
230
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
225
231
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
226
232
|
default: true;
|
|
227
233
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -283,6 +289,49 @@ export declare const UserConsentEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
283
289
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
284
290
|
kind: "1:m";
|
|
285
291
|
}>;
|
|
292
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
293
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
294
|
+
primary: true;
|
|
295
|
+
} & {
|
|
296
|
+
onCreate: (...args: any[]) => any;
|
|
297
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
298
|
+
readonly deviceCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
299
|
+
readonly userCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
300
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
301
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
302
|
+
onCreate: (...args: any[]) => any;
|
|
303
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
304
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
305
|
+
onCreate: (...args: any[]) => any;
|
|
306
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
307
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
308
|
+
kind: "m:1";
|
|
309
|
+
}>;
|
|
310
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
311
|
+
default: never[];
|
|
312
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
313
|
+
readonly expiresAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
314
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
315
|
+
kind: "m:1";
|
|
316
|
+
}, "nullable"> & {
|
|
317
|
+
nullable: true;
|
|
318
|
+
}>;
|
|
319
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
320
|
+
nullable: true;
|
|
321
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
322
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
323
|
+
nullable: true;
|
|
324
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
325
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
326
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
327
|
+
onCreate: (...args: any[]) => any;
|
|
328
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
329
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
330
|
+
onCreate: (...args: any[]) => any;
|
|
331
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
332
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
333
|
+
kind: "1:m";
|
|
334
|
+
}>;
|
|
286
335
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
287
336
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
288
337
|
onCreate: (...args: any[]) => any;
|
|
@@ -757,6 +806,12 @@ export declare const UserConsentEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
757
806
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
758
807
|
default: never[];
|
|
759
808
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
809
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
810
|
+
default: never[];
|
|
811
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
812
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
813
|
+
default: never[];
|
|
814
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
760
815
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
761
816
|
default: true;
|
|
762
817
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -818,6 +873,49 @@ export declare const UserConsentEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
818
873
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
819
874
|
kind: "1:m";
|
|
820
875
|
}>;
|
|
876
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
877
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
878
|
+
primary: true;
|
|
879
|
+
} & {
|
|
880
|
+
onCreate: (...args: any[]) => any;
|
|
881
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
882
|
+
readonly deviceCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
883
|
+
readonly userCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
884
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
885
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
886
|
+
onCreate: (...args: any[]) => any;
|
|
887
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
888
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
889
|
+
onCreate: (...args: any[]) => any;
|
|
890
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
891
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
892
|
+
kind: "m:1";
|
|
893
|
+
}>;
|
|
894
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
895
|
+
default: never[];
|
|
896
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
897
|
+
readonly expiresAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
898
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
899
|
+
kind: "m:1";
|
|
900
|
+
}, "nullable"> & {
|
|
901
|
+
nullable: true;
|
|
902
|
+
}>;
|
|
903
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
904
|
+
nullable: true;
|
|
905
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
906
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
907
|
+
nullable: true;
|
|
908
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
909
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
910
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
911
|
+
onCreate: (...args: any[]) => any;
|
|
912
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
913
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
914
|
+
onCreate: (...args: any[]) => any;
|
|
915
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
916
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
917
|
+
kind: "1:m";
|
|
918
|
+
}>;
|
|
821
919
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
822
920
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
823
921
|
onCreate: (...args: any[]) => any;
|
|
@@ -1278,6 +1376,12 @@ export declare const UserConsentEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
1278
1376
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1279
1377
|
default: never[];
|
|
1280
1378
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1379
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1380
|
+
default: never[];
|
|
1381
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1382
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1383
|
+
default: never[];
|
|
1384
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1281
1385
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1282
1386
|
default: true;
|
|
1283
1387
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -1339,6 +1443,49 @@ export declare const UserConsentEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
1339
1443
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1340
1444
|
kind: "1:m";
|
|
1341
1445
|
}>;
|
|
1446
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1447
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
1448
|
+
primary: true;
|
|
1449
|
+
} & {
|
|
1450
|
+
onCreate: (...args: any[]) => any;
|
|
1451
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1452
|
+
readonly deviceCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1453
|
+
readonly userCodeHash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1454
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1455
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1456
|
+
onCreate: (...args: any[]) => any;
|
|
1457
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1458
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1459
|
+
onCreate: (...args: any[]) => any;
|
|
1460
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1461
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1462
|
+
kind: "m:1";
|
|
1463
|
+
}>;
|
|
1464
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1465
|
+
default: never[];
|
|
1466
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1467
|
+
readonly expiresAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1468
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
1469
|
+
kind: "m:1";
|
|
1470
|
+
}, "nullable"> & {
|
|
1471
|
+
nullable: true;
|
|
1472
|
+
}>;
|
|
1473
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
1474
|
+
nullable: true;
|
|
1475
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1476
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
1477
|
+
nullable: true;
|
|
1478
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1479
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1480
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1481
|
+
onCreate: (...args: any[]) => any;
|
|
1482
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1483
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1484
|
+
onCreate: (...args: any[]) => any;
|
|
1485
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1486
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1487
|
+
kind: "1:m";
|
|
1488
|
+
}>;
|
|
1342
1489
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1343
1490
|
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1344
1491
|
onCreate: (...args: any[]) => any;
|