@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-job.entity.d.ts","sourceRoot":"","sources":["../../src/entities/background-job.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAGvF,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,SAAS,GACT,WAAW,GACX,QAAQ,CAAC;AAEb,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"background-job.entity.d.ts","sourceRoot":"","sources":["../../src/entities/background-job.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAGvF,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,SAAS,GACT,WAAW,GACX,QAAQ,CAAC;AAEb,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAqDmrgB,GAAG;;;mBAAH,GAAG;;;;mBAAH,GAAG;;;mBAAH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAH,GAAG;;;mBAAH,GAAG;;mIAL1tgB,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAC5C,OAAO,yBAAyB,CACjC,CAAC"}
|
|
@@ -11,15 +11,27 @@ export const BackgroundJobEntitySchema = defineEntity({
|
|
|
11
11
|
id: p.string().primary().comment('Stable background job execution id'),
|
|
12
12
|
jobId: p.string().comment('Registered background job identifier'),
|
|
13
13
|
payload: p.text().comment('Serialized JSON job payload'),
|
|
14
|
-
status: p
|
|
14
|
+
status: p
|
|
15
|
+
.string()
|
|
16
|
+
.comment('Background job status')
|
|
17
|
+
.default('pending')
|
|
18
|
+
.check("status in ('pending', 'running', 'succeeded', 'failed')"),
|
|
15
19
|
availableAt: p.datetime().comment('Earliest time this job can run'),
|
|
16
20
|
lockedBy: p
|
|
17
21
|
.string()
|
|
18
22
|
.comment('Scheduler instance holding the lease')
|
|
19
23
|
.nullable(),
|
|
20
24
|
lockedUntil: p.datetime().comment('Lease expiration timestamp').nullable(),
|
|
21
|
-
attemptCount: p
|
|
22
|
-
|
|
25
|
+
attemptCount: p
|
|
26
|
+
.integer()
|
|
27
|
+
.comment('Total run attempts')
|
|
28
|
+
.default(0)
|
|
29
|
+
.check('attempt_count >= 0'),
|
|
30
|
+
maxAttempts: p
|
|
31
|
+
.integer()
|
|
32
|
+
.comment('Maximum run attempts')
|
|
33
|
+
.default(3)
|
|
34
|
+
.check('max_attempts > 0'),
|
|
23
35
|
lastError: p.text().comment('Last failure message').nullable(),
|
|
24
36
|
completedAt: p.datetime().comment('Completion timestamp').nullable(),
|
|
25
37
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-job.entity.js","sourceRoot":"","sources":["../../src/entities/background-job.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAQ9C,MAAM,CAAC,MAAM,yBAAyB,GAAG,YAAY,CAAC;IACpD,IAAI,EAAE,qBAAqB;IAC3B,SAAS,EAAE,iBAAiB;IAC5B,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,GAAG,EAAE,CAAC,uBAAuB;IACzC,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAClB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,oCAAoC,CAAC;QACtE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,sCAAsC,CAAC;QACjE,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,6BAA6B,CAAC;QACxD,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3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AAK,CAAC,oBAAoB,CAAC;QAC9B,WAAW,EAAE,CAAC;aACX,OAAO,EAAE;aACT,OAAO,CAAC,sBAAsB,CAAC;aAC/B,OAAO,CAAC,CAAC,CAAC;aACV,KAAK,CAAC,kBAAkB,CAAC;QAC5B,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;QAC9D,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;KACrE,CAAC;IACF,OAAO,EAAE;QACP;YACE,IAAI,EAAE,yCAAyC;YAC/C,UAAU,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC;SACtC;QACD;YACE,IAAI,EAAE,kCAAkC;YACxC,UAAU,EAAE,CAAC,aAAa,CAAC;SAC5B;QACD;YACE,IAAI,EAAE,4BAA4B;YAClC,UAAU,EAAE,CAAC,OAAO,CAAC;SACtB;KACF;CACF,CAAC,CAAC"}
|
|
@@ -23,6 +23,12 @@ export declare const OAuthClientEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
23
23
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
24
24
|
default: never[];
|
|
25
25
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
26
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
27
|
+
default: never[];
|
|
28
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
29
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
30
|
+
default: never[];
|
|
31
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
26
32
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
27
33
|
default: true;
|
|
28
34
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -84,6 +90,49 @@ export declare const OAuthClientEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
84
90
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
85
91
|
kind: "1:m";
|
|
86
92
|
}>;
|
|
93
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
94
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
95
|
+
primary: true;
|
|
96
|
+
} & {
|
|
97
|
+
onCreate: (...args: any[]) => any;
|
|
98
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
99
|
+
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")>;
|
|
100
|
+
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")>;
|
|
101
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
102
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
103
|
+
onCreate: (...args: any[]) => any;
|
|
104
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
105
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
106
|
+
onCreate: (...args: any[]) => any;
|
|
107
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
108
|
+
}, undefined, never, never, false, undefined, undefined>, typeof OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
109
|
+
kind: "m:1";
|
|
110
|
+
}>;
|
|
111
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
112
|
+
default: never[];
|
|
113
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
114
|
+
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")>;
|
|
115
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
116
|
+
kind: "m:1";
|
|
117
|
+
}, "nullable"> & {
|
|
118
|
+
nullable: true;
|
|
119
|
+
}>;
|
|
120
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
121
|
+
nullable: true;
|
|
122
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
123
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
124
|
+
nullable: true;
|
|
125
|
+
}, 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
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
127
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
128
|
+
onCreate: (...args: any[]) => any;
|
|
129
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
130
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
131
|
+
onCreate: (...args: any[]) => any;
|
|
132
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
133
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
134
|
+
kind: "1:m";
|
|
135
|
+
}>;
|
|
87
136
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
88
137
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
89
138
|
primary: true;
|
|
@@ -558,6 +607,12 @@ export declare const OAuthClientEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
558
607
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
559
608
|
default: never[];
|
|
560
609
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
610
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
611
|
+
default: never[];
|
|
612
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
613
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
614
|
+
default: never[];
|
|
615
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
561
616
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
562
617
|
default: true;
|
|
563
618
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -619,6 +674,49 @@ export declare const OAuthClientEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
619
674
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
620
675
|
kind: "1:m";
|
|
621
676
|
}>;
|
|
677
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
678
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
679
|
+
primary: true;
|
|
680
|
+
} & {
|
|
681
|
+
onCreate: (...args: any[]) => any;
|
|
682
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
683
|
+
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")>;
|
|
684
|
+
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")>;
|
|
685
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
686
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
687
|
+
onCreate: (...args: any[]) => any;
|
|
688
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
689
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
690
|
+
onCreate: (...args: any[]) => any;
|
|
691
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
692
|
+
}, undefined, never, never, false, undefined, undefined>, typeof OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
693
|
+
kind: "m:1";
|
|
694
|
+
}>;
|
|
695
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
696
|
+
default: never[];
|
|
697
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
698
|
+
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")>;
|
|
699
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
700
|
+
kind: "m:1";
|
|
701
|
+
}, "nullable"> & {
|
|
702
|
+
nullable: true;
|
|
703
|
+
}>;
|
|
704
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
705
|
+
nullable: true;
|
|
706
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
707
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
708
|
+
nullable: true;
|
|
709
|
+
}, 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
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
711
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
712
|
+
onCreate: (...args: any[]) => any;
|
|
713
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
714
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
715
|
+
onCreate: (...args: any[]) => any;
|
|
716
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
717
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
718
|
+
kind: "1:m";
|
|
719
|
+
}>;
|
|
622
720
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
623
721
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
624
722
|
primary: true;
|
|
@@ -1079,6 +1177,12 @@ export declare const OAuthClientEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
1079
1177
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1080
1178
|
default: never[];
|
|
1081
1179
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1180
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1181
|
+
default: never[];
|
|
1182
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1183
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1184
|
+
default: never[];
|
|
1185
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1082
1186
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1083
1187
|
default: true;
|
|
1084
1188
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -1140,6 +1244,49 @@ export declare const OAuthClientEntitySchema: import("@mikro-orm/core").EntitySc
|
|
|
1140
1244
|
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-code.repository.ts").OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1141
1245
|
kind: "1:m";
|
|
1142
1246
|
}>;
|
|
1247
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1248
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
1249
|
+
primary: true;
|
|
1250
|
+
} & {
|
|
1251
|
+
onCreate: (...args: any[]) => any;
|
|
1252
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1253
|
+
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")>;
|
|
1254
|
+
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")>;
|
|
1255
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1256
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1257
|
+
onCreate: (...args: any[]) => any;
|
|
1258
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1259
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1260
|
+
onCreate: (...args: any[]) => any;
|
|
1261
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1262
|
+
}, undefined, never, never, false, undefined, undefined>, typeof OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1263
|
+
kind: "m:1";
|
|
1264
|
+
}>;
|
|
1265
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1266
|
+
default: never[];
|
|
1267
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1268
|
+
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")>;
|
|
1269
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
1270
|
+
kind: "m:1";
|
|
1271
|
+
}, "nullable"> & {
|
|
1272
|
+
nullable: true;
|
|
1273
|
+
}>;
|
|
1274
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
1275
|
+
nullable: true;
|
|
1276
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1277
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
1278
|
+
nullable: true;
|
|
1279
|
+
}, 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
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1281
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1282
|
+
onCreate: (...args: any[]) => any;
|
|
1283
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1284
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1285
|
+
onCreate: (...args: any[]) => any;
|
|
1286
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1287
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1288
|
+
kind: "1:m";
|
|
1289
|
+
}>;
|
|
1143
1290
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1144
1291
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
1145
1292
|
primary: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-client.entity.d.ts","sourceRoot":"","sources":["../../src/entities/oauth-client.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"oauth-client.entity.d.ts","sourceRoot":"","sources":["../../src/entities/oauth-client.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAOnF,eAAO,MAAM,uBAAuB;;;;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;;;;;;;;;uBAAH,GAAG;;;;;;2BAAH,GAAG;;;2BAAH,GAAG;;;;;;;;;2BAAH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAAH,GAAG;;;+BAAH,GAAG;;;;;;;;;+BAAH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAAH,GAAG;;;+BAAH,GAAG;;;;;;;;;+BAAH,GAAG;;;;mCAAH,GAAG;;;mCAAH,GAAG;;;;;;;;;;;;;;;;+BAAH,GAAG;;;+BAAH,GAAG;;;;;;;;;+BAAH,GAAG;;;;mCAAH,GAAG;;;mCAAH,GAAG;;;;;;;;;;;;;;;;;;+BAAH,GAAG;;;+BAAH,GAAG;;;;;;;2BAAH,GAAG;;;2BAAH,GAAG;;;;;;;uBAAH,GAAG;;;;uBAAH,GAAG;;;uBAAH,GAAG;;;;;;;mBAAH,GAAG;;;mBAAH,GAAG;;iIAHn3e,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { defineEntity } from '@mikro-orm/core';
|
|
|
2
2
|
import { OAuthClientRepository } from "../repositories/oauth-client.repository.js";
|
|
3
3
|
import { BaseSchema } from "./base.entity.js";
|
|
4
4
|
import { OAuthCodeEntitySchema } from "./oauth-code.entity.js";
|
|
5
|
+
import { OAuthDeviceCodeEntitySchema } from "./oauth-device-code.entity.js";
|
|
5
6
|
import { RevokedTokenEntitySchema } from "./revoked-token.entity.js";
|
|
6
7
|
import { UserConsentEntitySchema } from "./user-consent.entity.js";
|
|
7
8
|
export const OAuthClientEntitySchema = defineEntity({
|
|
@@ -39,6 +40,14 @@ export const OAuthClientEntitySchema = defineEntity({
|
|
|
39
40
|
.json()
|
|
40
41
|
.comment('Registered redirect URIs for the client')
|
|
41
42
|
.default([]),
|
|
43
|
+
postLogoutRedirectUris: p
|
|
44
|
+
.json()
|
|
45
|
+
.comment('Registered post-logout redirect URIs for the client')
|
|
46
|
+
.default([]),
|
|
47
|
+
webOrigins: p
|
|
48
|
+
.json()
|
|
49
|
+
.comment('Registered browser origins for OAuth CORS requests')
|
|
50
|
+
.default([]),
|
|
42
51
|
enabled: p
|
|
43
52
|
.boolean()
|
|
44
53
|
.comment('Whether the OAuth client is enabled')
|
|
@@ -54,6 +63,7 @@ export const OAuthClientEntitySchema = defineEntity({
|
|
|
54
63
|
.nullable()
|
|
55
64
|
.default(null),
|
|
56
65
|
codes: () => p.oneToMany(OAuthCodeEntitySchema).mappedBy('client'),
|
|
66
|
+
deviceCodes: () => p.oneToMany(OAuthDeviceCodeEntitySchema).mappedBy('client'),
|
|
57
67
|
consents: () => p.oneToMany(UserConsentEntitySchema).mappedBy('client'),
|
|
58
68
|
revokedTokens: () => p.oneToMany(RevokedTokenEntitySchema).mappedBy('client'),
|
|
59
69
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-client.entity.js","sourceRoot":"","sources":["../../src/entities/oauth-client.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,MAAM,CAAC,MAAM,uBAAuB,GAAG,YAAY,CAAC;IAClD,IAAI,EAAE,mBAAmB;IACzB,SAAS,EAAE,cAAc;IACzB,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,UAAU;IACnB,UAAU,EAAE,GAAG,EAAE,CAAC,qBAAqB;IACvC,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CA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AM,EAAE;aACR,OAAO,CAAC,+BAA+B,CAAC;aACxC,QAAQ,EAAE;aACV,OAAO,CAAC,IAAI,CAAC;QAChB,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,qBAAqB,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAClE,WAAW,EAAE,GAAG,EAAE,CAChB,CAAC,CAAC,SAAS,CAAC,2BAA2B,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAC7D,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACvE,aAAa,EAAE,GAAG,EAAE,CAClB,CAAC,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;KAC3D,CAAC;IACF,OAAO,EAAE;QACP;YACE,IAAI,EAAE,yBAAyB;YAC/B,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;SAC1B;KACF;CACF,CAAC,CAAC"}
|
|
@@ -36,6 +36,12 @@ export declare const OAuthCodeEntitySchema: import("@mikro-orm/core").EntitySche
|
|
|
36
36
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
37
37
|
default: never[];
|
|
38
38
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
39
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
40
|
+
default: never[];
|
|
41
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
42
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
43
|
+
default: never[];
|
|
44
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
39
45
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
40
46
|
default: true;
|
|
41
47
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -57,6 +63,49 @@ export declare const OAuthCodeEntitySchema: import("@mikro-orm/core").EntitySche
|
|
|
57
63
|
}, undefined, never, never, false, undefined, undefined>, typeof OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
58
64
|
kind: "1:m";
|
|
59
65
|
}>;
|
|
66
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
67
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
68
|
+
primary: true;
|
|
69
|
+
} & {
|
|
70
|
+
onCreate: (...args: any[]) => any;
|
|
71
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
72
|
+
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")>;
|
|
73
|
+
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")>;
|
|
74
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
75
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
76
|
+
onCreate: (...args: any[]) => any;
|
|
77
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
78
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
79
|
+
onCreate: (...args: any[]) => any;
|
|
80
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
81
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
82
|
+
kind: "m:1";
|
|
83
|
+
}>;
|
|
84
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
85
|
+
default: never[];
|
|
86
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
87
|
+
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")>;
|
|
88
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
89
|
+
kind: "m:1";
|
|
90
|
+
}, "nullable"> & {
|
|
91
|
+
nullable: true;
|
|
92
|
+
}>;
|
|
93
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
94
|
+
nullable: true;
|
|
95
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
96
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
97
|
+
nullable: true;
|
|
98
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
99
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
100
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
101
|
+
onCreate: (...args: any[]) => any;
|
|
102
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
103
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
104
|
+
onCreate: (...args: any[]) => any;
|
|
105
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
106
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
107
|
+
kind: "1:m";
|
|
108
|
+
}>;
|
|
60
109
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
61
110
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
62
111
|
primary: true;
|
|
@@ -576,6 +625,12 @@ export declare const OAuthCodeEntitySchema: import("@mikro-orm/core").EntitySche
|
|
|
576
625
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
577
626
|
default: never[];
|
|
578
627
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
628
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
629
|
+
default: never[];
|
|
630
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
631
|
+
readonly webOrigins: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
632
|
+
default: never[];
|
|
633
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
579
634
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
580
635
|
default: true;
|
|
581
636
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
@@ -597,6 +652,49 @@ export declare const OAuthCodeEntitySchema: import("@mikro-orm/core").EntitySche
|
|
|
597
652
|
}, undefined, never, never, false, undefined, undefined>, typeof OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
598
653
|
kind: "1:m";
|
|
599
654
|
}>;
|
|
655
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
656
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
657
|
+
primary: true;
|
|
658
|
+
} & {
|
|
659
|
+
onCreate: (...args: any[]) => any;
|
|
660
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
661
|
+
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")>;
|
|
662
|
+
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")>;
|
|
663
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
664
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
665
|
+
onCreate: (...args: any[]) => any;
|
|
666
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
667
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
668
|
+
onCreate: (...args: any[]) => any;
|
|
669
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
670
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
671
|
+
kind: "m:1";
|
|
672
|
+
}>;
|
|
673
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
674
|
+
default: never[];
|
|
675
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
676
|
+
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")>;
|
|
677
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
678
|
+
kind: "m:1";
|
|
679
|
+
}, "nullable"> & {
|
|
680
|
+
nullable: true;
|
|
681
|
+
}>;
|
|
682
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
683
|
+
nullable: true;
|
|
684
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
685
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
686
|
+
nullable: true;
|
|
687
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
688
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
689
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
690
|
+
onCreate: (...args: any[]) => any;
|
|
691
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
692
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
693
|
+
onCreate: (...args: any[]) => any;
|
|
694
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
695
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
696
|
+
kind: "1:m";
|
|
697
|
+
}>;
|
|
600
698
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
601
699
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
602
700
|
primary: true;
|
|
@@ -1102,6 +1200,12 @@ export declare const OAuthCodeEntitySchema: import("@mikro-orm/core").EntitySche
|
|
|
1102
1200
|
readonly redirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1103
1201
|
default: never[];
|
|
1104
1202
|
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1203
|
+
readonly postLogoutRedirectUris: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1204
|
+
default: never[];
|
|
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 webOrigins: 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")>;
|
|
1105
1209
|
readonly enabled: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1106
1210
|
default: true;
|
|
1107
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")>;
|
|
@@ -1123,6 +1227,49 @@ export declare const OAuthCodeEntitySchema: import("@mikro-orm/core").EntitySche
|
|
|
1123
1227
|
}, undefined, never, never, false, undefined, undefined>, typeof OAuthCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1124
1228
|
kind: "1:m";
|
|
1125
1229
|
}>;
|
|
1230
|
+
readonly deviceCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1231
|
+
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
1232
|
+
primary: true;
|
|
1233
|
+
} & {
|
|
1234
|
+
onCreate: (...args: any[]) => any;
|
|
1235
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1236
|
+
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")>;
|
|
1237
|
+
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")>;
|
|
1238
|
+
readonly client: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1239
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1240
|
+
onCreate: (...args: any[]) => any;
|
|
1241
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1242
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1243
|
+
onCreate: (...args: any[]) => any;
|
|
1244
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1245
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-client.repository.ts").OAuthClientRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1246
|
+
kind: "m:1";
|
|
1247
|
+
}>;
|
|
1248
|
+
readonly scope: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string[], Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
|
|
1249
|
+
default: never[];
|
|
1250
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1251
|
+
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")>;
|
|
1252
|
+
readonly authorizedUser: () => import("@mikro-orm/core").PropertyChain<UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
|
|
1253
|
+
kind: "m:1";
|
|
1254
|
+
}, "nullable"> & {
|
|
1255
|
+
nullable: true;
|
|
1256
|
+
}>;
|
|
1257
|
+
readonly authorizedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
1258
|
+
nullable: true;
|
|
1259
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1260
|
+
readonly consumedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
|
|
1261
|
+
nullable: true;
|
|
1262
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1263
|
+
}, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1264
|
+
readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1265
|
+
onCreate: (...args: any[]) => any;
|
|
1266
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1267
|
+
readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
|
|
1268
|
+
onCreate: (...args: any[]) => any;
|
|
1269
|
+
}, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable" | "lazyRef")>;
|
|
1270
|
+
}, undefined, never, never, false, undefined, undefined>, typeof import("../repositories/oauth-device-code.repository.ts").OAuthDeviceCodeRepository, false, undefined, undefined>, import("@mikro-orm/core").EmptyOptions & {
|
|
1271
|
+
kind: "1:m";
|
|
1272
|
+
}>;
|
|
1126
1273
|
readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
|
|
1127
1274
|
readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
|
|
1128
1275
|
primary: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-code.entity.d.ts","sourceRoot":"","sources":["../../src/entities/oauth-code.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAG/E,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AAEX,MAAM,MAAM,yBAAyB,GACnC,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAEjF,eAAO,MAAM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