@travetto/auth-model 3.0.0-rc.9 → 3.0.1-rc.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 +10 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
<!-- This file was generated by @travetto/doc and should not be modified directly -->
|
|
2
2
|
<!-- Please modify https://github.com/travetto/travetto/tree/main/module/auth-model/DOC.ts and execute "npx trv doc" to rebuild -->
|
|
3
3
|
# Authentication Model
|
|
4
|
-
## Authentication model support for the
|
|
4
|
+
## Authentication model support for the Travetto framework
|
|
5
5
|
|
|
6
6
|
**Install: @travetto/auth-model**
|
|
7
7
|
```bash
|
|
8
8
|
npm install @travetto/auth-model
|
|
9
|
+
|
|
10
|
+
# or
|
|
11
|
+
|
|
12
|
+
yarn add @travetto/auth-model
|
|
9
13
|
```
|
|
10
14
|
|
|
11
|
-
This module supports the integration between the [Authentication](https://github.com/travetto/travetto/tree/main/module/auth#readme "Authentication scaffolding for the
|
|
15
|
+
This module supports the integration between the [Authentication](https://github.com/travetto/travetto/tree/main/module/auth#readme "Authentication scaffolding for the Travetto framework") module and the [Data Modeling Support](https://github.com/travetto/travetto/tree/main/module/model#readme "Datastore abstraction for core operations.").
|
|
12
16
|
|
|
13
17
|
The asset module requires a [CRUD](https://github.com/travetto/travetto/tree/main/module/model/src/service/crud.ts#L11)-model to provide functionality for reading and storing user information. You can use any existing providers to serve as your [CRUD](https://github.com/travetto/travetto/tree/main/module/model/src/service/crud.ts#L11), or you can roll your own.
|
|
14
18
|
|
|
15
19
|
**Install: provider**
|
|
16
20
|
```bash
|
|
17
21
|
npm install @travetto/model-{provider}
|
|
22
|
+
|
|
23
|
+
# or
|
|
24
|
+
|
|
25
|
+
yarn add @travetto/model-{provider}
|
|
18
26
|
```
|
|
19
27
|
|
|
20
28
|
Currently, the following are packages that provide [CRUD](https://github.com/travetto/travetto/tree/main/module/model/src/service/crud.ts#L11):
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/auth-model",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "Authentication model support for the
|
|
3
|
+
"version": "3.0.1-rc.1",
|
|
4
|
+
"description": "Authentication model support for the Travetto framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"authentication",
|
|
7
7
|
"model",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"directory": "module/auth-model"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@travetto/auth": "^3.0.
|
|
29
|
-
"@travetto/model": "^3.0.
|
|
28
|
+
"@travetto/auth": "^3.0.1-rc.1",
|
|
29
|
+
"@travetto/model": "^3.0.1-rc.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@travetto/test": "^3.0.
|
|
32
|
+
"@travetto/test": "^3.0.1-rc.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependenciesMeta": {
|
|
35
35
|
"@travetto/test": {
|