@webda/core 4.0.0-beta.4 → 4.0.0-beta.5

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.
Files changed (43) hide show
  1. package/lib/core/operations.d.ts.map +1 -1
  2. package/lib/core/operations.js +13 -11
  3. package/lib/core/operations.js.map +1 -1
  4. package/lib/index.d.ts +2 -1
  5. package/lib/index.d.ts.map +1 -1
  6. package/lib/index.js +2 -1
  7. package/lib/index.js.map +1 -1
  8. package/lib/models/aclmodel.d.ts +32 -5
  9. package/lib/models/aclmodel.d.ts.map +1 -1
  10. package/lib/models/aclmodel.js +34 -9
  11. package/lib/models/aclmodel.js.map +1 -1
  12. package/lib/models/ownermodel.model.d.ts +25 -3
  13. package/lib/models/ownermodel.model.d.ts.map +1 -1
  14. package/lib/models/ownermodel.model.js +44 -9
  15. package/lib/models/ownermodel.model.js.map +1 -1
  16. package/lib/models/permissions.d.ts +236 -0
  17. package/lib/models/permissions.d.ts.map +1 -0
  18. package/lib/models/permissions.js +495 -0
  19. package/lib/models/permissions.js.map +1 -0
  20. package/lib/models/rolemodel.model.d.ts.map +1 -1
  21. package/lib/models/rolemodel.model.js +1 -2
  22. package/lib/models/rolemodel.model.js.map +1 -1
  23. package/lib/models/user.model.d.ts +12 -0
  24. package/lib/models/user.model.d.ts.map +1 -1
  25. package/lib/models/user.model.js +16 -0
  26. package/lib/models/user.model.js.map +1 -1
  27. package/lib/rest/restoperationstransport.service.d.ts.map +1 -1
  28. package/lib/rest/restoperationstransport.service.js +7 -5
  29. package/lib/rest/restoperationstransport.service.js.map +1 -1
  30. package/lib/services/audit.model.d.ts +2 -2
  31. package/lib/services/audit.model.d.ts.map +1 -1
  32. package/lib/services/audit.model.js +14 -5
  33. package/lib/services/audit.model.js.map +1 -1
  34. package/lib/services/binary.service.d.ts +42 -4
  35. package/lib/services/binary.service.d.ts.map +1 -1
  36. package/lib/services/binary.service.js +33 -13
  37. package/lib/services/binary.service.js.map +1 -1
  38. package/lib/services/domainservice.service.d.ts +74 -3
  39. package/lib/services/domainservice.service.d.ts.map +1 -1
  40. package/lib/services/domainservice.service.js +234 -57
  41. package/lib/services/domainservice.service.js.map +1 -1
  42. package/package.json +17 -13
  43. package/webda.module.json +3 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webda/core",
3
- "version": "4.0.0-beta.4",
3
+ "version": "4.0.0-beta.5",
4
4
  "description": "Expose API with Lambda",
5
5
  "keywords": [
6
6
  "aws",
@@ -8,7 +8,11 @@
8
8
  "api gateway"
9
9
  ],
10
10
  "author": "Remi Cattiau <remi@cattiau.com>",
11
- "repository": "git://github.com/loopingz/webda.io.git",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/loopingz/webda.io.git",
14
+ "directory": "packages/core"
15
+ },
12
16
  "main": "lib/index.js",
13
17
  "typings": "lib/index.d.ts",
14
18
  "bin": {
@@ -50,18 +54,18 @@
50
54
  "uri-templates": "^0.2.0",
51
55
  "yaml": "^2.8.3",
52
56
  "yargs": "^18.0.0",
53
- "@webda/cache": "^4.0.0-beta.4",
54
- "@webda/ql": "4.0.0-beta.3",
55
- "@webda/decorators": "^4.0.0-beta.3",
56
- "@webda/models": "^4.0.0-beta.4",
57
- "@webda/utils": "^4.0.0-beta.4",
58
- "@webda/tsc-esm": "4.0.0-beta.3",
59
- "@webda/workout": "4.0.0-beta.3"
57
+ "@webda/decorators": "^4.0.0-beta.5",
58
+ "@webda/cache": "^4.0.0-beta.5",
59
+ "@webda/models": "^4.0.0-beta.5",
60
+ "@webda/tsc-esm": "4.0.0-beta.5",
61
+ "@webda/utils": "^4.0.0-beta.5",
62
+ "@webda/ql": "4.0.0-beta.5",
63
+ "@webda/workout": "4.0.0-beta.5"
60
64
  },
