@crossauth/fastify 1.0.1 → 1.1.1
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/README.md +1 -1
- package/dist/fastifysession.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1108 -1104
- package/dist/lib/generated/prisma/browser.d.ts +44 -0
- package/dist/lib/generated/prisma/client.d.ts +61 -0
- package/dist/lib/generated/prisma/commonInputTypes.d.ts +355 -0
- package/dist/lib/generated/prisma/enums.d.ts +1 -0
- package/dist/lib/generated/prisma/internal/class.d.ts +203 -0
- package/dist/lib/generated/prisma/internal/prismaNamespace.d.ts +1105 -0
- package/dist/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +117 -0
- package/dist/lib/generated/prisma/models/ApiKey.d.ts +1300 -0
- package/dist/lib/generated/prisma/models/Key.d.ts +1308 -0
- package/dist/lib/generated/prisma/models/OAuthAuthorization.d.ts +1310 -0
- package/dist/lib/generated/prisma/models/OAuthClient.d.ts +1576 -0
- package/dist/lib/generated/prisma/models/OAuthClientRedirectUri.d.ts +1136 -0
- package/dist/lib/generated/prisma/models/OAuthClientValidFlow.d.ts +1136 -0
- package/dist/lib/generated/prisma/models/User.d.ts +1890 -0
- package/dist/lib/generated/prisma/models/UserSecrets.d.ts +1099 -0
- package/dist/lib/generated/prisma/models.d.ts +9 -0
- package/package.json +5 -7
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export type * from '../models.ts';
|
|
2
|
+
export type * from './prismaNamespace.ts';
|
|
3
|
+
export declare const Decimal: any;
|
|
4
|
+
export declare const NullTypes: {
|
|
5
|
+
DbNull: new (secret: never) => any;
|
|
6
|
+
JsonNull: new (secret: never) => any;
|
|
7
|
+
AnyNull: new (secret: never) => any;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
11
|
+
*
|
|
12
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
13
|
+
*/
|
|
14
|
+
export declare const DbNull: any;
|
|
15
|
+
/**
|
|
16
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
17
|
+
*
|
|
18
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
19
|
+
*/
|
|
20
|
+
export declare const JsonNull: any;
|
|
21
|
+
/**
|
|
22
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
23
|
+
*
|
|
24
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
25
|
+
*/
|
|
26
|
+
export declare const AnyNull: any;
|
|
27
|
+
export declare const ModelName: {
|
|
28
|
+
readonly User: "User";
|
|
29
|
+
readonly UserSecrets: "UserSecrets";
|
|
30
|
+
readonly Key: "Key";
|
|
31
|
+
readonly ApiKey: "ApiKey";
|
|
32
|
+
readonly OAuthClient: "OAuthClient";
|
|
33
|
+
readonly OAuthClientRedirectUri: "OAuthClientRedirectUri";
|
|
34
|
+
readonly OAuthClientValidFlow: "OAuthClientValidFlow";
|
|
35
|
+
readonly OAuthAuthorization: "OAuthAuthorization";
|
|
36
|
+
};
|
|
37
|
+
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
38
|
+
export declare const TransactionIsolationLevel: {
|
|
39
|
+
readonly Serializable: "Serializable";
|
|
40
|
+
};
|
|
41
|
+
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
42
|
+
export declare const UserScalarFieldEnum: {
|
|
43
|
+
readonly id: "id";
|
|
44
|
+
readonly username: "username";
|
|
45
|
+
readonly username_normalized: "username_normalized";
|
|
46
|
+
readonly email: "email";
|
|
47
|
+
readonly email_normalized: "email_normalized";
|
|
48
|
+
readonly phone: "phone";
|
|
49
|
+
readonly state: "state";
|
|
50
|
+
readonly factor1: "factor1";
|
|
51
|
+
readonly factor2: "factor2";
|
|
52
|
+
readonly dummyfield: "dummyfield";
|
|
53
|
+
};
|
|
54
|
+
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum];
|
|
55
|
+
export declare const UserSecretsScalarFieldEnum: {
|
|
56
|
+
readonly userid: "userid";
|
|
57
|
+
readonly password: "password";
|
|
58
|
+
readonly totpsecret: "totpsecret";
|
|
59
|
+
};
|
|
60
|
+
export type UserSecretsScalarFieldEnum = (typeof UserSecretsScalarFieldEnum)[keyof typeof UserSecretsScalarFieldEnum];
|
|
61
|
+
export declare const KeyScalarFieldEnum: {
|
|
62
|
+
readonly id: "id";
|
|
63
|
+
readonly value: "value";
|
|
64
|
+
readonly userid: "userid";
|
|
65
|
+
readonly created: "created";
|
|
66
|
+
readonly expires: "expires";
|
|
67
|
+
readonly lastactive: "lastactive";
|
|
68
|
+
readonly data: "data";
|
|
69
|
+
};
|
|
70
|
+
export type KeyScalarFieldEnum = (typeof KeyScalarFieldEnum)[keyof typeof KeyScalarFieldEnum];
|
|
71
|
+
export declare const ApiKeyScalarFieldEnum: {
|
|
72
|
+
readonly id: "id";
|
|
73
|
+
readonly name: "name";
|
|
74
|
+
readonly value: "value";
|
|
75
|
+
readonly userid: "userid";
|
|
76
|
+
readonly created: "created";
|
|
77
|
+
readonly expires: "expires";
|
|
78
|
+
readonly data: "data";
|
|
79
|
+
};
|
|
80
|
+
export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum];
|
|
81
|
+
export declare const OAuthClientScalarFieldEnum: {
|
|
82
|
+
readonly client_id: "client_id";
|
|
83
|
+
readonly confidential: "confidential";
|
|
84
|
+
readonly client_name: "client_name";
|
|
85
|
+
readonly client_secret: "client_secret";
|
|
86
|
+
readonly userid: "userid";
|
|
87
|
+
};
|
|
88
|
+
export type OAuthClientScalarFieldEnum = (typeof OAuthClientScalarFieldEnum)[keyof typeof OAuthClientScalarFieldEnum];
|
|
89
|
+
export declare const OAuthClientRedirectUriScalarFieldEnum: {
|
|
90
|
+
readonly id: "id";
|
|
91
|
+
readonly client_id: "client_id";
|
|
92
|
+
readonly uri: "uri";
|
|
93
|
+
};
|
|
94
|
+
export type OAuthClientRedirectUriScalarFieldEnum = (typeof OAuthClientRedirectUriScalarFieldEnum)[keyof typeof OAuthClientRedirectUriScalarFieldEnum];
|
|
95
|
+
export declare const OAuthClientValidFlowScalarFieldEnum: {
|
|
96
|
+
readonly id: "id";
|
|
97
|
+
readonly client_id: "client_id";
|
|
98
|
+
readonly flow: "flow";
|
|
99
|
+
};
|
|
100
|
+
export type OAuthClientValidFlowScalarFieldEnum = (typeof OAuthClientValidFlowScalarFieldEnum)[keyof typeof OAuthClientValidFlowScalarFieldEnum];
|
|
101
|
+
export declare const OAuthAuthorizationScalarFieldEnum: {
|
|
102
|
+
readonly id: "id";
|
|
103
|
+
readonly client_id: "client_id";
|
|
104
|
+
readonly userid: "userid";
|
|
105
|
+
readonly scope: "scope";
|
|
106
|
+
};
|
|
107
|
+
export type OAuthAuthorizationScalarFieldEnum = (typeof OAuthAuthorizationScalarFieldEnum)[keyof typeof OAuthAuthorizationScalarFieldEnum];
|
|
108
|
+
export declare const SortOrder: {
|
|
109
|
+
readonly asc: "asc";
|
|
110
|
+
readonly desc: "desc";
|
|
111
|
+
};
|
|
112
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
113
|
+
export declare const NullsOrder: {
|
|
114
|
+
readonly first: "first";
|
|
115
|
+
readonly last: "last";
|
|
116
|
+
};
|
|
117
|
+
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
|