@toa.io/extensions.exposition 1.0.0-alpha.11 → 1.0.0-alpha.12
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.
|
@@ -4,7 +4,7 @@ name: roles
|
|
|
4
4
|
entity:
|
|
5
5
|
schema:
|
|
6
6
|
identity*: string
|
|
7
|
-
role*: /^[a-zA-Z0-9]{1,
|
|
7
|
+
role*: /^[a-zA-Z0-9]{1,32}(:[a-zA-Z0-9]{1,32}){0,8}$/
|
|
8
8
|
delegator: string
|
|
9
9
|
unique:
|
|
10
10
|
role: [identity, role]
|
|
@@ -32,11 +32,11 @@ exposition:
|
|
|
32
32
|
isolated: true
|
|
33
33
|
/:identity:
|
|
34
34
|
auth:role: system:identity:roles
|
|
35
|
-
auth:rule:
|
|
36
|
-
delegate: delegator
|
|
37
|
-
role: system:identity:roles:delegation
|
|
38
35
|
POST:
|
|
39
36
|
io:output: [id]
|
|
37
|
+
auth:rule:
|
|
38
|
+
delegate: delegator
|
|
39
|
+
role: system:identity:roles:delegation
|
|
40
40
|
endpoint: grant
|
|
41
41
|
GET:
|
|
42
42
|
io:output: true # array of strings
|
|
@@ -72,6 +72,9 @@ The following request headers are allowed:
|
|
|
72
72
|
- `accept`
|
|
73
73
|
- `authorization`
|
|
74
74
|
- `content-type`
|
|
75
|
+
- `etag`
|
|
76
|
+
- `if-match`
|
|
77
|
+
- `if-none-match`
|
|
75
78
|
- headers used by the [`vary:embed` directive](vary.md#embeddings)
|
|
76
79
|
|
|
77
80
|
The following response headers are exposed:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/extensions.exposition",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.12",
|
|
4
4
|
"description": "Toa Exposition",
|
|
5
5
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/toa-io/toa#readme",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@toa.io/core": "1.0.0-alpha.
|
|
21
|
-
"@toa.io/generic": "1.0.0-alpha.
|
|
22
|
-
"@toa.io/schemas": "1.0.0-alpha.
|
|
20
|
+
"@toa.io/core": "1.0.0-alpha.12",
|
|
21
|
+
"@toa.io/generic": "1.0.0-alpha.12",
|
|
22
|
+
"@toa.io/schemas": "1.0.0-alpha.12",
|
|
23
23
|
"bcryptjs": "2.4.3",
|
|
24
24
|
"error-value": "0.3.0",
|
|
25
25
|
"js-yaml": "4.1.0",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"features": "cucumber-js"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@toa.io/agent": "1.0.0-alpha.
|
|
47
|
-
"@toa.io/extensions.storages": "1.0.0-alpha.
|
|
46
|
+
"@toa.io/agent": "1.0.0-alpha.12",
|
|
47
|
+
"@toa.io/extensions.storages": "1.0.0-alpha.12",
|
|
48
48
|
"@types/bcryptjs": "2.4.3",
|
|
49
49
|
"@types/cors": "2.8.13",
|
|
50
50
|
"@types/negotiator": "0.6.1"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "897206fbcf724fa88f427b6aee35bff571b2a3a1"
|
|
53
53
|
}
|