@toa.io/extensions.exposition 1.0.0-alpha.272 → 1.0.0-alpha.273

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 (137) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/components/exposition.atom/manifest.toa.yaml +3 -1
  3. package/components/exposition.octets/manifest.toa.yaml +28 -10
  4. package/components/exposition.octets/operations/put.js +20 -5
  5. package/components/identity.bans/manifest.toa.yaml +26 -7
  6. package/components/identity.bans/operations/tsconfig.tsbuildinfo +1 -1
  7. package/components/identity.basic/manifest.toa.yaml +106 -30
  8. package/components/identity.basic/operations/authenticate.js +6 -3
  9. package/components/identity.basic/operations/authenticate.js.map +1 -1
  10. package/components/identity.basic/operations/incept.js +3 -2
  11. package/components/identity.basic/operations/incept.js.map +1 -1
  12. package/components/identity.basic/operations/transit.js +16 -5
  13. package/components/identity.basic/operations/transit.js.map +1 -1
  14. package/components/identity.basic/operations/tsconfig.tsbuildinfo +1 -1
  15. package/components/identity.basic/source/authenticate.ts +7 -3
  16. package/components/identity.basic/source/incept.ts +3 -2
  17. package/components/identity.basic/source/transit.ts +19 -5
  18. package/components/identity.credentials/manifest.toa.yaml +34 -13
  19. package/components/identity.credentials/operations/tsconfig.tsbuildinfo +1 -1
  20. package/components/identity.federation/manifest.toa.yaml +120 -28
  21. package/components/identity.federation/operations/authenticate.js +3 -2
  22. package/components/identity.federation/operations/authenticate.js.map +1 -1
  23. package/components/identity.federation/operations/create.js +4 -2
  24. package/components/identity.federation/operations/create.js.map +1 -1
  25. package/components/identity.federation/operations/lib/errors.d.ts +70 -11
  26. package/components/identity.federation/operations/lib/errors.js +40 -11
  27. package/components/identity.federation/operations/lib/errors.js.map +1 -1
  28. package/components/identity.federation/operations/tsconfig.tsbuildinfo +1 -1
  29. package/components/identity.federation/source/authenticate.ts +3 -2
  30. package/components/identity.federation/source/create.ts +4 -2
  31. package/components/identity.federation/source/lib/errors.ts +49 -12
  32. package/components/identity.keys/manifest.toa.yaml +14 -6
  33. package/components/identity.keys/operations/tsconfig.tsbuildinfo +1 -1
  34. package/components/identity.otp/manifest.toa.yaml +44 -15
  35. package/components/identity.otp/operations/authenticate.js +9 -4
  36. package/components/identity.otp/operations/authenticate.js.map +1 -1
  37. package/components/identity.otp/operations/tsconfig.tsbuildinfo +1 -1
  38. package/components/identity.otp/source/authenticate.ts +11 -4
  39. package/components/identity.passkeys/manifest.toa.yaml +38 -8
  40. package/components/identity.passkeys/operations/authenticate.js +3 -2
  41. package/components/identity.passkeys/operations/authenticate.js.map +1 -1
  42. package/components/identity.passkeys/operations/create.js +6 -3
  43. package/components/identity.passkeys/operations/create.js.map +1 -1
  44. package/components/identity.passkeys/operations/tsconfig.tsbuildinfo +1 -1
  45. package/components/identity.passkeys/operations/use.js +6 -3
  46. package/components/identity.passkeys/operations/use.js.map +1 -1
  47. package/components/identity.passkeys/source/authenticate.ts +3 -2
  48. package/components/identity.passkeys/source/create.ts +7 -3
  49. package/components/identity.passkeys/source/use.ts +7 -3
  50. package/components/identity.roles/manifest.toa.yaml +41 -10
  51. package/components/identity.roles/operations/grant.js +3 -2
  52. package/components/identity.roles/operations/grant.js.map +1 -1
  53. package/components/identity.roles/operations/tsconfig.tsbuildinfo +1 -1
  54. package/components/identity.roles/source/grant.ts +3 -2
  55. package/components/identity.tokens/manifest.toa.yaml +99 -39
  56. package/components/identity.tokens/operations/authenticate.js +6 -3
  57. package/components/identity.tokens/operations/authenticate.js.map +1 -1
  58. package/components/identity.tokens/operations/decrypt.js +9 -4
  59. package/components/identity.tokens/operations/decrypt.js.map +1 -1
  60. package/components/identity.tokens/operations/encrypt.js +3 -2
  61. package/components/identity.tokens/operations/encrypt.js.map +1 -1
  62. package/components/identity.tokens/operations/tsconfig.tsbuildinfo +1 -1
  63. package/components/identity.tokens/source/authenticate.ts +7 -3
  64. package/components/identity.tokens/source/decrypt.ts +11 -4
  65. package/components/identity.tokens/source/encrypt.ts +3 -2
  66. package/documentation/identity.md +4 -1
  67. package/features/cors.feature +1 -1
  68. package/features/dev.feature +1 -1
  69. package/features/identity.federation.feature +3 -2
  70. package/features/{identtiy.tokens.custom.feature → identity.tokens.custom.feature} +39 -0
  71. package/features/map.feature +1 -1
  72. package/features/octets.download.feature +1 -1
  73. package/features/octets.meta.feature +1 -1
  74. package/features/passkeys.feature +8 -8
  75. package/features/require.feature +2 -2
  76. package/features/response.feature +3 -3
  77. package/features/steps/Components.ts +12 -4
  78. package/features/steps/Gateway.ts +13 -13
  79. package/features/steps/HTTP.ts +3 -5
  80. package/features/steps/Parameters.ts +2 -3
  81. package/features/steps/Realtime.ts +4 -4
  82. package/features/steps/Workspace.ts +8 -3
  83. package/features/steps/components/audit/manifest.toa.yaml +12 -5
  84. package/features/steps/components/echo/manifest.toa.yaml +33 -8
  85. package/features/steps/components/notify/manifest.toa.yaml +12 -5
  86. package/features/steps/components/octets.tester/manifest.toa.yaml +43 -14
  87. package/features/steps/components/orders/manifest.toa.yaml +22 -5
  88. package/features/steps/components/pots/manifest.toa.yaml +71 -17
  89. package/features/steps/components/pricing/manifest.toa.yaml +8 -2
  90. package/features/steps/components/sequences/manifest.toa.yaml +3 -1
  91. package/features/steps/components/users/manifest.toa.yaml +18 -3
  92. package/features/steps/components/users.properties/manifest.toa.yaml +12 -2
  93. package/package.json +5 -6
  94. package/schemas/annotation.cos.yaml +37 -17
  95. package/schemas/directive.cos.yaml +7 -3
  96. package/schemas/io/throttle.cos.yaml +47 -8
  97. package/schemas/method.cos.yaml +21 -9
  98. package/schemas/node.cos.yaml +22 -7
  99. package/schemas/octets/delete.cos.yaml +15 -2
  100. package/schemas/octets/get.cos.yaml +5 -2
  101. package/schemas/octets/put.cos.yaml +6 -3
  102. package/schemas/octets/workflow.cos.yaml +0 -1
  103. package/schemas/query.cos.yaml +31 -14
  104. package/schemas/querystring.cos.yaml +19 -9
  105. package/schemas/range.cos.yaml +10 -2
  106. package/schemas/route.cos.yaml +6 -2
  107. package/source/Branch.test.ts +37 -0
  108. package/source/Branch.ts +37 -0
  109. package/source/Factory.ts +5 -5
  110. package/source/Gateway.ts +20 -13
  111. package/source/HTTP/formats/yaml.test.ts +4 -2
  112. package/source/RTD/Tree.ts +4 -1
  113. package/source/Tenant.ts +3 -3
  114. package/source/deployment.ts +3 -4
  115. package/source/directives/map/Headers.ts +8 -1
  116. package/source/directives/octets/Put.ts +6 -3
  117. package/source/root.ts +2 -2
  118. package/transpiled/Branch.d.ts +23 -0
  119. package/transpiled/Branch.js +16 -0
  120. package/transpiled/Branch.js.map +1 -1
  121. package/transpiled/Factory.js +4 -4
  122. package/transpiled/Factory.js.map +1 -1
  123. package/transpiled/Gateway.js +17 -7
  124. package/transpiled/Gateway.js.map +1 -1
  125. package/transpiled/RTD/Tree.js +4 -1
  126. package/transpiled/RTD/Tree.js.map +1 -1
  127. package/transpiled/Tenant.d.ts +1 -1
  128. package/transpiled/Tenant.js +1 -1
  129. package/transpiled/Tenant.js.map +1 -1
  130. package/transpiled/deployment.js +3 -4
  131. package/transpiled/deployment.js.map +1 -1
  132. package/transpiled/directives/map/Headers.js +7 -1
  133. package/transpiled/directives/map/Headers.js.map +1 -1
  134. package/transpiled/directives/octets/Put.js.map +1 -1
  135. package/transpiled/root.js +1 -1
  136. package/transpiled/root.js.map +1 -1
  137. package/transpiled/tsconfig.tsbuildinfo +1 -1
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Transition = void 0;
4
- const error_value_1 = require("error-value");
5
4
  const server_1 = require("@simplewebauthn/server");