61
65
  "peerDependencies": {
62
66
  "sinon": "^21.0.3",
63
67
  "vitest": "^4.1.2",
64
- "@webda/test": "^4.0.0-beta.3"
68
+ "@webda/test": "^4.0.0-beta.5"
65
69
  },
66
70
  "peerDependenciesMeta": {
67
71
  "sinon": {
@@ -96,9 +100,9 @@
96
100
  "vite": "^6.0.0",
97
101
  "vitest": "^4.1.2",
98
102
  "ws": "^8.20.0",
99
- "@webda/compiler": "^4.0.0-beta.4",
100
- "@webda/test": "^4.0.0-beta.3",
101
- "@webda/content-mapper": "^4.0.0-beta.4"
103
+ "@webda/content-mapper": "^4.0.0-beta.5",
104
+ "@webda/compiler": "^4.0.0-beta.5",
105
+ "@webda/test": "^4.0.0-beta.5"
102
106
  },
103
107
  "files": [
104
108
  "lib",
package/webda.module.json CHANGED
@@ -1642,7 +1642,7 @@
1642
1642
  "Output": {
1643
1643
  "$schema": "http://json-schema.org/draft-07/schema#",
1644
1644
  "additionalProperties": false,
1645
- "description": "Abstract class to define an object with an owner\n\nThe owner is the user that created the object\nThe owner can be changed by the owner",
1645
+ "description": "Abstract class to define an object with an owner\n\nThe owner is the user that created the object, set from the caller on create.\nThe owner is never taken from client input.",
1646
1646
  "properties": {
1647
1647
  "_user": {
1648
1648
  "allOf": [
@@ -1678,7 +1678,7 @@
1678
1678
  "Input": {
1679
1679
  "$schema": "http://json-schema.org/draft-07/schema#",
1680
1680
  "additionalProperties": false,
1681
- "description": "Abstract class to define an object with an owner\n\nThe owner is the user that created the object\nThe owner can be changed by the owner",
1681
+ "description": "Abstract class to define an object with an owner\n\nThe owner is the user that created the object, set from the caller on create.\nThe owner is never taken from client input.",
1682
1682
  "properties": {
1683
1683
  "_user": {
1684
1684
  "allOf": [
@@ -1714,7 +1714,7 @@
1714
1714
  "Stored": {
1715
1715
  "$schema": "http://json-schema.org/draft-07/schema#",
1716
1716
  "additionalProperties": false,
1717
- "description": "Abstract class to define an object with an owner\n\nThe owner is the user that created the object\nThe owner can be changed by the owner",
1717
+ "description": "Abstract class to define an object with an owner\n\nThe owner is the user that created the object, set from the caller on create.\nThe owner is never taken from client input.",
1718
1718
  "properties": {
1719
1719
  "_user": {
1720
1720
  "allOf": [
@@ -3563,10 +3563,6 @@
3563
3563
  "additionalProperties": false,
3564
3564
  "description": "Represent a file to store",
3565
3565
  "properties": {
3566
- "challenge": {
3567
- "description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'",
3568
- "type": "string"
3569
- },
3570
3566
  "hash": {
3571
3567
  "description": "Will be computed by the service\n\nhash of the content",
3572
3568
  "type": "string"
@@ -3725,10 +3721,6 @@
3725
3721
  "class": "BinaryMap",
3726
3722
  "description": "This is a map used to retrieve binary",
3727
3723
  "properties": {
3728
- "challenge": {
3729
- "description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'",
3730
- "type": "string"
3731
- },
3732
3724
  "hash": {
3733
3725
  "description": "Will be computed by the service\n\nhash of the content",
3734
3726
  "type": "string"
@@ -3885,10 +3877,6 @@
3885
3877
  "class": "BinaryMap",
3886
3878
  "description": "This is a map used to retrieve binary",
3887
3879
  "properties": {
3888
- "challenge": {
3889
- "description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'",
3890
- "type": "string"
3891
- },
3892
3880
  "hash": {
3893
3881
  "description": "Will be computed by the service\n\nhash of the content",
3894
3882
  "type": "string"