@authhero/adapter-interfaces 0.2.0 → 0.2.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 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,3 +11,4 @@ The database adapters follow these rules:
|
|
|
11
11
|
- The entity id is passed to the adapter.
|
|
12
12
|
- The adapter can pass objects such as authParams. These objects will typically be flattened as part of the adapter.
|
|
13
13
|
- The types used in the adapters should be inferred from zod schemas to ensure type safety at runtime.
|
|
14
|
+
- The id column an and entity should start with the entity name, e.g. user_id for the user entity.
|