6
5
  class Transition {
7
6
  stash;
@@ -52,6 +51,10 @@ function toCredential(passkey) {
52
51
  transports: passkey.transports
53
52
  };
54
53
  }
55
- const ERR_FAILED = new error_value_1.Err('FAILED');
56
- const ERR_INVALID = new error_value_1.Err('INVALID');
54
+ const ERR_FAILED = new (class FailedError extends Error {
55
+ code = 'FAILED';
56
+ })();
57
+ const ERR_INVALID = new (class InvalidError extends Error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 +1,3 @@
1
- import { Err } from 'error-value'
2
1
  import type { Context } from './types'
3
2
  import type { AuthenticationResponseJSON } from '@simplewebauthn/server'
4
3
  import type { Operation } from '@toa.io/types'
@@ -38,7 +37,9 @@ export class Effect implements Operation {
38
37
  }
39
38
  }
40
39
 
41
- const ERR_MISS = new Err('MISS')
40
+ const ERR_MISS = new (class MissError extends Error {
41
+ public readonly code = 'MISS'
42
+ })()
42
43
 
43
44
  export interface Input extends Omit<AuthenticationResponseJSON, 'rawId'> {
44
45
  authority: string
@@ -1,5 +1,4 @@
1
1
  import { verifyRegistrationResponse, type RegistrationResponseJSON } from '@simplewebauthn/server'
2
- import { Err } from 'error-value'
3
2
  import type { Operation } from '@toa.io/types'
4
3
  import type { Context, Passkey } from './types'
5
4
 
@@ -66,8 +65,13 @@ export class Transition implements Operation {
66
65
  }
67
66
  }
