Skip to content

Commit

Permalink
add pre-user-signup
Browse files Browse the repository at this point in the history
  • Loading branch information
markusahlstrand committed Aug 1, 2024
1 parent 4bd3b62 commit 44dfec4
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 6 deletions.
6 changes: 6 additions & 0 deletions apps/demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @authhero/demo

## 0.0.7

### Patch Changes

- [email protected]

## 0.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@authhero/demo",
"private": true,
"version": "0.0.6",
"version": "0.0.7",
"scripts": {
"dev": "bun --watch src/bun.ts"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/adapter-interfaces/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @authhero/adapter-interfaces

## 0.10.5

### Patch Changes

- Added pre-user-signup hook type

## 0.10.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "git",
"url": "https://github.com/markusahlstrand/authhero"
},
"version": "0.10.4",
"version": "0.10.5",
"files": [
"dist"
],
Expand Down
6 changes: 5 additions & 1 deletion packages/adapter-interfaces/src/types/Hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import { z } from "@hono/zod-openapi";
import { baseEntitySchema } from "./BaseEntity";

export const hookInsertSchema = z.object({
trigger_id: z.enum(["post-user-registration", "post-user-login"]),
trigger_id: z.enum([
"pre-user-signup",
"post-user-registration",
"post-user-login",
]),
enabled: z.boolean().default(false),
url: z.string(),
hook_id: z.string().optional(),
Expand Down
7 changes: 7 additions & 0 deletions packages/authhero/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# authhero

## 0.2.9

### Patch Changes

- Updated dependencies
- @authhero/adapter-interfaces@0.10.5

## 0.2.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/authhero/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "authhero",
"version": "0.2.8",
"version": "0.2.9",
"files": [
"dist"
],
Expand Down
7 changes: 7 additions & 0 deletions packages/drizzle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @authhero/drizzle

## 0.1.25

### Patch Changes

- Updated dependencies
- @authhero/adapter-interfaces@0.10.5

## 0.1.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/drizzle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "git",
"url": "https://github.com/markusahlstrand/authhero"
},
"version": "0.1.24",
"version": "0.1.25",
"files": [
"dist"
],
Expand Down
7 changes: 7 additions & 0 deletions packages/kysely/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @authhero/kysely-adapter

## 0.6.7

### Patch Changes

- Updated dependencies
- @authhero/adapter-interfaces@0.10.5

## 0.6.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/kysely/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "git",
"url": "https://github.com/markusahlstrand/authhero"
},
"version": "0.6.6",
"version": "0.6.7",
"files": [
"dist"
],
Expand Down

0 comments on commit 44dfec4

Please sign in to comment.