@crossauth/fastify 1.0.0 → 1.1.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/README.md +1 -1
- package/dist/fastifysession.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1161 -1157
- 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
package/README.md
CHANGED
package/dist/fastifysession.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface FastifySessionServerOptions extends SessionManagerOptions, OAut
|
|
|
44
44
|
*/
|
|
45
45
|
createUserFn?: (request: FastifyRequest<{
|
|
46
46
|
Body: SignupBodyType;
|
|
47
|
-
}>, userEditableFields: string[], allowableFactor1: string[]) => UserInputFields;
|
|
47
|
+
}>, userEditableFields: string[], allowableFactor1: string[], allowableFactor2: string[]) => UserInputFields;
|
|
48
48
|
/** Function that updates a user from form fields.
|
|
49
49
|
* Default one takes fields that begin with `user_`, removing the `user_`
|
|
50
50
|
* prefix and filtering out anything not in the userEditableFields list in
|
|
@@ -552,7 +552,7 @@ export declare class FastifySessionServer implements FastifySessionAdapter {
|
|
|
552
552
|
*/
|
|
553
553
|
createUserFn: (request: FastifyRequest<{
|
|
554
554
|
Body: SignupBodyType;
|
|
555
|
-
}>, userEditableFields: string[], allowableFactor1: string[]) => UserInputFields;
|
|
555
|
+
}>, userEditableFields: string[], allowableFactor1: string[], allowableFactor2: string[]) => UserInputFields;
|
|
556
556
|
/**
|
|
557
557
|
* Funtion to update a user record from form fields. Taken from the options during
|
|
558
558
|
* construction or the default value.
|