68
67
 
69
- const ERR_FAILED = new Err('FAILED')
70
- const ERR_INVALID = new Err('INVALID')
68
+ const ERR_FAILED = new (class FailedError extends Error {
69
+ public readonly code = 'FAILED'
70
+ })()
71
+
72
+ const ERR_INVALID = new (class InvalidError extends Error {
73
+ public readonly code = 'INVALID'
74
+ })()
71
75
 
72
76
  export interface Input extends RegistrationResponseJSON {
73
77
  authority: string
@@ -1,4 +1,3 @@
1
- import { Err } from 'error-value'
2
1
  import { verifyAuthenticationResponse } from '@simplewebauthn/server'
3
2
  import type { AuthenticationResponseJSON, WebAuthnCredential } from '@simplewebauthn/server'
4
3
  import type { Operation } from '@toa.io/types'
@@ -65,8 +64,13 @@ function toCredential (passkey: Passkey): WebAuthnCredential {
65
64
  }
66
65
  }
67
66
 
68
- const ERR_FAILED = new Err('FAILED')
69
- const ERR_INVALID = new Err('INVALID')
67
+ const ERR_FAILED = new (class FailedError extends Error {
68
+ public readonly code = 'FAILED'
69
+ })()
70
+
71
+ const ERR_INVALID = new (class InvalidError extends Error {
72
+ public readonly code = 'INVALID'
73
+ })()
70
74
 
