@twin.org/rights-management-service 0.0.1-next.9 → 0.0.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/docs/changelog.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# @twin.org/rights-management-pap-service - Changelog
|
|
2
2
|
|
|
3
|
+
## 0.0.1 (2025-07-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* release to production ([947f85a](https://github.com/twinfoundation/rights-management/commit/947f85ab9e23c117135dba7008a75c2d85435259))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/rights-management-models bumped from ^0.0.0 to ^0.0.1
|
|
16
|
+
* @twin.org/rights-management-pap-service bumped from ^0.0.0 to ^0.0.1
|
|
17
|
+
|
|
18
|
+
## [0.0.1-next.12](https://github.com/twinfoundation/rights-management/compare/rights-management-service-v0.0.1-next.11...rights-management-service-v0.0.1-next.12) (2025-06-26)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Miscellaneous Chores
|
|
22
|
+
|
|
23
|
+
* **rights-management-service:** Synchronize repo versions
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/rights-management-models bumped from 0.0.1-next.11 to 0.0.1-next.12
|
|
31
|
+
* @twin.org/rights-management-pap-service bumped from 0.0.1-next.11 to 0.0.1-next.12
|
|
32
|
+
|
|
33
|
+
## [0.0.1-next.11](https://github.com/twinfoundation/rights-management/compare/rights-management-service-v0.0.1-next.10...rights-management-service-v0.0.1-next.11) (2025-06-20)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* query params force coercion ([8590a0d](https://github.com/twinfoundation/rights-management/commit/8590a0da92584c04b67e73c448319f96f70c34a5))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Dependencies
|
|
42
|
+
|
|
43
|
+
* The following workspace dependencies were updated
|
|
44
|
+
* dependencies
|
|
45
|
+
* @twin.org/rights-management-models bumped from 0.0.1-next.10 to 0.0.1-next.11
|
|
46
|
+
* @twin.org/rights-management-pap-service bumped from 0.0.1-next.10 to 0.0.1-next.11
|
|
47
|
+
|
|
48
|
+
## [0.0.1-next.10](https://github.com/twinfoundation/rights-management/compare/rights-management-service-v0.0.1-next.9...rights-management-service-v0.0.1-next.10) (2025-06-12)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Features
|
|
52
|
+
|
|
53
|
+
* update dependencies ([dd0a553](https://github.com/twinfoundation/rights-management/commit/dd0a553020b0dc5c41fb6865a2e36bd26045b0b9))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Dependencies
|
|
57
|
+
|
|
58
|
+
* The following workspace dependencies were updated
|
|
59
|
+
* dependencies
|
|
60
|
+
* @twin.org/rights-management-models bumped from 0.0.1-next.9 to 0.0.1-next.10
|
|
61
|
+
* @twin.org/rights-management-pap-service bumped from 0.0.1-next.9 to 0.0.1-next.10
|
|
62
|
+
|
|
3
63
|
## [0.0.1-next.9](https://github.com/twinfoundation/rights-management/compare/rights-management-service-v0.0.1-next.8...rights-management-service-v0.0.1-next.9) (2025-06-06)
|
|
4
64
|
|
|
5
65
|
|
package/docs/open-api/spec.json
CHANGED
|
@@ -464,7 +464,10 @@
|
|
|
464
464
|
"in": "query",
|
|
465
465
|
"required": false,
|
|
466
466
|
"schema": {
|
|
467
|
-
"type":
|
|
467
|
+
"type": [
|
|
468
|
+
"number",
|
|
469
|
+
"string"
|
|
470
|
+
]
|
|
468
471
|
}
|
|
469
472
|
},
|
|
470
473
|
{
|
|
@@ -621,10 +624,12 @@
|
|
|
621
624
|
},
|
|
622
625
|
"policies": {
|
|
623
626
|
"type": "array",
|
|
624
|
-
"
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
627
|
+
"description": "The policies matching the query.",
|
|
628
|
+
"prefixItems": [
|
|
629
|
+
{
|
|
630
|
+
"$ref": "https://schema.twindev.org/odrl/OdrlPolicy"
|
|
631
|
+
}
|
|
632
|
+
]
|
|
628
633
|
}
|
|
629
634
|
},
|
|
630
635
|
"required": [
|
|
@@ -155,7 +155,7 @@ Nothing.
|
|
|
155
155
|
|
|
156
156
|
### papQuery()
|
|
157
157
|
|
|
158
|
-
> **papQuery**(`conditions?`, `cursor?`, `pageSize?`): `Promise`\<\{ `cursor
|
|
158
|
+
> **papQuery**(`conditions?`, `cursor?`, `pageSize?`): `Promise`\<\{ `cursor?`: `string`; `policies`: `IOdrlPolicy`[]; \}\>
|
|
159
159
|
|
|
160
160
|
PAP: Query the policies using the specified conditions.
|
|
161
161
|
|
|
@@ -181,7 +181,7 @@ The number of results to return per page.
|
|
|
181
181
|
|
|
182
182
|
#### Returns
|
|
183
183
|
|
|
184
|
-
`Promise`\<\{ `cursor
|
|
184
|
+
`Promise`\<\{ `cursor?`: `string`; `policies`: `IOdrlPolicy`[]; \}\>
|
|
185
185
|
|
|
186
186
|
Cursor for next page of results and the policies matching the query.
|
|
187
187
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/rights-management-service",
|
|
3
|
-
"version": "0.0.1
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "Rights Management service implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-models": "next",
|
|
18
|
-
"@twin.org/core": "
|
|
19
|
-
"@twin.org/entity": "
|
|
20
|
-
"@twin.org/nameof": "
|
|
21
|
-
"@twin.org/rights-management-models": "0.0.1
|
|
22
|
-
"@twin.org/rights-management-pap-service": "0.0.1
|
|
23
|
-
"@twin.org/standards-w3c-odrl": "
|
|
24
|
-
"@twin.org/web": "
|
|
17
|
+
"@twin.org/api-models": "^0.0.2-next.1",
|
|
18
|
+
"@twin.org/core": "^0.0.1",
|
|
19
|
+
"@twin.org/entity": "^0.0.1",
|
|
20
|
+
"@twin.org/nameof": "^0.0.1",
|
|
21
|
+
"@twin.org/rights-management-models": "^0.0.1",
|
|
22
|
+
"@twin.org/rights-management-pap-service": "^0.0.1",
|
|
23
|
+
"@twin.org/standards-w3c-odrl": "^0.0.1",
|
|
24
|
+
"@twin.org/web": "^0.0.1"
|
|
25
25
|
},
|
|
26
26
|
"main": "./dist/cjs/index.cjs",
|
|
27
27
|
"module": "./dist/esm/index.mjs",
|