@absolutejs/auth 0.69.2 → 0.69.4
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/client/index.js +11 -8
- package/dist/client/index.js.map +4 -4
- package/dist/client/mobile.js +11 -8
- package/dist/client/mobile.js.map +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +4 -4
- package/dist/server.js +3 -3
- package/dist/server.js.map +4 -4
- package/package.json +2 -6
- package/dist/abuse/captcha.d.ts +0 -11
- package/dist/abuse/config.d.ts +0 -29
- package/dist/adaptive/config.d.ts +0 -34
- package/dist/adaptive/fingerprint.d.ts +0 -2
- package/dist/adaptive/inMemoryStores.d.ts +0 -3
- package/dist/adaptive/postgresStores.d.ts +0 -245
- package/dist/adaptive/types.d.ts +0 -62
- package/dist/agents/idJag.d.ts +0 -49
- package/dist/agents/inMemoryStores.d.ts +0 -4
- package/dist/agents/index.d.ts +0 -13
- package/dist/agents/oidcAdapter.d.ts +0 -20
- package/dist/agents/postgresStores.d.ts +0 -1176
- package/dist/agents/registrationClient.d.ts +0 -50
- package/dist/apikeys/inMemoryStores.d.ts +0 -4
- package/dist/apikeys/postgresStores.d.ts +0 -359
- package/dist/audit/export.d.ts +0 -2
- package/dist/audit/inMemoryAuditStore.d.ts +0 -2
- package/dist/audit/integrity.d.ts +0 -19
- package/dist/audit/postgresAuditStore.d.ts +0 -116
- package/dist/audit/siem.d.ts +0 -11
- package/dist/cli/import/auth0.d.ts +0 -2
- package/dist/cli/import/clerk.d.ts +0 -2
- package/dist/cli/import/index.d.ts +0 -10
- package/dist/cli/import/lucia.d.ts +0 -2
- package/dist/cli/import/nextauth.d.ts +0 -2
- package/dist/cli/import/supabase.d.ts +0 -2
- package/dist/cli/import/types.d.ts +0 -27
- package/dist/cli/migrate.d.ts +0 -2
- package/dist/client/components/react/SignIn.d.ts +0 -32
- package/dist/client/components/react/SignUp.d.ts +0 -29
- package/dist/client/components/react/UserButton.d.ts +0 -36
- package/dist/client/createAuthClient.d.ts +0 -311
- package/dist/client/index.d.ts +0 -6
- package/dist/client/mobile.d.ts +0 -85
- package/dist/client/passkeyHelpers.d.ts +0 -19
- package/dist/client/react.d.ts +0 -87
- package/dist/client/runtimeTransport.d.ts +0 -3
- package/dist/client/sessionExpiry.d.ts +0 -37
- package/dist/client/solid.d.ts +0 -86
- package/dist/client/svelte.d.ts +0 -86
- package/dist/client/vue.d.ts +0 -88
- package/dist/compliance/redaction.d.ts +0 -8
- package/dist/fga/config.d.ts +0 -53
- package/dist/fga/inMemoryStores.d.ts +0 -3
- package/dist/fga/postgresStores.d.ts +0 -116
- package/dist/fga/redisCheckCache.d.ts +0 -11
- package/dist/fga/schema.d.ts +0 -2
- package/dist/fga/types.d.ts +0 -28
- package/dist/fingerprint-client/index.d.ts +0 -26
- package/dist/htmx/index.d.ts +0 -2
- package/dist/index.d.ts +0 -4042
- package/dist/linkedProviders/index.d.ts +0 -3
- package/dist/lockout/inMemoryLockoutStore.d.ts +0 -2
- package/dist/lockout/postgresLockoutStore.d.ts +0 -71
- package/dist/lockout/redisLockoutStore.d.ts +0 -3
- package/dist/manifest.d.ts +0 -19
- package/dist/manifest.json +0 -386
- package/dist/mfa/postgresMfaStore.d.ts +0 -266
- package/dist/migrations/generate.d.ts +0 -2
- package/dist/migrations/index.d.ts +0 -6
- package/dist/migrations/runner.d.ts +0 -22
- package/dist/migrations/types.d.ts +0 -14
- package/dist/oidc/clientIdMetadata.d.ts +0 -28
- package/dist/oidc/inMemoryStores.d.ts +0 -12
- package/dist/oidc/inMemoryVciStores.d.ts +0 -3
- package/dist/oidc/index.d.ts +0 -14
- package/dist/oidc/operator.d.ts +0 -14
- package/dist/oidc/postgresStores.d.ts +0 -1361
- package/dist/oidc/vciRoutes.d.ts +0 -56
- package/dist/organizations/inMemoryOrganizationStore.d.ts +0 -2
- package/dist/organizations/postgresOrganizationStore.d.ts +0 -340
- package/dist/passwordless/inMemoryPasswordlessTokenStore.d.ts +0 -2
- package/dist/passwordless/postgresPasswordlessTokenStore.d.ts +0 -56
- package/dist/plugins/denyDisposableEmail.d.ts +0 -7
- package/dist/plugins/discordAlert.d.ts +0 -7
- package/dist/plugins/geoBlock.d.ts +0 -8
- package/dist/plugins/index.d.ts +0 -12
- package/dist/plugins/pagerdutyAlert.d.ts +0 -9
- package/dist/plugins/posthogIdentify.d.ts +0 -7
- package/dist/plugins/slackAlert.d.ts +0 -7
- package/dist/portal/inMemorySetupSessionStore.d.ts +0 -2
- package/dist/portal/postgresSetupSessionStore.d.ts +0 -116
- package/dist/providers/index.d.ts +0 -2
- package/dist/roles/inMemoryRoleStore.d.ts +0 -2
- package/dist/roles/postgresRoleStore.d.ts +0 -86
- package/dist/roles/resolver.d.ts +0 -17
- package/dist/saml.d.ts +0 -1
- package/dist/scim/inMemoryScimTokenStore.d.ts +0 -2
- package/dist/scim/postgresScimTokenStore.d.ts +0 -86
- package/dist/server.d.ts +0 -34
- package/dist/sso/inMemorySamlServiceProviderStore.d.ts +0 -2
- package/dist/sso/inMemorySsoConnectionStore.d.ts +0 -2
- package/dist/sso/nodeSamlAdapter.d.ts +0 -8
- package/dist/sso/postgresSamlServiceProviderStore.d.ts +0 -101
- package/dist/sso/postgresSsoConnectionStore.d.ts +0 -117
- package/dist/sso/samlIdpRoutes.d.ts +0 -268
- package/dist/vault/index.d.ts +0 -5
- package/dist/vc/inMemoryVpStores.d.ts +0 -2
- package/dist/vc/openid4vp.d.ts +0 -82
- package/dist/vc/postgresVcStores.d.ts +0 -300
- package/dist/vc/statusList.d.ts +0 -29
- package/dist/vc/statusListRoutes.d.ts +0 -169
- package/dist/vc/vpRoutes.d.ts +0 -224
- package/dist/webauthn/inMemoryWebAuthnCredentialStore.d.ts +0 -2
- package/dist/webauthn/postgresWebAuthnCredentialStore.d.ts +0 -146
- package/dist/webauthn/simpleWebAuthnAdapter.d.ts +0 -3
- package/dist/webauthn.d.ts +0 -1
- package/dist/webhooks/inMemoryStore.d.ts +0 -2
- package/dist/webhooks/postgresStore.d.ts +0 -116
package/dist/oidc/vciRoutes.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { SigningKey } from './keys';
|
|
2
|
-
import { type VciConfig } from './vci';
|
|
3
|
-
export declare const vciRoutes: ({ issuerUrl, signingKey, vciConfig }: {
|
|
4
|
-
issuerUrl: string;
|
|
5
|
-
signingKey: SigningKey;
|
|
6
|
-
vciConfig: VciConfig;
|
|
7
|
-
}) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
8
|
-
typebox: {};
|
|
9
|
-
error: [];
|
|
10
|
-
}, import("elysia/types").DefaultMetadata, {
|
|
11
|
-
".well-known": {
|
|
12
|
-
"openid-credential-issuer": {
|
|
13
|
-
get: {
|
|
14
|
-
body: unknown;
|
|
15
|
-
params: {};
|
|
16
|
-
query: unknown;
|
|
17
|
-
headers: unknown;
|
|
18
|
-
response: {
|
|
19
|
-
200: Response;
|
|
20
|
-
};
|
|
21
|
-
error: never;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
} & {
|
|
26
|
-
[x: string]: {
|
|
27
|
-
credential: {
|
|
28
|
-
post: {
|
|
29
|
-
body: {
|
|
30
|
-
format?: "vc+sd-jwt" | undefined;
|
|
31
|
-
proof?: {
|
|
32
|
-
jwt: string;
|
|
33
|
-
proof_type: "jwt";
|
|
34
|
-
} | undefined;
|
|
35
|
-
};
|
|
36
|
-
params: {};
|
|
37
|
-
query: unknown;
|
|
38
|
-
headers: unknown;
|
|
39
|
-
response: {
|
|
40
|
-
200: Response;
|
|
41
|
-
422: {
|
|
42
|
-
type: "validation";
|
|
43
|
-
title: "Validation Error";
|
|
44
|
-
status: 422;
|
|
45
|
-
detail?: string;
|
|
46
|
-
on: string;
|
|
47
|
-
found?: unknown;
|
|
48
|
-
property?: string;
|
|
49
|
-
expected?: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
error: never;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "post", `/${string}/nonce`, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, `/${string}/nonce`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, () => Promise<Response>>;
|
|
@@ -1,340 +0,0 @@
|
|
|
1
|
-
import { type AnyPgDatabase } from '../stores/postgres';
|
|
2
|
-
import type { InvitationState, MembershipStatus, OrganizationStore } from './types';
|
|
3
|
-
export declare const organizationInvitationsTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
4
|
-
name: "auth_organization_invitations";
|
|
5
|
-
schema: undefined;
|
|
6
|
-
columns: {
|
|
7
|
-
accepted_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").PgBigInt53Builder, {
|
|
8
|
-
name: string;
|
|
9
|
-
tableName: "auth_organization_invitations";
|
|
10
|
-
dataType: "number int53";
|
|
11
|
-
data: number;
|
|
12
|
-
driverParam: string | number;
|
|
13
|
-
notNull: false;
|
|
14
|
-
hasDefault: false;
|
|
15
|
-
isPrimaryKey: false;
|
|
16
|
-
isAutoincrement: false;
|
|
17
|
-
hasRuntimeDefault: false;
|
|
18
|
-
enumValues: undefined;
|
|
19
|
-
identity: undefined;
|
|
20
|
-
generated: undefined;
|
|
21
|
-
}>;
|
|
22
|
-
created_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
23
|
-
name: string;
|
|
24
|
-
tableName: "auth_organization_invitations";
|
|
25
|
-
dataType: "number int53";
|
|
26
|
-
data: number;
|
|
27
|
-
driverParam: string | number;
|
|
28
|
-
notNull: true;
|
|
29
|
-
hasDefault: false;
|
|
30
|
-
isPrimaryKey: false;
|
|
31
|
-
isAutoincrement: false;
|
|
32
|
-
hasRuntimeDefault: false;
|
|
33
|
-
enumValues: undefined;
|
|
34
|
-
identity: undefined;
|
|
35
|
-
generated: undefined;
|
|
36
|
-
}>;
|
|
37
|
-
email: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
38
|
-
name: string;
|
|
39
|
-
tableName: "auth_organization_invitations";
|
|
40
|
-
dataType: "string";
|
|
41
|
-
data: string;
|
|
42
|
-
driverParam: string;
|
|
43
|
-
notNull: true;
|
|
44
|
-
hasDefault: false;
|
|
45
|
-
isPrimaryKey: false;
|
|
46
|
-
isAutoincrement: false;
|
|
47
|
-
hasRuntimeDefault: false;
|
|
48
|
-
enumValues: undefined;
|
|
49
|
-
identity: undefined;
|
|
50
|
-
generated: undefined;
|
|
51
|
-
}>;
|
|
52
|
-
expires_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
53
|
-
name: string;
|
|
54
|
-
tableName: "auth_organization_invitations";
|
|
55
|
-
dataType: "number int53";
|
|
56
|
-
data: number;
|
|
57
|
-
driverParam: string | number;
|
|
58
|
-
notNull: true;
|
|
59
|
-
hasDefault: false;
|
|
60
|
-
isPrimaryKey: false;
|
|
61
|
-
isAutoincrement: false;
|
|
62
|
-
hasRuntimeDefault: false;
|
|
63
|
-
enumValues: undefined;
|
|
64
|
-
identity: undefined;
|
|
65
|
-
generated: undefined;
|
|
66
|
-
}>;
|
|
67
|
-
invitation_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
68
|
-
name: string;
|
|
69
|
-
tableName: "auth_organization_invitations";
|
|
70
|
-
dataType: "string";
|
|
71
|
-
data: string;
|
|
72
|
-
driverParam: string;
|
|
73
|
-
notNull: true;
|
|
74
|
-
hasDefault: false;
|
|
75
|
-
isPrimaryKey: false;
|
|
76
|
-
isAutoincrement: false;
|
|
77
|
-
hasRuntimeDefault: false;
|
|
78
|
-
enumValues: undefined;
|
|
79
|
-
identity: undefined;
|
|
80
|
-
generated: undefined;
|
|
81
|
-
}>;
|
|
82
|
-
inviter_user_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>, {
|
|
83
|
-
name: string;
|
|
84
|
-
tableName: "auth_organization_invitations";
|
|
85
|
-
dataType: "string";
|
|
86
|
-
data: string;
|
|
87
|
-
driverParam: string;
|
|
88
|
-
notNull: false;
|
|
89
|
-
hasDefault: false;
|
|
90
|
-
isPrimaryKey: false;
|
|
91
|
-
isAutoincrement: false;
|
|
92
|
-
hasRuntimeDefault: false;
|
|
93
|
-
enumValues: undefined;
|
|
94
|
-
identity: undefined;
|
|
95
|
-
generated: undefined;
|
|
96
|
-
}>;
|
|
97
|
-
organization_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
98
|
-
name: string;
|
|
99
|
-
tableName: "auth_organization_invitations";
|
|
100
|
-
dataType: "string";
|
|
101
|
-
data: string;
|
|
102
|
-
driverParam: string;
|
|
103
|
-
notNull: true;
|
|
104
|
-
hasDefault: false;
|
|
105
|
-
isPrimaryKey: false;
|
|
106
|
-
isAutoincrement: false;
|
|
107
|
-
hasRuntimeDefault: false;
|
|
108
|
-
enumValues: undefined;
|
|
109
|
-
identity: undefined;
|
|
110
|
-
generated: undefined;
|
|
111
|
-
}>;
|
|
112
|
-
roles: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, string[]>>>, {
|
|
113
|
-
name: string;
|
|
114
|
-
tableName: "auth_organization_invitations";
|
|
115
|
-
dataType: "object json";
|
|
116
|
-
data: string[];
|
|
117
|
-
driverParam: unknown;
|
|
118
|
-
notNull: true;
|
|
119
|
-
hasDefault: true;
|
|
120
|
-
isPrimaryKey: false;
|
|
121
|
-
isAutoincrement: false;
|
|
122
|
-
hasRuntimeDefault: false;
|
|
123
|
-
enumValues: undefined;
|
|
124
|
-
identity: undefined;
|
|
125
|
-
generated: undefined;
|
|
126
|
-
}>;
|
|
127
|
-
state: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>, InvitationState>>>, {
|
|
128
|
-
name: string;
|
|
129
|
-
tableName: "auth_organization_invitations";
|
|
130
|
-
dataType: "string";
|
|
131
|
-
data: InvitationState;
|
|
132
|
-
driverParam: string;
|
|
133
|
-
notNull: true;
|
|
134
|
-
hasDefault: true;
|
|
135
|
-
isPrimaryKey: false;
|
|
136
|
-
isAutoincrement: false;
|
|
137
|
-
hasRuntimeDefault: false;
|
|
138
|
-
enumValues: undefined;
|
|
139
|
-
identity: undefined;
|
|
140
|
-
generated: undefined;
|
|
141
|
-
}>;
|
|
142
|
-
token_hash: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_invitations", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
143
|
-
name: string;
|
|
144
|
-
tableName: "auth_organization_invitations";
|
|
145
|
-
dataType: "string";
|
|
146
|
-
data: string;
|
|
147
|
-
driverParam: string;
|
|
148
|
-
notNull: true;
|
|
149
|
-
hasDefault: false;
|
|
150
|
-
isPrimaryKey: false;
|
|
151
|
-
isAutoincrement: false;
|
|
152
|
-
hasRuntimeDefault: false;
|
|
153
|
-
enumValues: undefined;
|
|
154
|
-
identity: undefined;
|
|
155
|
-
generated: undefined;
|
|
156
|
-
}>;
|
|
157
|
-
};
|
|
158
|
-
dialect: "pg";
|
|
159
|
-
}>;
|
|
160
|
-
export declare const organizationMembershipsTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
161
|
-
name: "auth_organization_memberships";
|
|
162
|
-
schema: undefined;
|
|
163
|
-
columns: {
|
|
164
|
-
created_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_memberships", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
165
|
-
name: string;
|
|
166
|
-
tableName: "auth_organization_memberships";
|
|
167
|
-
dataType: "number int53";
|
|
168
|
-
data: number;
|
|
169
|
-
driverParam: string | number;
|
|
170
|
-
notNull: true;
|
|
171
|
-
hasDefault: false;
|
|
172
|
-
isPrimaryKey: false;
|
|
173
|
-
isAutoincrement: false;
|
|
174
|
-
hasRuntimeDefault: false;
|
|
175
|
-
enumValues: undefined;
|
|
176
|
-
identity: undefined;
|
|
177
|
-
generated: undefined;
|
|
178
|
-
}>;
|
|
179
|
-
organization_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_memberships", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
180
|
-
name: string;
|
|
181
|
-
tableName: "auth_organization_memberships";
|
|
182
|
-
dataType: "string";
|
|
183
|
-
data: string;
|
|
184
|
-
driverParam: string;
|
|
185
|
-
notNull: true;
|
|
186
|
-
hasDefault: false;
|
|
187
|
-
isPrimaryKey: false;
|
|
188
|
-
isAutoincrement: false;
|
|
189
|
-
hasRuntimeDefault: false;
|
|
190
|
-
enumValues: undefined;
|
|
191
|
-
identity: undefined;
|
|
192
|
-
generated: undefined;
|
|
193
|
-
}>;
|
|
194
|
-
roles: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_memberships", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, string[]>>>, {
|
|
195
|
-
name: string;
|
|
196
|
-
tableName: "auth_organization_memberships";
|
|
197
|
-
dataType: "object json";
|
|
198
|
-
data: string[];
|
|
199
|
-
driverParam: unknown;
|
|
200
|
-
notNull: true;
|
|
201
|
-
hasDefault: true;
|
|
202
|
-
isPrimaryKey: false;
|
|
203
|
-
isAutoincrement: false;
|
|
204
|
-
hasRuntimeDefault: false;
|
|
205
|
-
enumValues: undefined;
|
|
206
|
-
identity: undefined;
|
|
207
|
-
generated: undefined;
|
|
208
|
-
}>;
|
|
209
|
-
status: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_memberships", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>, MembershipStatus>>>, {
|
|
210
|
-
name: string;
|
|
211
|
-
tableName: "auth_organization_memberships";
|
|
212
|
-
dataType: "string";
|
|
213
|
-
data: MembershipStatus;
|
|
214
|
-
driverParam: string;
|
|
215
|
-
notNull: true;
|
|
216
|
-
hasDefault: true;
|
|
217
|
-
isPrimaryKey: false;
|
|
218
|
-
isAutoincrement: false;
|
|
219
|
-
hasRuntimeDefault: false;
|
|
220
|
-
enumValues: undefined;
|
|
221
|
-
identity: undefined;
|
|
222
|
-
generated: undefined;
|
|
223
|
-
}>;
|
|
224
|
-
updated_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_memberships", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
225
|
-
name: string;
|
|
226
|
-
tableName: "auth_organization_memberships";
|
|
227
|
-
dataType: "number int53";
|
|
228
|
-
data: number;
|
|
229
|
-
driverParam: string | number;
|
|
230
|
-
notNull: true;
|
|
231
|
-
hasDefault: false;
|
|
232
|
-
isPrimaryKey: false;
|
|
233
|
-
isAutoincrement: false;
|
|
234
|
-
hasRuntimeDefault: false;
|
|
235
|
-
enumValues: undefined;
|
|
236
|
-
identity: undefined;
|
|
237
|
-
generated: undefined;
|
|
238
|
-
}>;
|
|
239
|
-
user_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organization_memberships", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
240
|
-
name: string;
|
|
241
|
-
tableName: "auth_organization_memberships";
|
|
242
|
-
dataType: "string";
|
|
243
|
-
data: string;
|
|
244
|
-
driverParam: string;
|
|
245
|
-
notNull: true;
|
|
246
|
-
hasDefault: false;
|
|
247
|
-
isPrimaryKey: false;
|
|
248
|
-
isAutoincrement: false;
|
|
249
|
-
hasRuntimeDefault: false;
|
|
250
|
-
enumValues: undefined;
|
|
251
|
-
identity: undefined;
|
|
252
|
-
generated: undefined;
|
|
253
|
-
}>;
|
|
254
|
-
};
|
|
255
|
-
dialect: "pg";
|
|
256
|
-
}>;
|
|
257
|
-
export declare const organizationsTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
258
|
-
name: "auth_organizations";
|
|
259
|
-
schema: undefined;
|
|
260
|
-
columns: {
|
|
261
|
-
created_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organizations", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
262
|
-
name: string;
|
|
263
|
-
tableName: "auth_organizations";
|
|
264
|
-
dataType: "number int53";
|
|
265
|
-
data: number;
|
|
266
|
-
driverParam: string | number;
|
|
267
|
-
notNull: true;
|
|
268
|
-
hasDefault: false;
|
|
269
|
-
isPrimaryKey: false;
|
|
270
|
-
isAutoincrement: false;
|
|
271
|
-
hasRuntimeDefault: false;
|
|
272
|
-
enumValues: undefined;
|
|
273
|
-
identity: undefined;
|
|
274
|
-
generated: undefined;
|
|
275
|
-
}>;
|
|
276
|
-
metadata: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organizations", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, Record<string, unknown>>, {
|
|
277
|
-
name: string;
|
|
278
|
-
tableName: "auth_organizations";
|
|
279
|
-
dataType: "object json";
|
|
280
|
-
data: Record<string, unknown>;
|
|
281
|
-
driverParam: unknown;
|
|
282
|
-
notNull: false;
|
|
283
|
-
hasDefault: false;
|
|
284
|
-
isPrimaryKey: false;
|
|
285
|
-
isAutoincrement: false;
|
|
286
|
-
hasRuntimeDefault: false;
|
|
287
|
-
enumValues: undefined;
|
|
288
|
-
identity: undefined;
|
|
289
|
-
generated: undefined;
|
|
290
|
-
}>;
|
|
291
|
-
name: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organizations", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
292
|
-
name: string;
|
|
293
|
-
tableName: "auth_organizations";
|
|
294
|
-
dataType: "string";
|
|
295
|
-
data: string;
|
|
296
|
-
driverParam: string;
|
|
297
|
-
notNull: true;
|
|
298
|
-
hasDefault: false;
|
|
299
|
-
isPrimaryKey: false;
|
|
300
|
-
isAutoincrement: false;
|
|
301
|
-
hasRuntimeDefault: false;
|
|
302
|
-
enumValues: undefined;
|
|
303
|
-
identity: undefined;
|
|
304
|
-
generated: undefined;
|
|
305
|
-
}>;
|
|
306
|
-
organization_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organizations", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
307
|
-
name: string;
|
|
308
|
-
tableName: "auth_organizations";
|
|
309
|
-
dataType: "string";
|
|
310
|
-
data: string;
|
|
311
|
-
driverParam: string;
|
|
312
|
-
notNull: true;
|
|
313
|
-
hasDefault: false;
|
|
314
|
-
isPrimaryKey: false;
|
|
315
|
-
isAutoincrement: false;
|
|
316
|
-
hasRuntimeDefault: false;
|
|
317
|
-
enumValues: undefined;
|
|
318
|
-
identity: undefined;
|
|
319
|
-
generated: undefined;
|
|
320
|
-
}>;
|
|
321
|
-
updated_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_organizations", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
322
|
-
name: string;
|
|
323
|
-
tableName: "auth_organizations";
|
|
324
|
-
dataType: "number int53";
|
|
325
|
-
data: number;
|
|
326
|
-
driverParam: string | number;
|
|
327
|
-
notNull: true;
|
|
328
|
-
hasDefault: false;
|
|
329
|
-
isPrimaryKey: false;
|
|
330
|
-
isAutoincrement: false;
|
|
331
|
-
hasRuntimeDefault: false;
|
|
332
|
-
enumValues: undefined;
|
|
333
|
-
identity: undefined;
|
|
334
|
-
generated: undefined;
|
|
335
|
-
}>;
|
|
336
|
-
};
|
|
337
|
-
dialect: "pg";
|
|
338
|
-
}>;
|
|
339
|
-
export declare const createNeonOrganizationStore: (databaseUrl: string) => OrganizationStore;
|
|
340
|
-
export declare const createPostgresOrganizationStore: <DB extends AnyPgDatabase>(db: DB) => OrganizationStore;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { type AnyPgDatabase } from '../stores/postgres';
|
|
2
|
-
import type { PasswordlessTokenStore } from './types';
|
|
3
|
-
export declare const passwordlessTokensTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
4
|
-
name: "auth_passwordless_tokens";
|
|
5
|
-
schema: undefined;
|
|
6
|
-
columns: {
|
|
7
|
-
email: import("drizzle-orm/pg-core").PgBuildColumn<"auth_passwordless_tokens", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
8
|
-
name: string;
|
|
9
|
-
tableName: "auth_passwordless_tokens";
|
|
10
|
-
dataType: "string";
|
|
11
|
-
data: string;
|
|
12
|
-
driverParam: string;
|
|
13
|
-
notNull: true;
|
|
14
|
-
hasDefault: false;
|
|
15
|
-
isPrimaryKey: false;
|
|
16
|
-
isAutoincrement: false;
|
|
17
|
-
hasRuntimeDefault: false;
|
|
18
|
-
enumValues: undefined;
|
|
19
|
-
identity: undefined;
|
|
20
|
-
generated: undefined;
|
|
21
|
-
}>;
|
|
22
|
-
expires_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_passwordless_tokens", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
23
|
-
name: string;
|
|
24
|
-
tableName: "auth_passwordless_tokens";
|
|
25
|
-
dataType: "number int53";
|
|
26
|
-
data: number;
|
|
27
|
-
driverParam: string | number;
|
|
28
|
-
notNull: true;
|
|
29
|
-
hasDefault: false;
|
|
30
|
-
isPrimaryKey: false;
|
|
31
|
-
isAutoincrement: false;
|
|
32
|
-
hasRuntimeDefault: false;
|
|
33
|
-
enumValues: undefined;
|
|
34
|
-
identity: undefined;
|
|
35
|
-
generated: undefined;
|
|
36
|
-
}>;
|
|
37
|
-
token_hash: import("drizzle-orm/pg-core").PgBuildColumn<"auth_passwordless_tokens", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
38
|
-
name: string;
|
|
39
|
-
tableName: "auth_passwordless_tokens";
|
|
40
|
-
dataType: "string";
|
|
41
|
-
data: string;
|
|
42
|
-
driverParam: string;
|
|
43
|
-
notNull: true;
|
|
44
|
-
hasDefault: false;
|
|
45
|
-
isPrimaryKey: false;
|
|
46
|
-
isAutoincrement: false;
|
|
47
|
-
hasRuntimeDefault: false;
|
|
48
|
-
enumValues: undefined;
|
|
49
|
-
identity: undefined;
|
|
50
|
-
generated: undefined;
|
|
51
|
-
}>;
|
|
52
|
-
};
|
|
53
|
-
dialect: "pg";
|
|
54
|
-
}>;
|
|
55
|
-
export declare const createNeonPasswordlessTokenStore: (databaseUrl: string) => PasswordlessTokenStore;
|
|
56
|
-
export declare const createPostgresPasswordlessTokenStore: <DB extends AnyPgDatabase>(db: DB) => PasswordlessTokenStore;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { AuditEvent, AuditEventType, AuditSink } from '../audit/types';
|
|
2
|
-
export type DiscordAlertOptions = {
|
|
3
|
-
events?: readonly AuditEventType[];
|
|
4
|
-
formatContent?: (event: AuditEvent) => string;
|
|
5
|
-
webhookUrl: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const discordAlertPlugin: ({ events, formatContent, webhookUrl }: DiscordAlertOptions) => AuditSink;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type GeoBlockOptions = {
|
|
2
|
-
allowCountries: readonly string[];
|
|
3
|
-
denyCountries?: never;
|
|
4
|
-
} | {
|
|
5
|
-
allowCountries?: never;
|
|
6
|
-
denyCountries: readonly string[];
|
|
7
|
-
};
|
|
8
|
-
export declare const geoBlockPlugin: (options: GeoBlockOptions) => (headers: Record<string, string | undefined>) => boolean;
|
package/dist/plugins/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { denyDisposableEmailPlugin } from './denyDisposableEmail';
|
|
2
|
-
export type { DenyDisposableEmailDecision } from './denyDisposableEmail';
|
|
3
|
-
export { discordAlertPlugin } from './discordAlert';
|
|
4
|
-
export type { DiscordAlertOptions } from './discordAlert';
|
|
5
|
-
export { geoBlockPlugin } from './geoBlock';
|
|
6
|
-
export type { GeoBlockOptions } from './geoBlock';
|
|
7
|
-
export { pagerdutyAlertPlugin } from './pagerdutyAlert';
|
|
8
|
-
export type { PagerDutyAlertOptions, PagerDutySeverity } from './pagerdutyAlert';
|
|
9
|
-
export { posthogIdentifyPlugin } from './posthogIdentify';
|
|
10
|
-
export type { PosthogIdentifyOptions } from './posthogIdentify';
|
|
11
|
-
export { slackAlertPlugin } from './slackAlert';
|
|
12
|
-
export type { SlackAlertOptions } from './slackAlert';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { AuditEventType, AuditSink } from '../audit/types';
|
|
2
|
-
export type PagerDutySeverity = 'critical' | 'error' | 'info' | 'warning';
|
|
3
|
-
export type PagerDutyAlertOptions = {
|
|
4
|
-
events?: readonly AuditEventType[];
|
|
5
|
-
routingKey: string;
|
|
6
|
-
severity?: PagerDutySeverity;
|
|
7
|
-
source?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const pagerdutyAlertPlugin: ({ events, routingKey, severity, source }: PagerDutyAlertOptions) => AuditSink;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { AuditEvent, AuditSink } from '../audit/types';
|
|
2
|
-
export type PosthogIdentifyOptions = {
|
|
3
|
-
host?: string;
|
|
4
|
-
projectApiKey: string;
|
|
5
|
-
properties?: (event: AuditEvent) => Record<string, unknown>;
|
|
6
|
-
};
|
|
7
|
-
export declare const posthogIdentifyPlugin: ({ host, projectApiKey, properties }: PosthogIdentifyOptions) => AuditSink;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { AuditEvent, AuditEventType, AuditSink } from '../audit/types';
|
|
2
|
-
export type SlackAlertOptions = {
|
|
3
|
-
events?: readonly AuditEventType[];
|
|
4
|
-
formatMessage?: (event: AuditEvent) => string;
|
|
5
|
-
webhookUrl: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const slackAlertPlugin: ({ events, formatMessage, webhookUrl }: SlackAlertOptions) => AuditSink;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { type AnyPgDatabase } from '../stores/postgres';
|
|
2
|
-
import type { SetupCapability, SetupSessionStore } from './types';
|
|
3
|
-
export declare const setupSessionsTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
4
|
-
name: "auth_setup_sessions";
|
|
5
|
-
schema: undefined;
|
|
6
|
-
columns: {
|
|
7
|
-
capabilities: import("drizzle-orm/pg-core").PgBuildColumn<"auth_setup_sessions", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, SetupCapability[]>>>, {
|
|
8
|
-
name: string;
|
|
9
|
-
tableName: "auth_setup_sessions";
|
|
10
|
-
dataType: "object json";
|
|
11
|
-
data: SetupCapability[];
|
|
12
|
-
driverParam: unknown;
|
|
13
|
-
notNull: true;
|
|
14
|
-
hasDefault: true;
|
|
15
|
-
isPrimaryKey: false;
|
|
16
|
-
isAutoincrement: false;
|
|
17
|
-
hasRuntimeDefault: false;
|
|
18
|
-
enumValues: undefined;
|
|
19
|
-
identity: undefined;
|
|
20
|
-
generated: undefined;
|
|
21
|
-
}>;
|
|
22
|
-
created_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_setup_sessions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
23
|
-
name: string;
|
|
24
|
-
tableName: "auth_setup_sessions";
|
|
25
|
-
dataType: "number int53";
|
|
26
|
-
data: number;
|
|
27
|
-
driverParam: string | number;
|
|
28
|
-
notNull: true;
|
|
29
|
-
hasDefault: false;
|
|
30
|
-
isPrimaryKey: false;
|
|
31
|
-
isAutoincrement: false;
|
|
32
|
-
hasRuntimeDefault: false;
|
|
33
|
-
enumValues: undefined;
|
|
34
|
-
identity: undefined;
|
|
35
|
-
generated: undefined;
|
|
36
|
-
}>;
|
|
37
|
-
created_by: import("drizzle-orm/pg-core").PgBuildColumn<"auth_setup_sessions", import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>, {
|
|
38
|
-
name: string;
|
|
39
|
-
tableName: "auth_setup_sessions";
|
|
40
|
-
dataType: "string";
|
|
41
|
-
data: string;
|
|
42
|
-
driverParam: string;
|
|
43
|
-
notNull: false;
|
|
44
|
-
hasDefault: false;
|
|
45
|
-
isPrimaryKey: false;
|
|
46
|
-
isAutoincrement: false;
|
|
47
|
-
hasRuntimeDefault: false;
|
|
48
|
-
enumValues: undefined;
|
|
49
|
-
identity: undefined;
|
|
50
|
-
generated: undefined;
|
|
51
|
-
}>;
|
|
52
|
-
expires_at_ms: import("drizzle-orm/pg-core").PgBuildColumn<"auth_setup_sessions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
53
|
-
name: string;
|
|
54
|
-
tableName: "auth_setup_sessions";
|
|
55
|
-
dataType: "number int53";
|
|
56
|
-
data: number;
|
|
57
|
-
driverParam: string | number;
|
|
58
|
-
notNull: true;
|
|
59
|
-
hasDefault: false;
|
|
60
|
-
isPrimaryKey: false;
|
|
61
|
-
isAutoincrement: false;
|
|
62
|
-
hasRuntimeDefault: false;
|
|
63
|
-
enumValues: undefined;
|
|
64
|
-
identity: undefined;
|
|
65
|
-
generated: undefined;
|
|
66
|
-
}>;
|
|
67
|
-
organization_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_setup_sessions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
68
|
-
name: string;
|
|
69
|
-
tableName: "auth_setup_sessions";
|
|
70
|
-
dataType: "string";
|
|
71
|
-
data: string;
|
|
72
|
-
driverParam: string;
|
|
73
|
-
notNull: true;
|
|
74
|
-
hasDefault: false;
|
|
75
|
-
isPrimaryKey: false;
|
|
76
|
-
isAutoincrement: false;
|
|
77
|
-
hasRuntimeDefault: false;
|
|
78
|
-
enumValues: undefined;
|
|
79
|
-
identity: undefined;
|
|
80
|
-
generated: undefined;
|
|
81
|
-
}>;
|
|
82
|
-
setup_session_id: import("drizzle-orm/pg-core").PgBuildColumn<"auth_setup_sessions", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
83
|
-
name: string;
|
|
84
|
-
tableName: "auth_setup_sessions";
|
|
85
|
-
dataType: "string";
|
|
86
|
-
data: string;
|
|
87
|
-
driverParam: string;
|
|
88
|
-
notNull: true;
|
|
89
|
-
hasDefault: false;
|
|
90
|
-
isPrimaryKey: false;
|
|
91
|
-
isAutoincrement: false;
|
|
92
|
-
hasRuntimeDefault: false;
|
|
93
|
-
enumValues: undefined;
|
|
94
|
-
identity: undefined;
|
|
95
|
-
generated: undefined;
|
|
96
|
-
}>;
|
|
97
|
-
token_hash: import("drizzle-orm/pg-core").PgBuildColumn<"auth_setup_sessions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgVarcharBuilder<[string, ...string[]]>>, {
|
|
98
|
-
name: string;
|
|
99
|
-
tableName: "auth_setup_sessions";
|
|
100
|
-
dataType: "string";
|
|
101
|
-
data: string;
|
|
102
|
-
driverParam: string;
|
|
103
|
-
notNull: true;
|
|
104
|
-
hasDefault: false;
|
|
105
|
-
isPrimaryKey: false;
|
|
106
|
-
isAutoincrement: false;
|
|
107
|
-
hasRuntimeDefault: false;
|
|
108
|
-
enumValues: undefined;
|
|
109
|
-
identity: undefined;
|
|
110
|
-
generated: undefined;
|
|
111
|
-
}>;
|
|
112
|
-
};
|
|
113
|
-
dialect: "pg";
|
|
114
|
-
}>;
|
|
115
|
-
export declare const createNeonSetupSessionStore: (databaseUrl: string) => SetupSessionStore;
|
|
116
|
-
export declare const createPostgresSetupSessionStore: <DB extends AnyPgDatabase>(db: DB) => SetupSessionStore;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export type { CredentialsFor, OAuth2Client, OAuth2TokenResponse, OIDCProvider, PKCEProvider, ProviderConfiguration, ProviderOption, ProvidersMap, RefreshableProvider, RevocableProvider, ScopeRequiredProvider } from 'citra';
|
|
2
|
-
export { decodeJWT, extractPropFromIdentity, isOIDCProviderOption, isPKCEProviderOption, isRefreshableOAuth2Client, isRefreshableProviderOption, isRevocableOAuth2Client, isRevocableProviderOption, isValidProviderOption, oidcProviderOptions, pkceProviderOptions, providerOptions, providers, refreshableProviderOptions, revocableProviderOptions, scopeRequiredProviderOptions } from 'citra';
|