71
75
  export interface Input extends Omit<AuthenticationResponseJSON, 'rawId'> {
72
76
  origin: string
@@ -3,9 +3,19 @@ name: roles
3
3
 
4
4
  entity:
5
5
  schema:
6
- identity*: /[a-z0-9]{32}/
7
- role*: /^[a-zA-Z0-9]{0,32}(:[a-zA-Z0-9]{0,32}){0,8}$/
8
- grantor: string
6
+ properties:
7
+ grantor:
8
+ type: string
9
+ identity:
10
+ type: string
11
+ pattern: '[a-z0-9]{32}'
12
+ role:
13
+ type: string
14
+ pattern: ^[a-zA-Z0-9]{0,32}(:[a-zA-Z0-9]{0,32}){0,8}$
15
+ type: object
16
+ required:
17
+ - identity
18
+ - role
9
19
  unique:
10
20
  role: [identity, role]
11
21
 
@@ -13,18 +23,39 @@ operations:
13
23
  grant:
14
24
  query: false
15
25
  input:
16
- identity*: .
17
- role*: .
18
- grantor:
19
- id: string
20
- roles: [string]
26
+ properties:
27
+ grantor:
28
+ properties:
29
+ id:
30
+ type: string
31
+ roles:
32
+ type: array
33
+ items:
34
+ type: string
35
+ type: object
36
+ identity:
37
+ type: string
38
+ default: .
39
+ role:
40
+ type: string
41
+ default: .
42
+ type: object
43
+ required:
44
+ - identity
45
+ - role
21
46
  errors:
22
47
  - INACCESSIBLE_SCOPE
23
48
  list:
24
- output: [string]
49
+ output:
50
+ type: array
51
+ items:
52
+ type: string
25
53
  principal:
26
54
  input:
27
- id: string
55
+ properties:
56
+ id:
57
+ type: string
58
+ type: object
28
59
 
29
60
  receivers:
30
61
  identity.basic.principal: principal
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.transition = void 0;
4
- const error_value_1 = require("error-value");
5
4
  async function transition(input, object) {
6
5
  if (input.grantor === undefined)
7
6
  return Object.assign(object, input);
@@ -17,5 +16,7 @@ exports.transition = transition;
17
16
  function within(role, scopes) {
18
17
  return scopes.some((scope) => role === scope || role.startsWith(scope + ':'));
19
18
  }
20
- const ERR_INACCESSIBLE_SCOPE = new error_value_1.Err('INACCESSIBLE_SCOPE');
19
+ const ERR_INACCESSIBLE_SCOPE = new (class InaccessibleScopeError extends Error {
20
+ code = 'INACCESSIBLE_SCOPE';
21
+ })();
21
22
  //# sourceMappingURL=grant.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"grant.js","sourceRoot":"","sources":["../source/grant.ts"],"names":[],"mappings":";;;AAAA,6CAAiC;AAG1B,KAAK,UAAU,UAAU,CAAE,KAAY,EAAE,MAAc;IAC5D,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS;QAC7B,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;IAErC,IAAI,CAAC,MAAM,CAAC,uBAAuB,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QACvD,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QACxC,OAAO,sBAAsB,CAAA;IAE/B,MAAM,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAA;IACxB,MAAM,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAA;IAChC,MAAM,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,CAAA;IAEjC,OAAO,MAAM,CAAA;AACf,CAAC;AAbD,gCAaC;AAED,SAAS,MAAM,CAAE,IAAY,EAAE,MAAgB;IAC7C,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC,CAAA;AAC/E,CAAC;AAED,MAAM,sBAAsB,GAAG,IAAI,iBAAG,CAAC,oBAAoB,CAAC,CAAA"}
1
+ {"version":3,"file":"grant.js","sourceRoot":"","sources":["../source/grant.ts"],"names":[],"mappings":";;;AAEO,KAAK,UAAU,UAAU,CAAE,KAAY,EAAE,MAAc;IAC5D,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS;QAC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