@toa.io/extensions.exposition 1.0.0-alpha.28 → 1.0.0-alpha.282
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/CHANGELOG.md +485 -0
- package/components/exposition.octets/manifest.toa.yaml +47 -0
- package/components/{octets.storage → exposition.octets}/operations/delete.js +1 -3
- package/components/exposition.octets/operations/get.js +5 -0
- package/components/exposition.octets/operations/head.js +5 -0
- package/components/exposition.octets/operations/put.js +150 -0
- package/components/identity.bans/manifest.toa.yaml +26 -7
- package/components/identity.bans/operations/transit.js +1 -5
- package/components/identity.bans/operations/transit.js.map +1 -1
- package/components/identity.bans/tsconfig.json +1 -0
- package/components/identity.bans/tsconfig.tsbuildinfo +1 -0
- package/components/identity.basic/events/principal.js +6 -4
- package/components/identity.basic/manifest.toa.yaml +195 -27
- package/components/identity.basic/operations/add.d.ts +3 -0
- package/components/identity.basic/operations/add.js +13 -0
- package/components/identity.basic/operations/add.js.map +1 -0
- package/components/identity.basic/operations/authenticate.d.ts +1 -1
- package/components/identity.basic/operations/authenticate.js +19 -16
- package/components/identity.basic/operations/authenticate.js.map +1 -1
- package/components/identity.basic/operations/check.d.ts +7 -0
- package/components/identity.basic/operations/check.js +12 -0
- package/components/identity.basic/operations/check.js.map +1 -0
- package/components/identity.basic/operations/delete.d.ts +7 -0
- package/components/identity.basic/operations/delete.js +7 -0
- package/components/identity.basic/operations/delete.js.map +1 -0
- package/components/identity.basic/operations/incept.d.ts +1 -1
- package/components/identity.basic/operations/incept.js +16 -14
- package/components/identity.basic/operations/incept.js.map +1 -1
- package/components/identity.basic/operations/info.d.ts +10 -0
- package/components/identity.basic/operations/info.js +7 -0
- package/components/identity.basic/operations/info.js.map +1 -0
- package/components/identity.basic/operations/lib/credentials.d.ts +5 -0
- package/components/identity.basic/operations/lib/credentials.js +12 -0
- package/components/identity.basic/operations/lib/credentials.js.map +1 -0
- package/components/identity.basic/operations/transit.d.ts +4 -2
- package/components/identity.basic/operations/transit.js +40 -19
- package/components/identity.basic/operations/transit.js.map +1 -1
- package/components/identity.basic/operations/types.d.ts +30 -9
- package/components/identity.basic/operations/types.js +1 -2
- package/components/identity.basic/source/add.ts +15 -0
- package/components/identity.basic/source/authenticate.ts +20 -10
- package/components/identity.basic/source/check.ts +21 -0
- package/components/identity.basic/source/delete.ts +15 -0
- package/components/identity.basic/source/incept.ts +17 -10
- package/components/identity.basic/source/info.ts +19 -0
- package/components/identity.basic/source/lib/credentials.test.ts +18 -0
- package/components/identity.basic/source/lib/credentials.ts +13 -0
- package/components/identity.basic/source/transit.ts +45 -16
- package/components/identity.basic/source/types.ts +34 -9
- package/components/identity.basic/tsconfig.json +1 -0
- package/components/identity.basic/tsconfig.tsbuildinfo +1 -0
- package/components/identity.credentials/manifest.toa.yaml +78 -0
- package/components/identity.credentials/operations/list.d.ts +51 -0
- package/components/identity.credentials/operations/list.js +28 -0
- package/components/identity.credentials/operations/list.js.map +1 -0
- package/components/identity.credentials/source/list.test.ts +51 -0
- package/components/identity.credentials/source/list.ts +87 -0
- package/components/identity.credentials/tsconfig.json +8 -0
- package/components/identity.credentials/tsconfig.tsbuildinfo +1 -0
- package/components/identity.federation/events/principal.js +7 -8
- package/components/identity.federation/manifest.toa.yaml +212 -46
- package/components/identity.federation/operations/authenticate.d.ts +16 -3
- package/components/identity.federation/operations/authenticate.js +24 -19
- package/components/identity.federation/operations/authenticate.js.map +1 -1
- package/components/identity.federation/operations/create.d.ts +8 -0
- package/components/identity.federation/operations/create.js +29 -0
- package/components/identity.federation/operations/create.js.map +1 -0
- package/components/identity.federation/operations/decode.d.ts +3 -0
- package/components/identity.federation/operations/decode.js +9 -0
- package/components/identity.federation/operations/decode.js.map +1 -0
- package/components/identity.federation/operations/delete.d.ts +8 -0
- package/components/identity.federation/operations/delete.js +7 -0
- package/components/identity.federation/operations/delete.js.map +1 -0
- package/components/identity.federation/operations/incept.d.ts +6 -6
- package/components/identity.federation/operations/incept.js +4 -12
- package/components/identity.federation/operations/incept.js.map +1 -1
- package/components/identity.federation/operations/lib/Configuration.d.ts +39 -0
- package/components/identity.federation/operations/lib/Configuration.js +2 -0
- package/components/identity.federation/operations/lib/Configuration.js.map +1 -0
- package/components/identity.federation/operations/lib/Ctx.d.ts +8 -0
- package/components/identity.federation/operations/lib/Ctx.js +2 -0
- package/components/identity.federation/operations/lib/Ctx.js.map +1 -0
- package/components/identity.federation/operations/lib/Payload.d.ts +5 -0
- package/components/identity.federation/operations/lib/Payload.js +2 -0
- package/components/identity.federation/operations/lib/Payload.js.map +1 -0
- package/components/identity.federation/operations/lib/decode.d.ts +3 -0
- package/components/identity.federation/operations/lib/decode.js +22 -0
- package/components/identity.federation/operations/lib/decode.js.map +1 -0
- package/components/identity.federation/operations/lib/discovery.d.ts +5 -0
- package/components/identity.federation/operations/lib/discovery.js +34 -0
- package/components/identity.federation/operations/lib/discovery.js.map +1 -0
- package/components/identity.federation/operations/lib/errors.d.ts +70 -0
- package/components/identity.federation/operations/lib/errors.js +41 -0
- package/components/identity.federation/operations/lib/errors.js.map +1 -0
- package/components/identity.federation/operations/lib/exchange.d.ts +3 -0
- package/components/identity.federation/operations/lib/exchange.js +81 -0
- package/components/identity.federation/operations/lib/exchange.js.map +1 -0
- package/components/identity.federation/operations/lib/index.d.ts +4 -0
- package/components/identity.federation/operations/lib/index.js +4 -0
- package/components/identity.federation/operations/lib/index.js.map +1 -0
- package/components/identity.federation/operations/lib/jose.d.ts +1 -0
- package/components/identity.federation/operations/lib/jose.js +2 -0
- package/components/identity.federation/operations/lib/jose.js.map +1 -0
- package/components/identity.federation/operations/lib/resolve.d.ts +3 -0
- package/components/identity.federation/operations/lib/resolve.js +13 -0
- package/components/identity.federation/operations/lib/resolve.js.map +1 -0
- package/components/identity.federation/operations/list.d.ts +7 -0
- package/components/identity.federation/operations/list.js +12 -0
- package/components/identity.federation/operations/list.js.map +1 -0
- package/components/identity.federation/operations/types/Scheme.d.ts +1 -0
- package/components/identity.federation/operations/types/Scheme.js +2 -0
- package/components/identity.federation/operations/types/Scheme.js.map +1 -0
- package/components/identity.federation/operations/types/configuration.d.ts +22 -0
- package/components/identity.federation/operations/types/configuration.js +2 -0
- package/components/identity.federation/operations/types/configuration.js.map +1 -0
- package/components/identity.federation/operations/types/context.d.ts +35 -0
- package/components/identity.federation/operations/types/context.js +2 -0
- package/components/identity.federation/operations/types/context.js.map +1 -0
- package/components/identity.federation/operations/types/entity.d.ts +9 -0
- package/components/identity.federation/operations/types/entity.js +2 -0
- package/components/identity.federation/operations/types/entity.js.map +1 -0
- package/components/identity.federation/operations/types/index.d.ts +4 -0
- package/components/identity.federation/operations/types/index.js +5 -0
- package/components/identity.federation/operations/types/index.js.map +1 -0
- package/components/identity.federation/source/authenticate.ts +43 -22
- package/components/identity.federation/source/create.ts +45 -0
- package/components/identity.federation/source/decode.ts +11 -0
- package/components/identity.federation/source/delete.ts +16 -0
- package/components/identity.federation/source/incept.ts +9 -17
- package/components/identity.federation/source/lib/Configuration.ts +39 -0
- package/components/identity.federation/source/lib/Ctx.ts +9 -0
- package/components/identity.federation/source/lib/Payload.ts +6 -0
- package/components/identity.federation/source/lib/decode.ts +31 -0
- package/components/identity.federation/source/lib/discovery.test.ts +50 -0
- package/components/identity.federation/source/lib/discovery.ts +49 -0
- package/components/identity.federation/source/lib/errors.ts +49 -0
- package/components/identity.federation/source/lib/exchange.ts +116 -0
- package/components/identity.federation/source/lib/index.ts +4 -0
- package/components/identity.federation/source/lib/jose.d.ts +1 -0
- package/components/identity.federation/source/lib/jose.js +1 -0
- package/components/identity.federation/source/lib/resolve.ts +17 -0
- package/components/identity.federation/source/list.test.ts +25 -0
- package/components/identity.federation/source/list.ts +18 -0
- package/components/identity.federation/source/types/Scheme.ts +1 -0
- package/components/identity.federation/source/types/configuration.ts +24 -0
- package/components/identity.federation/source/types/context.ts +38 -0
- package/components/identity.federation/source/types/entity.ts +9 -0
- package/components/identity.federation/source/types/index.ts +4 -0
- package/components/identity.federation/tsconfig.json +3 -4
- package/components/identity.federation/tsconfig.tsbuildinfo +1 -0
- package/components/identity.keys/manifest.toa.yaml +83 -0
- package/components/identity.keys/operations/create.d.ts +22 -0
- package/components/identity.keys/operations/create.js +12 -0
- package/components/identity.keys/operations/create.js.map +1 -0
- package/components/identity.keys/operations/disable.d.ts +5 -0
- package/components/identity.keys/operations/disable.js +5 -0
- package/components/identity.keys/operations/disable.js.map +1 -0
- package/components/identity.keys/operations/revoke.d.ts +15 -0
- package/components/identity.keys/operations/revoke.js +12 -0
- package/components/identity.keys/operations/revoke.js.map +1 -0
- package/components/identity.keys/receivers/identity.bans.created.js +1 -0
- package/components/identity.keys/receivers/identity.bans.updated.js +1 -0
- package/components/identity.keys/receivers/identity.roles.deleted.js +1 -0
- package/components/identity.keys/source/create.ts +35 -0
- package/components/identity.keys/source/disable.ts +9 -0
- package/components/identity.keys/source/revoke.ts +30 -0
- package/components/identity.keys/tsconfig.json +10 -0
- package/components/identity.keys/tsconfig.tsbuildinfo +1 -0
- package/components/identity.otp/manifest.toa.yaml +104 -0
- package/components/identity.otp/operations/authenticate.d.ts +12 -0
- package/components/identity.otp/operations/authenticate.js +44 -0
- package/components/identity.otp/operations/authenticate.js.map +1 -0
- package/components/identity.otp/operations/issue.d.ts +12 -0
- package/components/identity.otp/operations/issue.js +19 -0
- package/components/identity.otp/operations/issue.js.map +1 -0
- package/components/identity.otp/operations/lib/Context.d.ts +14 -0
- package/components/identity.otp/operations/lib/Context.js +2 -0
- package/components/identity.otp/operations/lib/Context.js.map +1 -0
- package/components/identity.otp/operations/lib/Entity.d.ts +6 -0
- package/components/identity.otp/operations/lib/Entity.js +2 -0
- package/components/identity.otp/operations/lib/Entity.js.map +1 -0
- package/components/identity.otp/operations/lib/index.d.ts +1 -0
- package/components/identity.otp/operations/lib/index.js +2 -0
- package/components/identity.otp/operations/lib/index.js.map +1 -0
- package/components/identity.otp/source/authenticate.ts +73 -0
- package/components/identity.otp/source/issue.ts +35 -0
- package/components/identity.otp/source/lib/Context.ts +15 -0
- package/components/identity.otp/source/lib/Entity.ts +6 -0
- package/components/identity.otp/source/lib/index.ts +1 -0
- package/components/identity.otp/tsconfig.json +10 -0
- package/components/identity.otp/tsconfig.tsbuildinfo +1 -0
- package/components/identity.passkeys/manifest.toa.yaml +306 -0
- package/components/identity.passkeys/operations/authenticate.d.ts +16 -0
- package/components/identity.passkeys/operations/authenticate.js +32 -0
- package/components/identity.passkeys/operations/authenticate.js.map +1 -0
- package/components/identity.passkeys/operations/challenge.d.ts +35 -0
- package/components/identity.passkeys/operations/challenge.js +69 -0
- package/components/identity.passkeys/operations/challenge.js.map +1 -0
- package/components/identity.passkeys/operations/create.d.ts +19 -0
- package/components/identity.passkeys/operations/create.js +57 -0
- package/components/identity.passkeys/operations/create.js.map +1 -0
- package/components/identity.passkeys/operations/delete.d.ts +8 -0
- package/components/identity.passkeys/operations/delete.js +9 -0
- package/components/identity.passkeys/operations/delete.js.map +1 -0
- package/components/identity.passkeys/operations/lib/const.d.ts +1 -0
- package/components/identity.passkeys/operations/lib/const.js +2 -0
- package/components/identity.passkeys/operations/lib/const.js.map +1 -0
- package/components/identity.passkeys/operations/list.d.ts +7 -0
- package/components/identity.passkeys/operations/list.js +12 -0
- package/components/identity.passkeys/operations/list.js.map +1 -0
- package/components/identity.passkeys/operations/types/Configuration.d.ts +6 -0
- package/components/identity.passkeys/operations/types/Configuration.js +2 -0
- package/components/identity.passkeys/operations/types/Configuration.js.map +1 -0
- package/components/identity.passkeys/operations/types/Context.d.ts +15 -0
- package/components/identity.passkeys/operations/types/Context.js +2 -0
- package/components/identity.passkeys/operations/types/Context.js.map +1 -0
- package/components/identity.passkeys/operations/types/Passkey.d.ts +12 -0
- package/components/identity.passkeys/operations/types/Passkey.js +2 -0
- package/components/identity.passkeys/operations/types/Passkey.js.map +1 -0
- package/components/identity.passkeys/operations/types/index.d.ts +2 -0
- package/components/identity.passkeys/operations/types/index.js +2 -0
- package/components/identity.passkeys/operations/types/index.js.map +1 -0
- package/components/identity.passkeys/operations/use.d.ts +16 -0
- package/components/identity.passkeys/operations/use.js +56 -0
- package/components/identity.passkeys/operations/use.js.map +1 -0
- package/components/identity.passkeys/source/authenticate.ts +50 -0
- package/components/identity.passkeys/source/challenge.ts +115 -0
- package/components/identity.passkeys/source/create.ts +81 -0
- package/components/identity.passkeys/source/delete.ts +16 -0
- package/components/identity.passkeys/source/lib/const.ts +1 -0
- package/components/identity.passkeys/source/list.ts +18 -0
- package/components/identity.passkeys/source/types/Configuration.ts +6 -0
- package/components/identity.passkeys/source/types/Context.ts +16 -0
- package/components/identity.passkeys/source/types/Passkey.ts +12 -0
- package/components/identity.passkeys/source/types/index.ts +2 -0
- package/components/identity.passkeys/source/use.ts +79 -0
- package/components/identity.passkeys/tsconfig.json +10 -0
- package/components/identity.passkeys/tsconfig.tsbuildinfo +1 -0
- package/components/identity.roles/manifest.toa.yaml +47 -10
- package/components/identity.roles/operations/grant.d.ts +1 -1
- package/components/identity.roles/operations/grant.js +10 -10
- package/components/identity.roles/operations/grant.js.map +1 -1
- package/components/identity.roles/operations/lib/Entity.js +1 -2
- package/components/identity.roles/operations/list.d.ts +1 -1
- package/components/identity.roles/operations/list.js +1 -5
- package/components/identity.roles/operations/list.js.map +1 -1
- package/components/identity.roles/operations/principal.d.ts +2 -2
- package/components/identity.roles/operations/principal.js +1 -5
- package/components/identity.roles/operations/principal.js.map +1 -1
- package/components/identity.roles/receivers/identity.federation.principal.js +4 -0
- package/components/identity.roles/source/grant.ts +11 -6
- package/components/identity.roles/source/list.ts +1 -1
- package/components/identity.roles/source/principal.ts +2 -2
- package/components/identity.roles/tsconfig.json +1 -0
- package/components/identity.roles/tsconfig.tsbuildinfo +1 -0
- package/components/identity.tokens/manifest.toa.yaml +188 -28
- package/components/identity.tokens/operations/authenticate.d.ts +2 -2
- package/components/identity.tokens/operations/authenticate.js +20 -19
- package/components/identity.tokens/operations/authenticate.js.map +1 -1
- package/components/identity.tokens/operations/decrypt.d.ts +15 -3
- package/components/identity.tokens/operations/decrypt.js +131 -24
- package/components/identity.tokens/operations/decrypt.js.map +1 -1
- package/components/identity.tokens/operations/encrypt.d.ts +3 -3
- package/components/identity.tokens/operations/encrypt.js +33 -18
- package/components/identity.tokens/operations/encrypt.js.map +1 -1
- package/components/identity.tokens/operations/issue.d.ts +24 -0
- package/components/identity.tokens/operations/issue.js +56 -0
- package/components/identity.tokens/operations/issue.js.map +1 -0
- package/components/identity.tokens/operations/lib/index.d.ts +3 -0
- package/components/identity.tokens/operations/lib/index.js +4 -0
- package/components/identity.tokens/operations/lib/index.js.map +1 -0
- package/components/identity.tokens/operations/lib/jose.d.ts +1 -0
- package/components/identity.tokens/operations/lib/jose.js +2 -0
- package/components/identity.tokens/operations/lib/jose.js.map +1 -0
- package/components/identity.tokens/operations/lib/key.d.ts +1 -0
- package/components/identity.tokens/operations/lib/key.js +7 -0
- package/components/identity.tokens/operations/lib/key.js.map +1 -0
- package/components/identity.tokens/operations/lib/pad.d.ts +1 -0
- package/components/identity.tokens/operations/lib/pad.js +2 -0
- package/components/identity.tokens/operations/lib/pad.js.map +1 -0
- package/components/identity.tokens/operations/lib/types.d.ts +88 -0
- package/components/identity.tokens/operations/lib/types.js +2 -0
- package/components/identity.tokens/operations/lib/types.js.map +1 -0
- package/components/identity.tokens/operations/revoke.d.ts +2 -2
- package/components/identity.tokens/operations/revoke.js +1 -5
- package/components/identity.tokens/operations/revoke.js.map +1 -1
- package/components/identity.tokens/receivers/identity.bans.created.js +1 -3
- package/components/identity.tokens/receivers/identity.bans.updated.js +1 -3
- package/components/identity.tokens/source/authenticate.test.ts +56 -16
- package/components/identity.tokens/source/authenticate.ts +22 -16
- package/components/identity.tokens/source/decrypt.test.ts +140 -18
- package/components/identity.tokens/source/decrypt.ts +176 -21
- package/components/identity.tokens/source/encrypt.test.ts +102 -16
- package/components/identity.tokens/source/encrypt.ts +45 -16
- package/components/identity.tokens/source/issue.ts +83 -0
- package/components/identity.tokens/source/lib/index.ts +3 -0
- package/components/identity.tokens/source/lib/jose.d.ts +1 -0
- package/components/identity.tokens/source/lib/jose.js +1 -0
- package/components/identity.tokens/source/lib/key.ts +8 -0
- package/components/identity.tokens/source/lib/pad.ts +1 -0
- package/components/identity.tokens/source/lib/paseto.test.ts +51 -0
- package/components/identity.tokens/source/lib/types.ts +102 -0
- package/components/identity.tokens/source/revoke.ts +2 -2
- package/components/identity.tokens/tsconfig.json +1 -0
- package/components/identity.tokens/tsconfig.tsbuildinfo +1 -0
- package/{components/context.toa.yaml → context.toa.yaml} +6 -2
- package/cucumber.mjs +4 -0
- package/documentation/access.md +78 -27
- package/documentation/authorities.md +9 -11
- package/documentation/components.md +200 -62
- package/documentation/credentials.md +88 -0
- package/documentation/dev.md +30 -0
- package/documentation/flow.md +44 -0
- package/documentation/identity.md +162 -16
- package/documentation/introspection.md +82 -0
- package/documentation/io.md +73 -2
- package/documentation/ip.md +24 -0
- package/documentation/map.md +115 -0
- package/documentation/notes/desync.jpg +0 -0
- package/documentation/notes/peers.md +59 -0
- package/documentation/notes/throttling.md +122 -0
- package/documentation/octets.md +122 -69
- package/documentation/passkeys.md +11 -0
- package/documentation/protocol.md +35 -4
- package/documentation/query.md +43 -0
- package/documentation/tracing.md +70 -0
- package/documentation/tree.md +13 -0
- package/features/access.feature +123 -3
- package/features/auth.assert.feature +55 -0
- package/features/auth.claims.feature +171 -0
- package/features/auth.incept.feature +166 -0
- package/features/auth.input.feature +59 -0
- package/features/authorities.feature +41 -2
- package/features/authorities.federation.feature +21 -20
- package/features/authorities.tokens.feature +1 -2
- package/features/body.feature +27 -0
- package/features/cache.feature +97 -8
- package/features/configuration.feature +207 -0
- package/features/cors.feature +29 -8
- package/features/credentials.feature +106 -0
- package/features/dev.feature +87 -0
- package/features/dynamic.feature +82 -1
- package/features/errors.feature +17 -5
- package/features/etag.feature +223 -1
- package/features/flow.feature +148 -0
- package/features/identity.bans.feature +63 -0
- package/features/identity.basic.feature +231 -10
- package/features/identity.feature +158 -0
- package/features/identity.federation.feature +226 -35
- package/features/identity.otp.feature +142 -0
- package/features/identity.roles.feature +305 -4
- package/features/identity.tokens.custom.feature +430 -0
- package/features/identity.tokens.feature +4 -102
- package/features/interruptions.feature +19 -0
- package/features/introspection.feature +146 -0
- package/features/introspection.map.feature +108 -0
- package/features/io.feature +0 -1
- package/features/io.throttle.feature +165 -0
- package/features/map.feature +359 -0
- package/features/methods.feature +47 -0
- package/features/octets.cloudinary.feature +232 -0
- package/features/octets.download.feature +192 -0
- package/features/octets.entries.feature +13 -61
- package/features/octets.feature +52 -70
- package/features/octets.head.feature +40 -0
- package/features/octets.location.feature +83 -0
- package/features/octets.meta.feature +63 -16
- package/features/octets.workflows.feature +333 -68
- package/features/passkeys.feature +66 -0
- package/features/probes.feature +8 -4
- package/features/query.feature +128 -0
- package/features/realtime.feature +34 -0
- package/features/require.feature +2 -2
- package/features/response.feature +30 -1
- package/features/routes.feature +85 -0
- package/features/server.feature +21 -0
- package/features/steps/.env.example +5 -0
- package/features/steps/Captures.ts +15 -1
- package/features/steps/Common.ts +31 -2
- package/features/steps/Components.ts +63 -6
- package/features/steps/Database.ts +19 -3
- package/features/steps/Gateway.ts +124 -23
- package/features/steps/HTTP.ts +36 -11
- package/features/steps/IDP.ts +337 -0
- package/features/steps/Identity.ts +54 -0
- package/features/steps/OTP.ts +42 -0
- package/features/steps/Parameters.ts +99 -4
- package/features/steps/Probe.ts +36 -0
- package/features/steps/Realtime.ts +154 -0
- package/features/steps/Workspace.ts +10 -6
- package/features/steps/components/audit/manifest.toa.yaml +20 -0
- package/features/steps/components/audit/operations/record.js +5 -0
- package/features/steps/components/echo/manifest.toa.yaml +47 -5
- package/features/steps/components/echo/operations/affect.js +1 -5
- package/features/steps/components/echo/operations/compute.js +1 -5
- package/features/steps/components/echo/operations/echo.js +3 -0
- package/features/steps/components/echo/operations/error.js +1 -5
- package/features/steps/components/echo/operations/identity.js +1 -5
- package/features/steps/components/echo/operations/parameters.js +3 -0
- package/features/steps/components/echo/operations/ping.js +3 -0
- package/features/steps/components/echo/operations/unwrap.js +3 -0
- package/features/steps/components/echo.beacon/manifest.toa.yaml +2 -0
- package/features/steps/components/echo.beacon/operations/hello.js +3 -0
- package/features/steps/components/greeter/manifest.toa.yaml +0 -1
- package/features/steps/components/greeter/operations/greet.js +1 -5
- package/features/steps/components/notify/manifest.toa.yaml +20 -0
- package/features/steps/components/notify/operations/send.js +5 -0
- package/features/steps/components/octets.tester/manifest.toa.yaml +58 -6
- package/features/steps/components/octets.tester/operations/authority.js +3 -0
- package/features/steps/components/octets.tester/operations/bar.js +1 -4
- package/features/steps/components/octets.tester/operations/baz.js +2 -4
- package/features/steps/components/octets.tester/operations/concat.js +1 -3
- package/features/steps/components/octets.tester/operations/echo.js +2 -4
- package/features/steps/components/octets.tester/operations/err.js +1 -3
- package/features/steps/components/octets.tester/operations/foo.js +3 -5
- package/features/steps/components/octets.tester/operations/id.js +5 -0
- package/features/steps/components/octets.tester/operations/identity.js +5 -0
- package/features/steps/components/octets.tester/operations/redirect.js +10 -0
- package/features/steps/components/octets.tester/operations/yex.js +14 -0
- package/features/steps/components/octets.tester/operations/yield.js +11 -0
- package/features/steps/components/orders/manifest.toa.yaml +32 -0
- package/features/steps/components/orders/operations/create.js +5 -0
- package/features/steps/components/pots/manifest.toa.yaml +79 -14
- package/features/steps/components/pricing/manifest.toa.yaml +13 -0
- package/features/steps/components/pricing/operations/quote.js +3 -0
- package/features/steps/components/sequences/manifest.toa.yaml +3 -2
- package/features/steps/components/sequences/operations/numbers.js +1 -3
- package/features/steps/components/sequences/operations/tokens.js +2 -4
- package/features/steps/components/users/manifest.toa.yaml +20 -3
- package/features/steps/components/users/operations/create.js +11 -0
- package/features/steps/components/users.properties/manifest.toa.yaml +12 -3
- package/features/steps/map.ts +30 -0
- package/features/streams.feature +4 -0
- package/features/timestamps.feature +41 -0
- package/features/timing.feature +2 -22
- package/features/tracing.feature +123 -0
- package/package.json +31 -26
- package/readme.md +22 -1
- package/schemas/annotation.cos.yaml +64 -6
- package/schemas/directive.cos.yaml +7 -3
- package/schemas/io/throttle.cos.yaml +81 -0
- package/schemas/method.cos.yaml +21 -8
- package/schemas/node.cos.yaml +22 -5
- package/schemas/octets/delete.cos.yaml +15 -2
- package/schemas/octets/get.cos.yaml +5 -0
- package/schemas/octets/put.cos.yaml +31 -0
- package/schemas/octets/workflow.cos.yaml +0 -1
- package/schemas/query.cos.yaml +31 -17
- package/schemas/querystring.cos.yaml +19 -6
- package/schemas/range.cos.yaml +10 -2
- package/schemas/route.cos.yaml +6 -2
- package/source/Annotation.ts +28 -1
- package/source/Branch.test.ts +40 -0
- package/source/Branch.ts +39 -1
- package/source/Composition.ts +6 -12
- package/source/Context.ts +5 -2
- package/source/Directive.test.ts +111 -27
- package/source/Directive.ts +97 -20
- package/source/Endpoint.ts +118 -28
- package/source/Factory.ts +74 -27
- package/source/Gateway.ts +208 -18
- package/source/HTTP/Context.ts +79 -32
- package/source/HTTP/Probe.ts +112 -0
- package/source/HTTP/Server.ts +295 -64
- package/source/HTTP/Timing.ts +2 -13
- package/source/HTTP/address.test.ts +22 -0
- package/source/HTTP/address.ts +17 -0
- package/source/HTTP/exceptions.ts +38 -14
- package/source/HTTP/formats/index.ts +8 -9
- package/source/HTTP/formats/json.ts +2 -4
- package/source/HTTP/formats/msgpack.ts +0 -1
- package/source/HTTP/formats/text.ts +2 -4
- package/source/HTTP/formats/yaml.test.ts +19 -0
- package/source/HTTP/formats/yaml.ts +25 -5
- package/source/HTTP/index.ts +6 -4
- package/source/HTTP/messages.test.ts +92 -19
- package/source/HTTP/messages.ts +149 -37
- package/source/HTTP/types.ts +39 -0
- package/source/Interception.ts +9 -1
- package/source/Introspection.ts +11 -0
- package/source/Mapping.ts +67 -24
- package/source/Query.test.ts +22 -5
- package/source/Query.ts +114 -22
- package/source/RTD/Context.ts +7 -4
- package/source/RTD/Directives.ts +27 -5
- package/source/RTD/Endpoint.ts +7 -4
- package/source/RTD/Match.ts +1 -1
- package/source/RTD/Method.ts +18 -2
- package/source/RTD/Node.ts +68 -26
- package/source/RTD/Route.ts +21 -11
- package/source/RTD/Tree.ts +49 -16
- package/source/RTD/expiration.test.ts +81 -0
- package/source/RTD/factory.ts +36 -8
- package/source/RTD/index.ts +8 -8
- package/source/RTD/segment.test.ts +13 -10
- package/source/RTD/segment.ts +2 -0
- package/source/RTD/syntax/index.ts +2 -2
- package/source/RTD/syntax/parse.test.ts +30 -28
- package/source/RTD/syntax/parse.ts +39 -26
- package/source/RTD/syntax/types.ts +9 -4
- package/source/Remotes.test.ts +34 -18
- package/source/Remotes.ts +15 -11
- package/source/Tenant.ts +52 -14
- package/source/const.ts +4 -0
- package/source/deployment.ts +44 -22
- package/source/directives/auth/Anonymous.ts +3 -3
- package/source/directives/auth/Anyone.ts +13 -0
- package/source/directives/auth/Assert.ts +38 -0
- package/source/directives/auth/Authorization.test.ts +24 -0
- package/source/directives/auth/Authorization.ts +170 -39
- package/source/directives/auth/Delegate.ts +10 -6
- package/source/directives/auth/Echo.ts +16 -6
- package/source/directives/auth/Federation.ts +84 -0
- package/source/directives/auth/Id.ts +3 -3
- package/source/directives/auth/Incept.ts +82 -25
- package/source/directives/auth/Input.ts +71 -0
- package/source/directives/auth/Role.test.ts +34 -22
- package/source/directives/auth/Role.ts +10 -14
- package/source/directives/auth/Rule.ts +4 -7
- package/source/directives/auth/Scheme.ts +7 -7
- package/source/directives/auth/create.ts +11 -0
- package/source/directives/auth/index.ts +1 -1
- package/source/directives/auth/schemes.test.ts +14 -0
- package/source/directives/auth/schemes.ts +19 -2
- package/source/directives/auth/split.ts +3 -3
- package/source/directives/auth/types.ts +18 -10
- package/source/directives/cache/Cache.ts +24 -11
- package/source/directives/cache/Control.ts +17 -17
- package/source/directives/cache/Exact.ts +1 -1
- package/source/directives/cache/index.ts +1 -1
- package/source/directives/cache/types.ts +1 -1
- package/source/directives/cors/CORS.ts +37 -20
- package/source/directives/cors/index.ts +1 -1
- package/source/directives/dev/Development.ts +19 -12
- package/source/directives/dev/Faulty.ts +26 -0
- package/source/directives/dev/Sleep.ts +55 -0
- package/source/directives/dev/Stub.ts +2 -2
- package/source/directives/dev/Throw.ts +2 -2
- package/source/directives/dev/index.ts +1 -1
- package/source/directives/dev/types.ts +2 -2
- package/source/directives/flow/Compose.ts +92 -0
- package/source/directives/flow/Fetch.ts +86 -0
- package/source/directives/flow/Flow.ts +42 -0
- package/source/directives/flow/index.ts +3 -0
- package/source/directives/flow/types.ts +7 -0
- package/source/directives/index.ts +12 -11
- package/source/directives/io/Directive.ts +9 -3
- package/source/directives/io/IO.ts +48 -13
- package/source/directives/io/Input.ts +22 -15
- package/source/directives/io/Output.ts +23 -14
- package/source/directives/io/Throttle.ts +31 -0
- package/source/directives/io/index.ts +1 -1
- package/source/directives/io/lib/throttle/Configuration.test.ts +63 -0
- package/source/directives/io/lib/throttle/Configuration.ts +63 -0
- package/source/directives/io/lib/throttle/Keys.ts +48 -0
- package/source/directives/io/lib/throttle/Quotas.test.ts +395 -0
- package/source/directives/io/lib/throttle/Quotas.ts +196 -0
- package/source/directives/io/lib/throttle/Sync.test.ts +159 -0
- package/source/directives/io/lib/throttle/Sync.ts +96 -0
- package/source/directives/io/lib/throttle/Warning.test.ts +32 -0
- package/source/directives/io/lib/throttle/Warning.ts +30 -0
- package/source/directives/io/lib/throttle/components/Component.ts +7 -0
- package/source/directives/io/lib/throttle/components/IP.ts +31 -0
- package/source/directives/io/lib/throttle/components/Identity.ts +19 -0
- package/source/directives/io/lib/throttle/components/Path.ts +8 -0
- package/source/directives/io/lib/throttle/components/Route.ts +19 -0
- package/source/directives/io/lib/throttle/components/Segment.ts +19 -0
- package/source/directives/io/lib/throttle/components/index.ts +19 -0
- package/source/directives/io/lib/throttle/conditions/Condition.ts +5 -0
- package/source/directives/io/lib/throttle/conditions/Status.ts +17 -0
- package/source/directives/io/lib/throttle/conditions/index.ts +11 -0
- package/source/directives/io/lib/throttle/index.ts +4 -0
- package/source/directives/io/schemas.test.ts +34 -0
- package/source/directives/io/schemas.ts +9 -5
- package/source/directives/map/Authority.ts +15 -0
- package/source/directives/map/Buffer.ts +15 -0
- package/source/directives/map/Claims.ts +58 -0
- package/source/directives/map/Directive.ts +4 -0
- package/source/directives/map/Headers.ts +45 -0
- package/source/directives/map/Language.ts +42 -0
- package/source/directives/map/Languages.ts +11 -0
- package/source/directives/map/Map.ts +63 -0
- package/source/directives/map/Mapping.ts +19 -0
- package/source/directives/{vary → map}/Properties.ts +2 -4
- package/source/directives/map/Segments.ts +33 -0
- package/source/directives/map/index.ts +3 -0
- package/source/directives/octets/Context.ts +5 -4
- package/source/directives/octets/Delete.ts +30 -27
- package/source/directives/octets/Directive.ts +3 -3
- package/source/directives/octets/Get.ts +96 -0
- package/source/directives/octets/Octets.ts +20 -22
- package/source/directives/octets/Put.ts +141 -0
- package/source/directives/octets/Workflow.ts +17 -11
- package/source/directives/octets/bytes.test.ts +33 -0
- package/source/directives/octets/bytes.ts +18 -0
- package/source/directives/octets/index.ts +1 -1
- package/source/directives/octets/schemas.test.ts +10 -5
- package/source/directives/octets/schemas.ts +8 -12
- package/source/directives/octets/types.ts +3 -1
- package/source/directives/octets/workflows/Execution.ts +66 -10
- package/source/directives/octets/workflows/Workflow.ts +21 -10
- package/source/directives/octets/workflows/index.ts +1 -1
- package/source/directives/require/Directive.ts +1 -1
- package/source/directives/require/Headers.ts +3 -3
- package/source/directives/require/Require.ts +4 -4
- package/source/directives/require/index.ts +1 -1
- package/source/exceptions.ts +18 -6
- package/source/index.ts +5 -5
- package/source/io.ts +1 -1
- package/source/manifest.test.ts +12 -10
- package/source/manifest.ts +13 -14
- package/source/redact.test.ts +27 -0
- package/source/redact.ts +21 -0
- package/source/root.ts +19 -4
- package/source/schemas.test.ts +17 -0
- package/source/schemas.ts +5 -5
- package/transpiled/Annotation.d.ts +22 -1
- package/transpiled/Annotation.js +1 -2
- package/transpiled/Branch.d.ts +25 -1
- package/transpiled/Branch.js +14 -2
- package/transpiled/Branch.js.map +1 -1
- package/transpiled/Composition.d.ts +3 -4
- package/transpiled/Composition.js +13 -22
- package/transpiled/Composition.js.map +1 -1
- package/transpiled/Context.d.ts +3 -2
- package/transpiled/Context.js +1 -2
- package/transpiled/Directive.d.ts +14 -6
- package/transpiled/Directive.js +71 -23
- package/transpiled/Directive.js.map +1 -1
- package/transpiled/Endpoint.d.ts +11 -7
- package/transpiled/Endpoint.js +84 -52
- package/transpiled/Endpoint.js.map +1 -1
- package/transpiled/Factory.d.ts +6 -6
- package/transpiled/Factory.js +69 -62
- package/transpiled/Factory.js.map +1 -1
- package/transpiled/Gateway.d.ts +35 -4
- package/transpiled/Gateway.js +159 -46
- package/transpiled/Gateway.js.map +1 -1
- package/transpiled/HTTP/Context.d.ts +13 -12
- package/transpiled/HTTP/Context.js +61 -32
- package/transpiled/HTTP/Context.js.map +1 -1
- package/transpiled/HTTP/Probe.d.ts +36 -0
- package/transpiled/HTTP/Probe.js +90 -0
- package/transpiled/HTTP/Probe.js.map +1 -0
- package/transpiled/HTTP/Server.d.ts +23 -9
- package/transpiled/HTTP/Server.js +233 -92
- package/transpiled/HTTP/Server.js.map +1 -1
- package/transpiled/HTTP/Timing.d.ts +1 -4
- package/transpiled/HTTP/Timing.js +6 -18
- package/transpiled/HTTP/Timing.js.map +1 -1
- package/transpiled/HTTP/address.d.ts +7 -0
- package/transpiled/HTTP/address.js +14 -0
- package/transpiled/HTTP/address.js.map +1 -0
- package/transpiled/HTTP/exceptions.d.ts +21 -9
- package/transpiled/HTTP/exceptions.js +40 -36
- package/transpiled/HTTP/exceptions.js.map +1 -1
- package/transpiled/HTTP/formats/index.d.ts +1 -3
- package/transpiled/HTTP/formats/index.js +9 -35
- package/transpiled/HTTP/formats/index.js.map +1 -1
- package/transpiled/HTTP/formats/json.d.ts +1 -3
- package/transpiled/HTTP/formats/json.js +6 -12
- package/transpiled/HTTP/formats/json.js.map +1 -1
- package/transpiled/HTTP/formats/msgpack.d.ts +0 -2
- package/transpiled/HTTP/formats/msgpack.js +7 -12
- package/transpiled/HTTP/formats/msgpack.js.map +1 -1
- package/transpiled/HTTP/formats/text.d.ts +1 -3
- package/transpiled/HTTP/formats/text.js +6 -12
- package/transpiled/HTTP/formats/text.js.map +1 -1
- package/transpiled/HTTP/formats/yaml.d.ts +1 -3
- package/transpiled/HTTP/formats/yaml.js +23 -37
- package/transpiled/HTTP/formats/yaml.js.map +1 -1
- package/transpiled/HTTP/index.d.ts +6 -4
- package/transpiled/HTTP/index.js +6 -20
- package/transpiled/HTTP/index.js.map +1 -1
- package/transpiled/HTTP/messages.d.ts +13 -4
- package/transpiled/HTTP/messages.js +112 -41
- package/transpiled/HTTP/messages.js.map +1 -1
- package/transpiled/HTTP/types.d.ts +37 -0
- package/transpiled/HTTP/types.js +2 -0
- package/transpiled/HTTP/types.js.map +1 -0
- package/transpiled/Interception.d.ts +3 -1
- package/transpiled/Interception.js +5 -5
- package/transpiled/Interception.js.map +1 -1
- package/transpiled/Introspection.d.ts +9 -0
- package/transpiled/Introspection.js +2 -0
- package/transpiled/Introspection.js.map +1 -0
- package/transpiled/Mapping.d.ts +14 -5
- package/transpiled/Mapping.js +48 -24
- package/transpiled/Mapping.js.map +1 -1
- package/transpiled/Query.d.ts +14 -4
- package/transpiled/Query.js +81 -45
- package/transpiled/Query.js.map +1 -1
- package/transpiled/RTD/Context.d.ts +6 -4
- package/transpiled/RTD/Context.js +1 -2
- package/transpiled/RTD/Directives.d.ts +23 -5
- package/transpiled/RTD/Directives.js +1 -2
- package/transpiled/RTD/Endpoint.d.ts +5 -4
- package/transpiled/RTD/Endpoint.js +1 -2
- package/transpiled/RTD/Match.d.ts +1 -1
- package/transpiled/RTD/Match.js +1 -2
- package/transpiled/RTD/Method.d.ts +6 -2
- package/transpiled/RTD/Method.js +12 -5
- package/transpiled/RTD/Method.js.map +1 -1
- package/transpiled/RTD/Node.d.ts +16 -5
- package/transpiled/RTD/Node.js +47 -22
- package/transpiled/RTD/Node.js.map +1 -1
- package/transpiled/RTD/Route.d.ts +7 -6
- package/transpiled/RTD/Route.js +11 -9
- package/transpiled/RTD/Route.js.map +1 -1
- package/transpiled/RTD/Tree.d.ts +12 -5
- package/transpiled/RTD/Tree.js +37 -12
- package/transpiled/RTD/Tree.js.map +1 -1
- package/transpiled/RTD/factory.d.ts +4 -3
- package/transpiled/RTD/factory.js +31 -15
- package/transpiled/RTD/factory.js.map +1 -1
- package/transpiled/RTD/index.d.ts +8 -8
- package/transpiled/RTD/index.js +8 -37
- package/transpiled/RTD/index.js.map +1 -1
- package/transpiled/RTD/segment.d.ts +1 -0
- package/transpiled/RTD/segment.js +4 -7
- package/transpiled/RTD/segment.js.map +1 -1
- package/transpiled/RTD/syntax/index.d.ts +2 -2
- package/transpiled/RTD/syntax/index.js +2 -18
- package/transpiled/RTD/syntax/index.js.map +1 -1
- package/transpiled/RTD/syntax/parse.d.ts +1 -1
- package/transpiled/RTD/syntax/parse.js +38 -54
- package/transpiled/RTD/syntax/parse.js.map +1 -1
- package/transpiled/RTD/syntax/types.d.ts +8 -3
- package/transpiled/RTD/syntax/types.js +1 -4
- package/transpiled/RTD/syntax/types.js.map +1 -1
- package/transpiled/Remotes.d.ts +7 -7
- package/transpiled/Remotes.js +15 -16
- package/transpiled/Remotes.js.map +1 -1
- package/transpiled/Tenant.d.ts +15 -4
- package/transpiled/Tenant.js +39 -14
- package/transpiled/Tenant.js.map +1 -1
- package/transpiled/const.d.ts +3 -0
- package/transpiled/const.js +4 -0
- package/transpiled/const.js.map +1 -0
- package/transpiled/deployment.d.ts +1 -1
- package/transpiled/deployment.js +40 -54
- package/transpiled/deployment.js.map +1 -1
- package/transpiled/directives/auth/Anonymous.d.ts +2 -2
- package/transpiled/directives/auth/Anonymous.js +3 -7
- package/transpiled/directives/auth/Anonymous.js.map +1 -1
- package/transpiled/directives/auth/Anyone.d.ts +6 -0
- package/transpiled/directives/auth/Anyone.js +10 -0
- package/transpiled/directives/auth/Anyone.js.map +1 -0
- package/transpiled/directives/auth/Assert.d.ts +7 -0
- package/transpiled/directives/auth/Assert.js +29 -0
- package/transpiled/directives/auth/Assert.js.map +1 -0
- package/transpiled/directives/auth/Authorization.d.ts +17 -7
- package/transpiled/directives/auth/Authorization.js +144 -78
- package/transpiled/directives/auth/Authorization.js.map +1 -1
- package/transpiled/directives/auth/Delegate.d.ts +5 -4
- package/transpiled/directives/auth/Delegate.js +10 -10
- package/transpiled/directives/auth/Delegate.js.map +1 -1
- package/transpiled/directives/auth/Echo.d.ts +4 -4
- package/transpiled/directives/auth/Echo.js +12 -9
- package/transpiled/directives/auth/Echo.js.map +1 -1
- package/transpiled/directives/auth/Federation.d.ts +16 -0
- package/transpiled/directives/auth/Federation.js +50 -0
- package/transpiled/directives/auth/Federation.js.map +1 -0
- package/transpiled/directives/auth/Id.d.ts +3 -3
- package/transpiled/directives/auth/Id.js +1 -5
- package/transpiled/directives/auth/Id.js.map +1 -1
- package/transpiled/directives/auth/Incept.d.ts +11 -6
- package/transpiled/directives/auth/Incept.js +62 -50
- package/transpiled/directives/auth/Incept.js.map +1 -1
- package/transpiled/directives/auth/Input.d.ts +13 -0
- package/transpiled/directives/auth/Input.js +45 -0
- package/transpiled/directives/auth/Input.js.map +1 -0
- package/transpiled/directives/auth/Role.d.ts +3 -3
- package/transpiled/directives/auth/Role.js +8 -16
- package/transpiled/directives/auth/Role.js.map +1 -1
- package/transpiled/directives/auth/Rule.d.ts +3 -5
- package/transpiled/directives/auth/Rule.js +3 -7
- package/transpiled/directives/auth/Rule.js.map +1 -1
- package/transpiled/directives/auth/Scheme.d.ts +2 -2
- package/transpiled/directives/auth/Scheme.js +7 -34
- package/transpiled/directives/auth/Scheme.js.map +1 -1
- package/transpiled/directives/auth/create.d.ts +2 -0
- package/transpiled/directives/auth/create.js +10 -0
- package/transpiled/directives/auth/create.js.map +1 -0
- package/transpiled/directives/auth/index.d.ts +1 -1
- package/transpiled/directives/auth/index.js +2 -5
- package/transpiled/directives/auth/index.js.map +1 -1
- package/transpiled/directives/auth/schemes.d.ts +12 -1
- package/transpiled/directives/auth/schemes.js +18 -6
- package/transpiled/directives/auth/schemes.js.map +1 -1
- package/transpiled/directives/auth/split.d.ts +1 -1
- package/transpiled/directives/auth/split.js +3 -30
- package/transpiled/directives/auth/split.js.map +1 -1
- package/transpiled/directives/auth/types.d.ts +15 -10
- package/transpiled/directives/auth/types.js +1 -2
- package/transpiled/directives/cache/Cache.d.ts +5 -5
- package/transpiled/directives/cache/Cache.js +20 -13
- package/transpiled/directives/cache/Cache.js.map +1 -1
- package/transpiled/directives/cache/Control.d.ts +3 -3
- package/transpiled/directives/cache/Control.js +15 -19
- package/transpiled/directives/cache/Control.js.map +1 -1
- package/transpiled/directives/cache/Exact.d.ts +1 -1
- package/transpiled/directives/cache/Exact.js +2 -6
- package/transpiled/directives/cache/Exact.js.map +1 -1
- package/transpiled/directives/cache/index.d.ts +1 -1
- package/transpiled/directives/cache/index.js +2 -5
- package/transpiled/directives/cache/index.js.map +1 -1
- package/transpiled/directives/cache/types.d.ts +1 -1
- package/transpiled/directives/cache/types.js +1 -2
- package/transpiled/directives/cors/CORS.d.ts +10 -3
- package/transpiled/directives/cors/CORS.js +31 -21
- package/transpiled/directives/cors/CORS.js.map +1 -1
- package/transpiled/directives/cors/index.d.ts +1 -1
- package/transpiled/directives/cors/index.js +2 -5
- package/transpiled/directives/cors/index.js.map +1 -1
- package/transpiled/directives/dev/Development.d.ts +4 -4
- package/transpiled/directives/dev/Development.js +19 -15
- package/transpiled/directives/dev/Development.js.map +1 -1
- package/transpiled/directives/dev/Faulty.d.ts +8 -0
- package/transpiled/directives/dev/Faulty.js +19 -0
- package/transpiled/directives/dev/Faulty.js.map +1 -0
- package/transpiled/directives/dev/Sleep.d.ts +9 -0
- package/transpiled/directives/dev/Sleep.js +41 -0
- package/transpiled/directives/dev/Sleep.js.map +1 -0
- package/transpiled/directives/dev/Stub.d.ts +2 -2
- package/transpiled/directives/dev/Stub.js +1 -5
- package/transpiled/directives/dev/Stub.js.map +1 -1
- package/transpiled/directives/dev/Throw.d.ts +2 -2
- package/transpiled/directives/dev/Throw.js +1 -5
- package/transpiled/directives/dev/Throw.js.map +1 -1
- package/transpiled/directives/dev/index.d.ts +1 -1
- package/transpiled/directives/dev/index.js +2 -5
- package/transpiled/directives/dev/index.js.map +1 -1
- package/transpiled/directives/dev/types.d.ts +2 -2
- package/transpiled/directives/dev/types.js +1 -2
- package/transpiled/directives/flow/Compose.d.ts +9 -0
- package/transpiled/directives/flow/Compose.js +67 -0
- package/transpiled/directives/flow/Compose.js.map +1 -0
- package/transpiled/directives/flow/Fetch.d.ts +12 -0
- package/transpiled/directives/flow/Fetch.js +51 -0
- package/transpiled/directives/flow/Fetch.js.map +1 -0
- package/transpiled/directives/flow/Flow.d.ts +10 -0
- package/transpiled/directives/flow/Flow.js +29 -0
- package/transpiled/directives/flow/Flow.js.map +1 -0
- package/transpiled/directives/flow/index.d.ts +2 -0
- package/transpiled/directives/flow/index.js +3 -0
- package/transpiled/directives/flow/index.js.map +1 -0
- package/transpiled/directives/flow/types.d.ts +6 -0
- package/transpiled/directives/flow/types.js +2 -0
- package/transpiled/directives/flow/types.js.map +1 -0
- package/transpiled/directives/index.d.ts +2 -2
- package/transpiled/directives/index.js +11 -13
- package/transpiled/directives/index.js.map +1 -1
- package/transpiled/directives/io/Directive.d.ts +8 -3
- package/transpiled/directives/io/Directive.js +1 -2
- package/transpiled/directives/io/IO.d.ts +18 -5
- package/transpiled/directives/io/IO.js +38 -17
- package/transpiled/directives/io/IO.js.map +1 -1
- package/transpiled/directives/io/Input.d.ts +4 -4
- package/transpiled/directives/io/Input.js +16 -37
- package/transpiled/directives/io/Input.js.map +1 -1
- package/transpiled/directives/io/Message.js +1 -2
- package/transpiled/directives/io/Output.d.ts +5 -3
- package/transpiled/directives/io/Output.js +16 -37
- package/transpiled/directives/io/Output.js.map +1 -1
- package/transpiled/directives/io/Throttle.d.ts +11 -0
- package/transpiled/directives/io/Throttle.js +22 -0
- package/transpiled/directives/io/Throttle.js.map +1 -0
- package/transpiled/directives/io/index.d.ts +1 -1
- package/transpiled/directives/io/index.js +2 -5
- package/transpiled/directives/io/index.js.map +1 -1
- package/transpiled/directives/io/lib/throttle/Configuration.d.ts +26 -0
- package/transpiled/directives/io/lib/throttle/Configuration.js +25 -0
- package/transpiled/directives/io/lib/throttle/Configuration.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/Keys.d.ts +14 -0
- package/transpiled/directives/io/lib/throttle/Keys.js +32 -0
- package/transpiled/directives/io/lib/throttle/Keys.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/Quotas.d.ts +70 -0
- package/transpiled/directives/io/lib/throttle/Quotas.js +141 -0
- package/transpiled/directives/io/lib/throttle/Quotas.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/Sync.d.ts +29 -0
- package/transpiled/directives/io/lib/throttle/Sync.js +70 -0
- package/transpiled/directives/io/lib/throttle/Sync.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/Warning.d.ts +11 -0
- package/transpiled/directives/io/lib/throttle/Warning.js +24 -0
- package/transpiled/directives/io/lib/throttle/Warning.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/components/Component.d.ts +6 -0
- package/transpiled/directives/io/lib/throttle/components/Component.js +2 -0
- package/transpiled/directives/io/lib/throttle/components/Component.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/components/IP.d.ts +14 -0
- package/transpiled/directives/io/lib/throttle/components/IP.js +24 -0
- package/transpiled/directives/io/lib/throttle/components/IP.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/components/Identity.d.ts +11 -0
- package/transpiled/directives/io/lib/throttle/components/Identity.js +12 -0
- package/transpiled/directives/io/lib/throttle/components/Identity.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/components/Path.d.ts +5 -0
- package/transpiled/directives/io/lib/throttle/components/Path.js +6 -0
- package/transpiled/directives/io/lib/throttle/components/Path.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/components/Route.d.ts +12 -0
- package/transpiled/directives/io/lib/throttle/components/Route.js +16 -0
- package/transpiled/directives/io/lib/throttle/components/Route.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/components/Segment.d.ts +9 -0
- package/transpiled/directives/io/lib/throttle/components/Segment.js +13 -0
- package/transpiled/directives/io/lib/throttle/components/Segment.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/components/index.d.ts +5 -0
- package/transpiled/directives/io/lib/throttle/components/index.js +13 -0
- package/transpiled/directives/io/lib/throttle/components/index.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/conditions/Condition.d.ts +4 -0
- package/transpiled/directives/io/lib/throttle/conditions/Condition.js +2 -0
- package/transpiled/directives/io/lib/throttle/conditions/Condition.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/conditions/Status.d.ts +7 -0
- package/transpiled/directives/io/lib/throttle/conditions/Status.js +12 -0
- package/transpiled/directives/io/lib/throttle/conditions/Status.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/conditions/index.d.ts +5 -0
- package/transpiled/directives/io/lib/throttle/conditions/index.js +5 -0
- package/transpiled/directives/io/lib/throttle/conditions/index.js.map +1 -0
- package/transpiled/directives/io/lib/throttle/index.d.ts +4 -0
- package/transpiled/directives/io/lib/throttle/index.js +5 -0
- package/transpiled/directives/io/lib/throttle/index.js.map +1 -0
- package/transpiled/directives/io/schemas.d.ts +6 -4
- package/transpiled/directives/io/schemas.js +8 -13
- package/transpiled/directives/io/schemas.js.map +1 -1
- package/transpiled/directives/map/Authority.d.ts +6 -0
- package/transpiled/directives/map/Authority.js +12 -0
- package/transpiled/directives/map/Authority.js.map +1 -0
- package/transpiled/directives/map/Buffer.d.ts +6 -0
- package/transpiled/directives/map/Buffer.js +12 -0
- package/transpiled/directives/map/Buffer.js.map +1 -0
- package/transpiled/directives/map/Claims.d.ts +10 -0
- package/transpiled/directives/map/Claims.js +37 -0
- package/transpiled/directives/map/Claims.js.map +1 -0
- package/transpiled/directives/map/Directive.d.ts +3 -0
- package/transpiled/directives/map/Directive.js +2 -0
- package/transpiled/directives/map/Directive.js.map +1 -0
- package/transpiled/directives/map/Headers.d.ts +7 -0
- package/transpiled/directives/map/Headers.js +33 -0
- package/transpiled/directives/map/Headers.js.map +1 -0
- package/transpiled/directives/map/Language.d.ts +10 -0
- package/transpiled/directives/map/Language.js +31 -0
- package/transpiled/directives/map/Language.js.map +1 -0
- package/transpiled/directives/map/Languages.d.ts +4 -0
- package/transpiled/directives/map/Languages.js +10 -0
- package/transpiled/directives/map/Languages.js.map +1 -0
- package/transpiled/directives/map/Map.d.ts +13 -0
- package/transpiled/directives/map/Map.js +44 -0
- package/transpiled/directives/map/Map.js.map +1 -0
- package/transpiled/directives/map/Mapping.d.ts +13 -0
- package/transpiled/directives/map/Mapping.js +9 -0
- package/transpiled/directives/map/Mapping.js.map +1 -0
- package/transpiled/directives/{vary → map}/Properties.d.ts +2 -2
- package/transpiled/directives/map/Properties.js +10 -0
- package/transpiled/directives/map/Properties.js.map +1 -0
- package/transpiled/directives/map/Segments.d.ts +6 -0
- package/transpiled/directives/map/Segments.js +23 -0
- package/transpiled/directives/map/Segments.js.map +1 -0
- package/transpiled/directives/map/index.d.ts +2 -0
- package/transpiled/directives/map/index.js +3 -0
- package/transpiled/directives/map/index.js.map +1 -0
- package/transpiled/directives/octets/Context.d.ts +2 -2
- package/transpiled/directives/octets/Context.js +4 -31
- package/transpiled/directives/octets/Context.js.map +1 -1
- package/transpiled/directives/octets/Delete.d.ts +6 -6
- package/transpiled/directives/octets/Delete.js +23 -47
- package/transpiled/directives/octets/Delete.js.map +1 -1
- package/transpiled/directives/octets/Directive.d.ts +3 -3
- package/transpiled/directives/octets/Directive.js +1 -5
- package/transpiled/directives/octets/Directive.js.map +1 -1
- package/transpiled/directives/octets/Get.d.ts +17 -0
- package/transpiled/directives/octets/Get.js +69 -0
- package/transpiled/directives/octets/Get.js.map +1 -0
- package/transpiled/directives/octets/Octets.d.ts +5 -5
- package/transpiled/directives/octets/Octets.js +19 -24
- package/transpiled/directives/octets/Octets.js.map +1 -1
- package/transpiled/directives/octets/{Store.d.ts → Put.d.ts} +14 -8
- package/transpiled/directives/octets/Put.js +74 -0
- package/transpiled/directives/octets/Put.js.map +1 -0
- package/transpiled/directives/octets/Workflow.d.ts +6 -6
- package/transpiled/directives/octets/Workflow.js +14 -36
- package/transpiled/directives/octets/Workflow.js.map +1 -1
- package/transpiled/directives/octets/bytes.d.ts +1 -0
- package/transpiled/directives/octets/bytes.js +14 -0
- package/transpiled/directives/octets/bytes.js.map +1 -0
- package/transpiled/directives/octets/index.d.ts +1 -1
- package/transpiled/directives/octets/index.js +2 -5
- package/transpiled/directives/octets/index.js.map +1 -1
- package/transpiled/directives/octets/schemas.d.ts +6 -10
- package/transpiled/directives/octets/schemas.js +8 -17
- package/transpiled/directives/octets/schemas.js.map +1 -1
- package/transpiled/directives/octets/types.d.ts +3 -1
- package/transpiled/directives/octets/types.js +1 -2
- package/transpiled/directives/octets/workflows/Execution.d.ts +9 -4
- package/transpiled/directives/octets/workflows/Execution.js +46 -13
- package/transpiled/directives/octets/workflows/Execution.js.map +1 -1
- package/transpiled/directives/octets/workflows/Workflow.d.ts +10 -5
- package/transpiled/directives/octets/workflows/Workflow.js +16 -14
- package/transpiled/directives/octets/workflows/Workflow.js.map +1 -1
- package/transpiled/directives/octets/workflows/index.d.ts +1 -1
- package/transpiled/directives/octets/workflows/index.js +1 -5
- package/transpiled/directives/octets/workflows/index.js.map +1 -1
- package/transpiled/directives/require/Directive.d.ts +1 -1
- package/transpiled/directives/require/Directive.js +1 -2
- package/transpiled/directives/require/Headers.d.ts +2 -2
- package/transpiled/directives/require/Headers.js +3 -7
- package/transpiled/directives/require/Headers.js.map +1 -1
- package/transpiled/directives/require/Require.d.ts +3 -3
- package/transpiled/directives/require/Require.js +6 -13
- package/transpiled/directives/require/Require.js.map +1 -1
- package/transpiled/directives/require/index.d.ts +1 -1
- package/transpiled/directives/require/index.js +2 -5
- package/transpiled/directives/require/index.js.map +1 -1
- package/transpiled/discovery.js +1 -2
- package/transpiled/exceptions.d.ts +1 -1
- package/transpiled/exceptions.js +16 -34
- package/transpiled/exceptions.js.map +1 -1
- package/transpiled/index.d.ts +5 -5
- package/transpiled/index.js +4 -11
- package/transpiled/index.js.map +1 -1
- package/transpiled/io.d.ts +1 -1
- package/transpiled/io.js +1 -2
- package/transpiled/manifest.d.ts +1 -1
- package/transpiled/manifest.js +17 -48
- package/transpiled/manifest.js.map +1 -1
- package/transpiled/redact.d.ts +5 -0
- package/transpiled/redact.js +17 -0
- package/transpiled/redact.js.map +1 -0
- package/transpiled/root.d.ts +1 -1
- package/transpiled/root.js +21 -10
- package/transpiled/root.js.map +1 -1
- package/transpiled/schemas.d.ts +3 -3
- package/transpiled/schemas.js +7 -13
- package/transpiled/schemas.js.map +1 -1
- package/tsconfig.json +2 -1
- package/tsconfig.tsbuildinfo +1 -0
- package/components/identity.bans/operations/tsconfig.tsbuildinfo +0 -1
- package/components/identity.basic/operations/tsconfig.tsbuildinfo +0 -1
- package/components/identity.federation/operations/lib/assertions-as-values.d.ts +0 -4
- package/components/identity.federation/operations/lib/assertions-as-values.js +0 -45
- package/components/identity.federation/operations/lib/assertions-as-values.js.map +0 -1
- package/components/identity.federation/operations/lib/jwt.d.ts +0 -20
- package/components/identity.federation/operations/lib/jwt.js +0 -136
- package/components/identity.federation/operations/lib/jwt.js.map +0 -1
- package/components/identity.federation/operations/schemas.d.ts +0 -63
- package/components/identity.federation/operations/schemas.js +0 -9
- package/components/identity.federation/operations/schemas.js.map +0 -1
- package/components/identity.federation/operations/tsconfig.tsbuildinfo +0 -1
- package/components/identity.federation/operations/types.d.ts +0 -56
- package/components/identity.federation/operations/types.js +0 -3
- package/components/identity.federation/operations/types.js.map +0 -1
- package/components/identity.federation/source/lib/assertions-as-values.ts +0 -19
- package/components/identity.federation/source/lib/jwt.test.ts +0 -56
- package/components/identity.federation/source/lib/jwt.ts +0 -171
- package/components/identity.federation/source/schemas.ts +0 -65
- package/components/identity.federation/source/types.ts +0 -62
- package/components/identity.roles/operations/tsconfig.tsbuildinfo +0 -1
- package/components/identity.tokens/operations/tsconfig.tsbuildinfo +0 -1
- package/components/identity.tokens/operations/types.d.ts +0 -46
- package/components/identity.tokens/operations/types.js +0 -3
- package/components/identity.tokens/operations/types.js.map +0 -1
- package/components/identity.tokens/source/types.ts +0 -55
- package/components/octets.storage/manifest.toa.yaml +0 -21
- package/components/octets.storage/operations/fetch.js +0 -46
- package/components/octets.storage/operations/get.js +0 -7
- package/components/octets.storage/operations/list.js +0 -7
- package/components/octets.storage/operations/store.js +0 -11
- package/cucumber.js +0 -7
- package/documentation/vary.md +0 -69
- package/features/steps/IdP.ts +0 -154
- package/features/steps/components/octets.tester/operations/diversify.js +0 -14
- package/features/vary.feature +0 -252
- package/schemas/octets/context.cos.yaml +0 -1
- package/schemas/octets/fetch.cos.yaml +0 -3
- package/schemas/octets/list.cos.yaml +0 -2
- package/schemas/octets/permute.cos.yaml +0 -1
- package/schemas/octets/store.cos.yaml +0 -3
- package/source/directives/octets/Fetch.ts +0 -100
- package/source/directives/octets/List.ts +0 -72
- package/source/directives/octets/Store.ts +0 -126
- package/source/directives/vary/Directive.ts +0 -7
- package/source/directives/vary/Embed.ts +0 -68
- package/source/directives/vary/Vary.ts +0 -50
- package/source/directives/vary/embeddings/Authority.ts +0 -8
- package/source/directives/vary/embeddings/Embedding.ts +0 -7
- package/source/directives/vary/embeddings/Header.ts +0 -32
- package/source/directives/vary/embeddings/Language.ts +0 -31
- package/source/directives/vary/embeddings/Parameter.ts +0 -14
- package/source/directives/vary/embeddings/index.ts +0 -13
- package/source/directives/vary/index.ts +0 -3
- package/source/index.test.ts +0 -9
- package/transpiled/directives/octets/Fetch.d.ts +0 -18
- package/transpiled/directives/octets/Fetch.js +0 -92
- package/transpiled/directives/octets/Fetch.js.map +0 -1
- package/transpiled/directives/octets/List.d.ts +0 -16
- package/transpiled/directives/octets/List.js +0 -74
- package/transpiled/directives/octets/List.js.map +0 -1
- package/transpiled/directives/octets/Store.js +0 -95
- package/transpiled/directives/octets/Store.js.map +0 -1
- package/transpiled/directives/vary/Directive.d.ts +0 -6
- package/transpiled/directives/vary/Directive.js +0 -3
- package/transpiled/directives/vary/Directive.js.map +0 -1
- package/transpiled/directives/vary/Embed.d.ts +0 -11
- package/transpiled/directives/vary/Embed.js +0 -51
- package/transpiled/directives/vary/Embed.js.map +0 -1
- package/transpiled/directives/vary/Properties.js +0 -16
- package/transpiled/directives/vary/Properties.js.map +0 -1
- package/transpiled/directives/vary/Vary.d.ts +0 -10
- package/transpiled/directives/vary/Vary.js +0 -36
- package/transpiled/directives/vary/Vary.js.map +0 -1
- package/transpiled/directives/vary/embeddings/Authority.d.ts +0 -5
- package/transpiled/directives/vary/embeddings/Authority.js +0 -10
- package/transpiled/directives/vary/embeddings/Authority.js.map +0 -1
- package/transpiled/directives/vary/embeddings/Embedding.d.ts +0 -6
- package/transpiled/directives/vary/embeddings/Embedding.js +0 -3
- package/transpiled/directives/vary/embeddings/Embedding.js.map +0 -1
- package/transpiled/directives/vary/embeddings/Header.d.ts +0 -7
- package/transpiled/directives/vary/embeddings/Header.js +0 -28
- package/transpiled/directives/vary/embeddings/Header.js.map +0 -1
- package/transpiled/directives/vary/embeddings/Language.d.ts +0 -7
- package/transpiled/directives/vary/embeddings/Language.js +0 -28
- package/transpiled/directives/vary/embeddings/Language.js.map +0 -1
- package/transpiled/directives/vary/embeddings/Parameter.d.ts +0 -7
- package/transpiled/directives/vary/embeddings/Parameter.js +0 -14
- package/transpiled/directives/vary/embeddings/Parameter.js.map +0 -1
- package/transpiled/directives/vary/embeddings/index.d.ts +0 -5
- package/transpiled/directives/vary/embeddings/index.js +0 -14
- package/transpiled/directives/vary/embeddings/index.js.map +0 -1
- package/transpiled/directives/vary/index.d.ts +0 -2
- package/transpiled/directives/vary/index.js +0 -6
- package/transpiled/directives/vary/index.js.map +0 -1
- package/transpiled/tsconfig.tsbuildinfo +0 -1
|
@@ -1,36 +1,50 @@
|
|
|
1
1
|
import { genSalt, hash } from 'bcryptjs'
|
|
2
|
-
import { Err } from 'error-value'
|
|
3
2
|
import type { Maybe, Operation } from '@toa.io/types'
|
|
4
|
-
import type { Context, Entity, TransitInput,
|
|
3
|
+
import type { Context, Entity, Principal, TransitInput, IdOutput } from './types.js'
|
|
5
4
|
|
|
6
5
|
export class Transition implements Operation {
|
|
7
6
|
private rounds: number = 10
|
|
8
7
|
private pepper: string = ''
|
|
9
|
-
private principal?:
|
|
8
|
+
private principal?: Principal
|
|
10
9
|
private tokens: Tokens = undefined as unknown as Tokens
|
|
10
|
+
private keys: Keys = undefined as unknown as Keys
|
|
11
11
|
private usernameRx: RegExp[] = []
|
|
12
12
|
private passwordRx: RegExp[] = []
|
|
13
13
|
|
|
14
14
|
public mount (context: Context): void {
|
|
15
15
|
this.rounds = context.configuration.rounds
|
|
16
|
-
this.pepper = context.configuration.pepper
|
|
16
|
+
this.pepper = context.configuration.pepper?.unwrap() ?? ''
|
|
17
17
|
this.principal = context.configuration.principal
|
|
18
18
|
this.tokens = context.remote.identity.tokens
|
|
19
|
+
this.keys = context.remote.identity.keys
|
|
19
20
|
|
|
20
21
|
this.usernameRx = toRx(context.configuration.username)
|
|
21
22
|
this.passwordRx = toRx(context.configuration.password)
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
private locked (object: Entity): boolean {
|
|
26
|
+
return this.principal !== undefined &&
|
|
27
|
+
object.authority === this.principal.authority &&
|
|
28
|
+
object.username === this.principal.username
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public async execute (input: TransitInput, object: Entity): Promise<Maybe<IdOutput>> {
|
|
32
|
+
const deleted = object._deleted !== undefined && object._deleted !== null
|
|
33
|
+
const existent = object._version !== 0 && !deleted
|
|
26
34
|
|
|
27
|
-
if (existent)
|
|
28
|
-
|
|
29
|
-
|
|
35
|
+
if (existent) {
|
|
36
|
+
if (input.inception === true)
|
|
37
|
+
return ERR_EXISTS
|
|
38
|
+
|
|
39
|
+
await Promise.all([
|
|
40
|
+
this.tokens.revoke({ query: { id: object.id } }),
|
|
41
|
+
this.keys.revoke({ input: { identity: object.id } })
|
|
42
|
+
])
|
|
43
|
+
} else
|
|
30
44
|
object.authority = input.authority
|
|
31
45
|
|
|
32
46
|
if (input.username !== undefined) {
|
|
33
|
-
if (existent &&
|
|
47
|
+
if (existent && this.locked(object))
|
|
34
48
|
return ERR_PRINCIPAL_LOCKED
|
|
35
49
|
|
|
36
50
|
if (invalid(input.username, this.usernameRx))
|
|
@@ -53,9 +67,7 @@ export class Transition implements Operation {
|
|
|
53
67
|
}
|
|
54
68
|
}
|
|
55
69
|
|
|
56
|
-
function toRx (
|
|
57
|
-
const expressions = typeof input === 'string' ? [input] : input
|
|
58
|
-
|
|
70
|
+
function toRx (expressions: string[]): RegExp[] {
|
|
59
71
|
return expressions.map((expression) => new RegExp(expression))
|
|
60
72
|
}
|
|
61
73
|
|
|
@@ -63,8 +75,25 @@ function invalid (value: string, expressions: RegExp[]): boolean {
|
|
|
63
75
|
return expressions.some((expression) => !expression.test(value))
|
|
64
76
|
}
|
|
65
77
|
|
|
66
|
-
const ERR_PRINCIPAL_LOCKED =
|
|
67
|
-
|
|
68
|
-
|
|
78
|
+
const ERR_PRINCIPAL_LOCKED = new (class PrincipalLockedError extends Error {
|
|
79
|
+
public readonly code = 'PRINCIPAL_LOCKED'
|
|
80
|
+
public override readonly message = 'Principal username cannot be changed'
|
|
81
|
+
})()
|
|
82
|
+
|
|
83
|
+
const ERR_INVALID_USERNAME = new (class InvalidUsernameError extends Error {
|
|
84
|
+
public readonly code = 'INVALID_USERNAME'
|
|
85
|
+
public override readonly message = 'Username is not meeting the requirements'
|
|
86
|
+
})()
|
|
87
|
+
|
|
88
|
+
const ERR_INVALID_PASSWORD = new (class InvalidPasswordError extends Error {
|
|
89
|
+
public readonly code = 'INVALID_PASSWORD'
|
|
90
|
+
public override readonly message = 'Password is not meeting the requirements'
|
|
91
|
+
})()
|
|
92
|
+
|
|
93
|
+
const ERR_EXISTS = new (class ExistsError extends Error {
|
|
94
|
+
public readonly code = 'EXISTS'
|
|
95
|
+
public override readonly message = 'Basic credentials already exist'
|
|
96
|
+
})()
|
|
69
97
|
|
|
70
98
|
type Tokens = Context['remote']['identity']['tokens']
|
|
99
|
+
type Keys = Context['remote']['identity']['keys']
|
|
@@ -1,44 +1,69 @@
|
|
|
1
|
-
import { type Call, type Maybe, type Observation, type Query } from '@toa.io/types'
|
|
1
|
+
import { type Call, type Maybe, type Observation, type Query, type Secret, type Transition } from '@toa.io/types'
|
|
2
2
|
|
|
3
3
|
export interface Context {
|
|
4
4
|
local: {
|
|
5
5
|
observe: Observation<Maybe<Entity>>
|
|
6
|
-
|
|
6
|
+
terminate: Transition<void, void, Entity>
|
|
7
|
+
transit: Call<IdOutput, TransitInput>
|
|
8
|
+
create: Call<IdOutput, TransitInput>
|
|
7
9
|
}
|
|
8
10
|
remote: {
|
|
9
11
|
identity: {
|
|
10
12
|
tokens: {
|
|
11
13
|
revoke: Call<void, IdentityTokensRevokeInput>
|
|
12
14
|
}
|
|
15
|
+
keys: {
|
|
16
|
+
revoke: Call<void, IdentityKeysRevokeInput>
|
|
17
|
+
}
|
|
13
18
|
}
|
|
14
19
|
}
|
|
15
20
|
configuration: {
|
|
16
21
|
readonly rounds: number
|
|
17
|
-
readonly pepper
|
|
18
|
-
readonly principal?:
|
|
19
|
-
readonly username: string
|
|
20
|
-
readonly password: string
|
|
22
|
+
readonly pepper?: Secret
|
|
23
|
+
readonly principal?: Principal
|
|
24
|
+
readonly username: string[]
|
|
25
|
+
readonly password: string[]
|
|
21
26
|
}
|
|
22
27
|
}
|
|
23
28
|
|
|
29
|
+
export interface Principal {
|
|
30
|
+
authority: string
|
|
31
|
+
username: string
|
|
32
|
+
}
|
|
33
|
+
|
|
24
34
|
export interface Entity {
|
|
25
|
-
|
|
26
|
-
readonly _version: number
|
|
35
|
+
id: string
|
|
27
36
|
authority: string
|
|
28
37
|
username: string
|
|
29
38
|
password: string
|
|
39
|
+
readonly _version: number
|
|
40
|
+
|
|
41
|
+
/** Deletion timestamp; `null` or absent while the credentials are in effect. */
|
|
42
|
+
_deleted?: number | null
|
|
30
43
|
}
|
|
31
44
|
|
|
32
45
|
export interface TransitInput {
|
|
33
46
|
authority: string
|
|
34
47
|
username?: string
|
|
35
48
|
password?: string
|
|
49
|
+
inception?: boolean
|
|
36
50
|
}
|
|
37
51
|
|
|
38
|
-
export interface
|
|
52
|
+
export interface AddInput {
|
|
53
|
+
id: string
|
|
54
|
+
authority: string
|
|
55
|
+
username: string
|
|
56
|
+
password: string
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface IdOutput {
|
|
39
60
|
id: string
|
|
40
61
|
}
|
|
41
62
|
|
|
42
63
|
interface IdentityTokensRevokeInput {
|
|
43
64
|
query: Query
|
|
44
65
|
}
|
|
66
|
+
|
|
67
|
+
interface IdentityKeysRevokeInput {
|
|
68
|
+
identity: string
|
|
69
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.es2024.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2024.collection.d.ts","../../node_modules/typescript/lib/lib.es2024.object.d.ts","../../node_modules/typescript/lib/lib.es2024.promise.d.ts","../../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2024.string.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../node_modules/typescript/lib/lib.esnext.error.d.ts","../../node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/typescript/lib/lib.esnext.full.d.ts","../../../../types/source/call.ts","../../../../types/source/operation.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/blob.d.ts","../../../../node_modules/@types/node/web-globals/console.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/encoding.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client-stats.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/round-robin-pool.d.ts","../../../../node_modules/undici-types/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/dispatcher1-wrapper.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/socks5-proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/importmeta.d.ts","../../../../node_modules/@types/node/web-globals/messaging.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/performance.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/web-globals/timers.d.ts","../../../../node_modules/@types/node/web-globals/url.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/ffi.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/inspector.generated.d.ts","../../../../node_modules/@types/node/inspector/promises.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/path/posix.d.ts","../../../../node_modules/@types/node/path/win32.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/quic.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/sea.d.ts","../../../../node_modules/@types/node/sqlite.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/iter.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/test/reporters.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/util/types.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vfs.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/zlib/iter.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/ioredis/built/types.d.ts","../../../../node_modules/ioredis/built/replyTransformers.d.ts","../../../../node_modules/ioredis/built/Command.d.ts","../../../../node_modules/ioredis/built/ScanStream.d.ts","../../../../node_modules/ioredis/built/utils/RedisCommander.d.ts","../../../../node_modules/ioredis/built/transaction.d.ts","../../../../node_modules/ioredis/built/utils/Commander.d.ts","../../../../node_modules/ioredis/built/connectors/AbstractConnector.d.ts","../../../../node_modules/ioredis/built/connectors/ConnectorConstructor.d.ts","../../../../node_modules/ioredis/built/connectors/SentinelConnector/types.d.ts","../../../../node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.d.ts","../../../../node_modules/ioredis/built/connectors/SentinelConnector/index.d.ts","../../../../node_modules/ioredis/built/connectors/StandaloneConnector.d.ts","../../../../node_modules/ioredis/built/himport/types.d.ts","../../../../node_modules/ioredis/built/redis/RedisOptions.d.ts","../../../../node_modules/ioredis/built/cluster/util.d.ts","../../../../node_modules/ioredis/built/cluster/ClusterOptions.d.ts","../../../../node_modules/ioredis/built/cluster/index.d.ts","../../../../node_modules/denque/index.d.ts","../../../../node_modules/ioredis/built/SubscriptionSet.d.ts","../../../../node_modules/ioredis/built/DataHandler.d.ts","../../../../node_modules/ioredis/built/tracing.d.ts","../../../../node_modules/ioredis/built/himport/HimportCoordinator.d.ts","../../../../node_modules/ioredis/built/Redis.d.ts","../../../../node_modules/ioredis/built/Pipeline.d.ts","../../../../node_modules/ioredis/built/index.d.ts","../../../../types/source/stash.ts","../../../../types/source/telemetry.ts","../../../../types/source/octets.ts","../../../../types/source/guard.ts","../../../../types/source/configuration.ts","../../../../types/source/index.ts","./source/types.ts","./source/add.ts","../../../../node_modules/bcryptjs/types.d.ts","../../../../node_modules/bcryptjs/index.d.ts","../../../../libraries/generic/types/promex.d.ts","../../../../libraries/generic/types/merge.d.ts","../../../../libraries/generic/types/map.d.ts","../../../../libraries/generic/types/letters.d.ts","../../../../libraries/generic/types/index.d.ts","./source/lib/credentials.ts","./source/authenticate.ts","./source/check.ts","./source/delete.ts","./source/incept.ts","./source/info.ts","./source/transit.ts"],"fileIdsList":[[90,155,163,168,171,173,174,175,188,248,249],[90,155,163,168,171,173,174,175,188,248,249,252,257,258],[90,155,163,168,171,173,174,175,188,249,257],[90,155,163,168,171,173,174,175,188,249],[90,155,163,168,171,173,174,175,188,248,249,258],[90,155,163,168,171,173,174,175,188],[90,155,163,168,171,173,174,175,188,248,249,252],[90,155,163,168,171,173,174,175,188,248],[90,155,163,168,171,173,174,175,188,193,253,254,255,256],[90,152,153,155,163,168,171,173,174,175,188],[90,154,155,163,168,171,173,174,175,188],[155,163,168,171,173,174,175,188],[90,155,163,168,171,173,174,175,188,197],[90,155,156,161,163,166,168,171,173,174,175,177,188,193,206],[90,155,156,157,163,166,168,171,173,174,175,188],[90,155,158,163,168,171,173,174,175,188,207],[90,155,159,160,163,168,171,173,174,175,179,188],[90,155,160,163,168,171,173,174,175,188,193,203],[90,155,161,163,166,168,171,173,174,175,177,188],[90,154,155,162,163,168,171,173,174,175,188],[90,155,163,164,168,171,173,174,175,188],[90,155,163,165,166,168,171,173,174,175,188],[90,154,155,163,166,168,171,173,174,175,188],[90,155,163,166,168,169,171,173,174,175,188,193,206],[90,155,163,166,168,169,171,173,174,175,188,195,197],[90,142,155,163,166,168,170,171,173,174,175,177,188,193,206],[90,155,163,166,168,170,171,173,174,175,177,188,193,203,206],[90,155,163,168,170,171,172,173,174,175,188,193,203,206],[89,90,91,92,93,94,95,96,97,98,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215],[90,155,163,166,168,171,173,174,175,188],[90,155,163,168,171,173,175,188],[90,155,163,168,171,173,174,175,176,188,206],[90,155,163,166,168,171,173,174,175,177,188,193],[90,155,163,168,171,173,174,175,179,188],[90,155,163,168,171,173,174,175,180,188],[90,155,163,166,168,171,173,174,175,183,188],[90,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,211,212,213,214],[90,155,163,168,171,173,174,175,185,188],[90,155,163,168,171,173,174,175,186,188],[90,155,160,163,168,169,171,173,174,175,177,188,195,203],[90,155,163,166,168,171,173,174,175,188,189],[90,155,163,168,171,173,174,175,188,190,207,211],[90,155,163,166,168,171,173,174,175,188,193,195,196,197],[90,155,163,168,171,173,174,175,188,194,197],[90,155,163,166,168,171,173,174,175,188,193,195],[90,155,163,166,168,171,173,174,175,188,193,196,197],[90,155,163,168,171,173,174,175,188,197,207],[90,155,163,168,171,173,174,175,188,198],[90,152,155,163,168,171,173,174,175,188,193,200,206],[90,155,163,168,171,173,174,175,188,193,199],[90,155,163,166,168,171,173,174,175,188,201,202],[90,155,163,168,171,173,174,175,188,201,202],[90,155,160,163,168,171,173,174,175,177,188,193,203],[90,155,163,168,171,173,174,175,188,204],[90,155,163,168,171,173,174,175,177,188,205],[90,155,163,168,170,171,173,174,175,186,188,206],[90,155,163,168,171,173,174,175,188,207,208],[90,155,160,163,168,171,173,174,175,188,208],[90,155,163,168,171,173,174,175,188,193,209],[90,155,163,168,169,171,173,174,175,188],[90,155,163,168,171,173,174,175,176,188,211],[90,155,163,168,171,173,174,175,188,212],[90,155,158,163,168,171,173,174,175,188],[90,155,160,163,168,171,173,174,175,188],[90,155,163,168,171,173,174,175,188,207],[90,142,155,163,168,171,173,174,175,188],[90,155,163,168,171,173,174,175,188,206],[90,155,163,168,171,173,174,175,188,213],[90,155,163,168,171,173,174,175,183,188],[90,155,163,168,171,173,174,175,188,202],[90,142,155,163,166,168,169,171,173,174,175,183,188,193,197,206,209,211,213],[90,155,163,168,171,173,174,175,188,193,214],[90,155,163,168,171,173,174,175,188,195,215],[90,155,163,168,171,173,174,175,188,251],[90,155,163,168,171,173,174,175,188,216,217,218],[90,155,163,166,168,171,173,174,175,188,216,217,235,236],[90,155,163,168,171,173,174,175,188,219,223,234,240],[90,155,163,166,168,171,173,174,175,188,216,217,219,220,222,223,231,234,235,237,238,239],[90,155,163,168,171,173,174,175,188,193,216],[90,155,163,168,171,173,174,175,188,219],[90,155,163,168,171,173,174,175,188,216,217,223,230,231,232],[90,155,163,166,168,171,173,174,175,188,216,217,219,220,222,223,232,233,240],[90,155,163,168,171,173,174,175,188,216,240],[90,155,163,168,171,173,174,175,188,217],[90,155,163,168,171,173,174,175,188,224],[90,155,163,168,171,173,174,175,188,226],[90,155,163,166,168,171,173,174,175,188,203,216,217,224,226,227,233],[90,155,163,168,171,173,174,175,188,231],[90,155,163,168,171,173,174,175,177,188,203,216,217,224],[90,155,163,168,171,173,174,175,188,216,219,230],[90,155,163,168,171,173,174,175,188,216],[90,155,163,168,171,173,174,175,188,217,219,220,221,224,228,229,230,231,232,233,234,238,240,241],[90,155,163,168,171,173,174,175,188,217,223,225,228,229,230],[90,155,163,168,171,173,174,175,188,221],[90,155,163,168,171,173,174,175,177,188,203,216],[90,155,163,168,171,173,174,175,188,217,219,221],[90,155,163,168,171,173,174,175,188,216,217],[90,105,108,111,112,155,163,168,171,173,174,175,188,206],[90,108,155,163,168,171,173,174,175,188,193,206],[90,108,112,155,163,168,171,173,174,175,188,206],[90,155,163,168,171,173,174,175,188,193],[90,102,155,163,168,171,173,174,175,188],[90,106,155,163,168,171,173,174,175,188],[90,104,105,108,155,163,168,171,173,174,175,188,206],[90,155,163,168,171,173,174,175,177,188,203],[90,102,155,163,168,171,173,174,175,188,216],[90,104,108,155,163,168,171,173,174,175,177,188,206],[90,99,100,101,103,107,155,163,166,168,171,173,174,175,188,193,206],[90,108,155,163,168,171,173,174,175,188],[90,108,117,126,155,163,168,171,173,174,175,188],[90,100,106,155,163,168,171,173,174,175,188],[90,108,136,137,155,163,168,171,173,174,175,188],[90,100,103,108,155,163,168,171,173,174,175,188,197,206,216],[90,104,108,155,163,168,171,173,174,175,188,206],[90,99,155,163,168,171,173,174,175,188],[90,102,103,104,106,107,108,109,110,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,137,138,139,140,141,155,163,168,171,173,174,175,188],[90,108,129,132,155,163,168,171,173,174,175,188],[90,108,117,119,120,155,163,168,171,173,174,175,188],[90,106,108,119,121,155,163,168,171,173,174,175,188],[90,107,155,163,168,171,173,174,175,188],[90,100,102,108,155,163,168,171,173,174,175,188],[90,108,112,119,121,155,163,168,171,173,174,175,188],[90,112,155,163,168,171,173,174,175,188],[90,106,108,111,155,163,168,171,173,174,175,188,206],[90,100,104,108,117,155,163,168,171,173,174,175,188],[90,108,129,155,163,168,171,173,174,175,188],[90,121,155,163,168,171,173,174,175,188],[90,100,104,108,112,155,163,168,171,173,174,175,188],[90,102,108,136,155,163,168,171,173,174,175,188,197,213,216],[87,88,90,155,163,168,171,173,174,175,188,243,244,245,246,247],[90,155,163,168,171,173,174,175,188,242]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"bde31fd423cd93b0eff97197a3f66df7c93e8c0c335cbeb113b7ff1ac35c23f4","impliedFormat":1},{"version":"265e767c95531dd6803788b42796a4058d60eaede2e980e08cc57dcbe77c9e88","impliedFormat":99},{"version":"50ffb91d1ad1e8952b9f9ba82628d988aa6e6c4cd3efecbba968a15350dc3e41","impliedFormat":99},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9b68a1c3f8f45b4c199fa5b3ac09497230cb8f2f0cdcfebe5817b30b836a64a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f53a7652392cf26ebbe4e29fd0672aa87c93bd6d0241289c13fab87b9ac35c8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"b00a630557d1622ad312633bdbfbdb9c6b7220d948dca9f899db30679f160074","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"88809d6c1b9c78d04a133646a6feb926def05a8774c308c7c93bc32ee163d271","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"3ac40516c33b87f751f7507346933081a26cdb8a3e11a6b3aa07d23f803c85db","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"14e9acf826baba0ef4b5665704084896e7bcc06f65a9ab13af7e93d27d6b7069","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"829bc57ee8f287b490ab5bbc5a962fca57e432c1e38ec680ecd3ecaf12800613","impliedFormat":1},{"version":"eec76bf6b9346f3f95fa402621b889489e96930e72295b0369022f332e9b4a6a","impliedFormat":1},{"version":"3a3ff14da53d5013f3e6d8c4ad55225e3649c08786c4421ce639c00d8d589b7d","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"38004e6801340cb890afb8cb5a9fc8972297e7f88ab94026e4b0b3c61fb32f8a","impliedFormat":1},{"version":"d243db6b25788f439e7e2f03c05688e92f46764351673bb0e7b2f3631232e186","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"149f9a9e7f04e67afa0e2a49fc0ff421035c01d6b793cfcae7d2e9f6819431e2","impliedFormat":1},{"version":"e8a9dfa4c75ef6d25df8b40eaa9c31e0a69452aaf2ced4a3f4215dbdbaa876f4","impliedFormat":1},{"version":"a70af845a2eb9dd6e2723e319e14ea7fb28b129ec1361c21509b49305448c323","impliedFormat":1},{"version":"b53dc572d4f187904207ae1166652de47aab8eeb00c254d009cb226863076b56","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"f501234c5aeeeb5d7659412335227466aaacf30b952372d60afeb21c02c96348","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"9ac977503f15bf13ca7c82ad9a32a782f42d43e474824e8b3bffe228fd5f2639","impliedFormat":1},{"version":"8b91ff5bb912be3ea213cbcf0075aace1f5d4ff249a0d227ed673868cb7bfabc","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"98498b101803bb3dde9f76a56e65c14b75db1cc8bec5f4db72be541570f74fc5","impliedFormat":1},{"version":"7cb4f431a4591b0e23002bed805dc871a874dfed6b9a3994dce68a6df73e6739","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"436d7b4543b340b0f3eef4310d524242e41369b9652aa9c70428767c4dcac455","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"e99963ae1e3a48ca7a7958c02f3e88bb963eb7978c28b68ae6b8c9f03309d83c","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"594ae90cacd813fa392ff80d2e0a8eff4e41f4a136329a940e321399dd8895b4","impliedFormat":1},{"version":"d1f333ade8ff35a409b4984e1f11956fe11c61855b0c7e9b59f0313e48b40c4a","impliedFormat":1},{"version":"0224aa4b3464895d69c413a640a19ac2166778a74eb5eb3b36b021c72d42b274","impliedFormat":1},{"version":"2e6fca0024dd8a076a886d9ec031a936ea59ad878a25b944820495d92f8381dd","affectsGlobalScope":true,"impliedFormat":1},{"version":"47d917e731d06acf182baa38ac2fbd720c3555fa9160e6a40d47994515f7f0ea","impliedFormat":1},{"version":"2fbf504c4791f9d32cd766cfe6b605bcda63289b925401953a7900db9af85348","impliedFormat":1},{"version":"ed0fb633cae35948d9e144004299a4bdf1ab912667c787b7fbffcd6d8c7b92a2","impliedFormat":1},{"version":"1678b04557dca52feab73cc67610918a7f5e25bfdba3e7fa081acd625d93106d","impliedFormat":1},{"version":"4c8a22ece1ef9fb4659ec034e1131310ca188975f39948ab38f7e4485cb46d1f","impliedFormat":1},{"version":"9c90f502816bd0179556bb875e86c944af3f6b995cde63199edbe4e0b1219aba","impliedFormat":1},{"version":"98fc7231d6c846a8ed19bdef026ddffe5e2182cc818be74899287421ad370a87","impliedFormat":1},{"version":"e494b286c8e27c52f8c7f945aa80ff223f2a3cd4f7a2619fa8991f1459e26f07","impliedFormat":1},{"version":"f54f5f9e10bbceba7515dfad0ffc89dffdb8d749d0604594c57a725cf6d79c20","impliedFormat":1},{"version":"41d17e1ad9a002feb11c8cdd2777e5bbc0cdb1e3f595d237e4dded0b6949983b","impliedFormat":1},{"version":"8c7e618c2a91ea7f6b5cca272a295864e92c16413be8fc56a943e8c7d5320011","affectsGlobalScope":true,"impliedFormat":1},{"version":"beabd75eab00f72e79feb85f6bbe81b549461a2c870674923c24a8d180d6cf07","impliedFormat":1},{"version":"9d37b8a9678efbcdf38238b59ce8e6f7db70aba1a516f3a4a671a301dbacfb3d","impliedFormat":1},{"version":"a47a792b8cff71443be8dfb199f2b77e102a7bf9d4f90c18059f05d9af2d7413","impliedFormat":1},{"version":"77c33fa85a1485ccf0d7cd8e0f50677924045cc4086a39af564f608e21a46343","impliedFormat":1},{"version":"22e77cc53de19959fdb4c4876e7bafd2f2a8cf8ead059abf7b299efe85f76251","impliedFormat":1},{"version":"2c2bdaa1d8ead9f68628d6d9d250e46ee8e81aa4898b4769a36956ae15e060fe","impliedFormat":1},{"version":"ba389fd3d7fba6670e97bc82eb12469dcb371d22f24e63859c1df5a083c823ed","impliedFormat":1},{"version":"5ff4433a2deae4f85ab1377e90a7554ce6b47ae51c69a84ca30a6e22fae85834","impliedFormat":1},{"version":"82b91e4e42e6c41bc7fc1b6c2dc5eba6a2ba98375eb1f210e6ff6bba2d54177e","impliedFormat":1},{"version":"97234c5303866576f913d0ccae7d58d6322d9e803c7bf1228a3fda46ab8087b2","affectsGlobalScope":true,"impliedFormat":1},{"version":"5336674547d832b901f47d5602c61dd4ba91796a4711235aa4aead3386ce05a4","impliedFormat":1},{"version":"ef18cbf1d8374576e3db03ff33c2c7499845972eb0c4adf87392949709c5e160","impliedFormat":1},{"version":"73eeb740dacc45adc607a4f59f90fa9dbe2717d93d82f115f45f34e18f8d644a","impliedFormat":1},{"version":"ec501101c2a96133a6c695f934c8f6642149cc728571b29cbb7b770984c1088e","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"b17f272f903d155b9ec21791b5889b638977bc1dee181efb2bc317ce006d8c9b","impliedFormat":1},{"version":"18b03a8395192811131170042d6af50c4292b0d708789dbf5bc805b6dd9f4c14","affectsGlobalScope":true,"impliedFormat":1},{"version":"230763250f20449fa7b3c9273e1967adb0023dc890d4be1553faca658ee65971","impliedFormat":1},{"version":"c3e9078b60cb329d1221f5878e88cecfa3e74460550e605a58fcfb41a66029ff","impliedFormat":1},{"version":"cd2f3cdc3954c55199d688feebdc2aaa68670e86963e30b7fab2f27c0dc94553","impliedFormat":1},{"version":"441b9bb09013654aa3d050e68b06464d8959b473e85868249d9d18f692acd35b","impliedFormat":1},{"version":"bc18a1991ba681f03e13285fa1d7b99b03b67ee671b7bc936254467177543890","impliedFormat":1},{"version":"55246f15e33ff1e2e9e679b25fa9790a48db55dc63d567fe25fac8b6a0efe911","impliedFormat":1},{"version":"fa94bbf532b7af8f394b95fa310980d6e20bd2d4c871c6a6cb9f70f03750a44b","impliedFormat":1},{"version":"925734f303b7f0cc111d42aeb21781d38a79e6d5ac05b2b1400cd1861a75d27b","impliedFormat":1},{"version":"5b26c4dd672d88336bb929787c9bfb55119e80ba89ec6dc923da1c063892843e","affectsGlobalScope":true,"impliedFormat":1},{"version":"7fa2214bb0d64701bc6f9ce8cde2fd2ff8c571e0b23065fa04a8a5a6beb91511","impliedFormat":1},{"version":"b8e805bcd8cfb7986d2bcf5e785e34fdfe0cb2f31a89b585e2c9204513efa8cf","impliedFormat":1},{"version":"f12624a4a8d042b68914eac1b0a16571fc1c523173fcdf2517c65d191bd5a86c","impliedFormat":1},{"version":"b4769767f13a1692a66186e01c3aa186ff808d5ff72ed36eda8c37738fb2ac92","impliedFormat":1},{"version":"841983e39bd4cbb463be385e92fda11057cab368bf27100a801c492f1d86cbaa","impliedFormat":1},{"version":"441a29b18cc64c37fb196172ec1e499f60d5792edc89648e6cb550180c81050f","impliedFormat":1},{"version":"1ec3f3a5f04cc42df33274fbe5c0937d9a9e06f249a7a26288d7d54f0763ffd4","impliedFormat":1},{"version":"e4156ddb25aa0e3b5303d372f26957b36778f0f6bbd4326359269873295e3058","affectsGlobalScope":true,"impliedFormat":1},{"version":"cc1b433a84cae05ddc5672d4823170af78606ad21ecef60dbc4570190cbf1357","impliedFormat":1},{"version":"76619734a63492651c3467de6fd43d93d7bdd836aff49b86f0e83e2c1e17111a","impliedFormat":1},{"version":"7f78cfb2b343838612c192cb251746e3a7c62ac7675726a47e130d9b213f6580","impliedFormat":1},{"version":"aed8f3e5c7e53462565eedf34a9bcb700393cb2c1ab0c768602b929c3ed3145d","impliedFormat":1},{"version":"8e2577e7262051fd3c5bd6ca2b2056d358ff8853565720f92455860824c25188","impliedFormat":1},{"version":"7ec8d7d483f7394f9da611b10d3a0e402f76ff5c991261e6ce43a15f81ca4258","impliedFormat":1},{"version":"bb9dbb4b2ad81e3e71ec5ba4314973718555b9d04ba2a17dfbf875efecb8e2c0","impliedFormat":1},{"version":"9021dc5be8f3a87af5cede29221188a6497e2092b6889e0be212ef6b6b7153e9","impliedFormat":1},{"version":"db3939c70002734d9e344f35f33d151cf302d326ef08338e9beb8e7f9937d2a2","impliedFormat":1},{"version":"32eccc272f35e34ff1c3d33d2c8d05e6821a6e95f648e118a5f4a0f3512895ac","impliedFormat":1},{"version":"99ab6d0d660ce4d21efb52288a39fd35bb3f556980ec5463b1ae8f304a3bbc85","impliedFormat":1},{"version":"632c45ccb4cdc2c3a80c7a36a63dd7763016e59cac5e07bfb3e37e3548957028","impliedFormat":1},{"version":"c9a2daf6cd1eb854cd5b9e424247c5e306692055738c2effd35f7871d942b76e","impliedFormat":1},{"version":"afa1c49f8e559e413d57343339db857d2a8159435cf9cf7d4deb41718fff1b88","impliedFormat":1},{"version":"c46f111af647c4134ae869653130610d62da321f90ebf19e186a3ea4bed79350","impliedFormat":1},{"version":"1fff2fd720fe74d687c527303e0dc8a2f6696a7ca0fb97a8a20da4b99552de89","impliedFormat":1},{"version":"a63ef462d78168dcea667ad5f9e43a0793cdbc8e8e7a7b2378c55c6566ff4d0a","impliedFormat":1},{"version":"9cf9d3f4c0aee7c05b062a114a4b3537cf8b06e9bf3486d44830c77c3bb95829","impliedFormat":1},{"version":"d83f3c0362467589b3a65d3a83088c068099c665a39061bf9b477f16708fa0f9","impliedFormat":1},{"version":"28a0a726d7440a439987a7968f20c6851161e9620b46ee10d425b3010dfb35e6","impliedFormat":1},{"version":"fca7e122c503a19bbdf27c72b1f0cd414782a59abf631def4e30bb379d2a13e7","impliedFormat":1},{"version":"f4260022f7af38e533d364ea62eb7ae01b0a32050033d7f6772073e1dc908025","impliedFormat":1},{"version":"b741cade739369862f1caa276fbc3995033886b2556c749e33d39aa284c964c1","impliedFormat":1},{"version":"3f8e68bd94e82fe4362553aa03030fcf94c381716ce3599d242535b0d9953e49","impliedFormat":1},{"version":"63e628515ec7017458620e1624c594c9bd76382f606890c8eebf2532bcab3b7c","impliedFormat":1},{"version":"355d5e2ba58012bc059e347a70aa8b72d18d82f0c3491e9660adaf852648f032","impliedFormat":1},{"version":"f0df7cab5e24e90ac955810c921fc9fa317e159272f6f05001bcf578ff1a53ca","impliedFormat":1},{"version":"c354961c4b20890871b0b5ebbdf5ef173ac1edb1cdbcbb9e131447dd1d603f22","impliedFormat":1},{"version":"847fbe898c25e438d615a357623753af4243fc55243bc10ce1d3504e9c501478","impliedFormat":1},{"version":"d44407177041edab412256d3ae2949923de16300ee055f948eb503d44ef72902","impliedFormat":1},{"version":"af32e3a3176a0b43a0258b82af4d331ebfc2bfc1f39f43fd9124bd059d554a7e","impliedFormat":1},{"version":"1fffd7416886a1c6e102c0bc46f058bfc2e2d9696b70e779e6179c07d0830cc6","impliedFormat":1},{"version":"a6186513bc698255729f86d2d33f9f6de9ff6bd77e0f21f8fb1f7687e42c24c7","impliedFormat":1},{"version":"ed849d616865076f44a41c87f27698f7cdf230290c44bafc71d7c2bc6919b202","impliedFormat":1},{"version":"776327c0bc9b69ec90c50c163737a955e350d40668f51a85fc794d6bb7f1ef73","impliedFormat":1},{"version":"a725bbc4f8f5400e38df917805ca7fb3f8667748ecb7e5471a7a402dc71816cb","impliedFormat":1},{"version":"974182ac9363694af81841bbc105dd520d20878491353df560c2e3a81387d02e","impliedFormat":1},{"version":"184083e4cce8894a5de837a67dd48ac608b89eb58b1d472b33d421becf3e1f39","impliedFormat":1},{"version":"39719ad735b973bd3a8f4354262e8152fa52bb93bd13a4aaa514230182618153","impliedFormat":1},{"version":"34d206f6ba993e601dade2791944bdf742ab0f7a8caccc661106c87438f4f904","impliedFormat":1},{"version":"bbb7bc52a505cea002b32b661f4af71aa287d6c3ba4cd818140f638c105f765e","impliedFormat":1},{"version":"deaa8f23e2f3b152512a57f1de29f7de43b328825eaabf92d5fd528f1515984c","impliedFormat":99},{"version":"6f0277ec4c736c5b5e41c86340d02ba4674c07b87d85b17ed212ec64e89920fe","impliedFormat":99},{"version":"0006bc39c33bf897be44b54dd97e3307c6b0c881828f8a411d55197f69e07297","impliedFormat":99},{"version":"dc5a3d018532c903f5449f78001ba66e1cffc768657c6056e665755ee52681cf","impliedFormat":99},{"version":"7332518e3fb4a786ba19f68b9b3d29ae0c5ae7082c5ae06f303659745fbbed2a","impliedFormat":99},{"version":"20a34a8be871fcf110da20968610574d6ab3bf1259d9fcc361ab605c31e6da87","impliedFormat":99},{"version":"ff52d32e964ba6acbf3be060b0b672258523c9c2bb6ed09756d04f081dc71207","signature":"2f3a5d2a6127556dc85c7b6e2f7899daaae7529c44a2fc165f8b8d5fdcee03f1","impliedFormat":99},{"version":"3e232305599751586fd6e4c2b5ec90ab6950deecad7af2ee8278106113bf323b","signature":"99706306a208d09a40e06f2497c13d25ba28d965c469abc1926d281b83a184eb","impliedFormat":99},{"version":"07fcc9be98e12bd2f0f71a501a9bfbe2e53d38c50e8a5e84223fdd05bd8749c5","impliedFormat":99},{"version":"b887a4575db46263f82d7bde681bdc14526e4a2618a1172fef4206c467752d8f","impliedFormat":99},{"version":"4386f08376491cdc43b83e6dc3e29173263e0e353a41863de4bc35ca14be916d","impliedFormat":99},{"version":"6c898f2bb237aee867bc2f89a2d9201b4c336c10320d083371ecf148bb0ffd54","impliedFormat":99},{"version":"937cbc9ffa856e3e4811c23481bf5416112fd6c8e6f31bbd2525cfff22fb8905","impliedFormat":99},{"version":"f7913adfae3602c58650945fc516db14ee8ee0ff761fd153bc7ee60089985e0a","impliedFormat":99},{"version":"efa62eaf30fef706d5749965cacf8577b00df697d86c8088586425044454a785","impliedFormat":99},{"version":"3c15bd1d7dbba1b195b4c90d1a2a9883bdc9d09604453f9aac0de83721ba4794","signature":"09faf07534cf6e2568d810a3c50ff44e9dd99aef492cd94c84b87700aeacdf91","impliedFormat":99},{"version":"7106672d70993a98fc36bec2dcfaf17342579f39b024fbc211f9ca93e720e4bc","signature":"ef51c6cedc7f602e566b1900a8710159df7d60ea7d9d1e78f1c5c90a03a17097","impliedFormat":99},{"version":"e4dfe41e03615dd35d422f1596e6af6a382b7f5b770efbb1a82882e16c0c97b5","signature":"3c867c821b3ee3fbf2088b0cee00c8bf02909aff8c177baed9e9883333412a39","impliedFormat":99},{"version":"83ff619ab0b1a80a8f91ab5ae58c8935f0c144ec83ba92d553709ec9d644942a","signature":"5ed28f7d04fb5e4d216f86edd5100ee8cc7b56f19d6783436aad664684b0af7f","impliedFormat":99},{"version":"ee45679db458b5404a5fd0cab6f864756248c6864c2b15ac29fc8894251775c8","signature":"aac138adee1b9c535642b2fe6358ed043122925852010e229089880e0bc7b194","impliedFormat":99},{"version":"501c28c66ac0cfe3831534b39c267a5146719be3e3a720783df178974b59af2e","signature":"7106b08a7f909971bcda246dadec36c94ad7d6fb5b8cc26f993b3cbe95e767a8","impliedFormat":99},{"version":"a6c7b761c20322ef1cdd0f2d60619e769cd4e0140f9fe56f215a49faec9d37c6","signature":"1dd01f725f2c4031c1c02097e5da8b215cb74d8b729f138fde10652da5f0b902","impliedFormat":99}],"root":[249,250,[258,264]],"options":{"allowJs":true,"declaration":true,"esModuleInterop":true,"experimentalDecorators":true,"module":199,"noImplicitOverride":true,"outDir":"./operations","rootDir":"./source","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99},"referencedMap":[[250,1],[259,2],[260,3],[261,4],[262,5],[263,4],[258,6],[264,7],[249,8],[84,6],[85,6],[15,6],[13,6],[14,6],[19,6],[18,6],[2,6],[20,6],[21,6],[22,6],[23,6],[24,6],[25,6],[26,6],[27,6],[3,6],[28,6],[29,6],[4,6],[30,6],[34,6],[31,6],[32,6],[33,6],[35,6],[36,6],[37,6],[5,6],[38,6],[39,6],[40,6],[41,6],[6,6],[45,6],[42,6],[43,6],[44,6],[46,6],[7,6],[47,6],[52,6],[53,6],[48,6],[49,6],[50,6],[51,6],[8,6],[57,6],[54,6],[55,6],[56,6],[58,6],[9,6],[59,6],[60,6],[61,6],[63,6],[62,6],[64,6],[65,6],[10,6],[66,6],[67,6],[68,6],[11,6],[69,6],[70,6],[71,6],[72,6],[73,6],[1,6],[74,6],[75,6],[12,6],[79,6],[77,6],[82,6],[81,6],[86,6],[76,6],[80,6],[78,6],[83,6],[17,6],[16,6],[257,9],[256,6],[255,6],[254,6],[253,6],[152,10],[153,10],[154,11],[90,12],[155,13],[156,14],[157,15],[158,16],[159,17],[160,18],[161,19],[162,20],[163,21],[164,21],[165,22],[166,23],[167,6],[168,24],[169,25],[91,6],[89,6],[170,26],[171,27],[172,28],[216,29],[173,30],[174,31],[175,30],[176,32],[177,33],[179,34],[180,35],[181,35],[182,35],[183,36],[184,37],[185,38],[186,39],[187,40],[188,41],[189,41],[190,42],[191,6],[192,6],[193,43],[194,44],[195,45],[196,46],[197,47],[198,48],[199,49],[200,50],[201,51],[202,52],[203,53],[204,54],[205,55],[206,56],[207,57],[208,58],[209,59],[210,60],[211,61],[212,62],[92,30],[93,6],[94,63],[95,64],[96,6],[97,65],[98,6],[143,66],[144,67],[145,68],[146,68],[147,69],[148,6],[149,13],[150,70],[151,67],[213,71],[214,72],[215,73],[252,74],[251,6],[178,6],[235,6],[219,75],[237,76],[241,77],[240,78],[220,79],[236,80],[233,81],[234,82],[232,83],[224,84],[225,85],[227,86],[228,87],[226,88],[229,89],[239,90],[230,91],[242,92],[231,93],[218,84],[238,84],[222,94],[217,95],[223,96],[221,97],[117,98],[131,99],[114,100],[132,101],[141,102],[105,103],[106,104],[104,105],[140,91],[135,106],[139,107],[108,108],[118,109],[128,110],[107,111],[138,112],[102,113],[103,106],[109,109],[110,6],[116,114],[113,109],[100,115],[142,116],[133,117],[121,118],[120,109],[122,119],[125,120],[119,121],[123,122],[136,91],[111,123],[112,124],[126,125],[101,101],[130,126],[129,109],[115,124],[124,127],[127,128],[134,6],[99,6],[137,129],[87,6],[247,6],[246,6],[248,130],[245,6],[88,6],[243,131],[244,6]],"version":"5.9.3"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
namespace: identity
|
|
2
|
+
name: credentials
|
|
3
|
+
|
|
4
|
+
operations:
|
|
5
|
+
list:
|
|
6
|
+
input:
|
|
7
|
+
type: object
|
|
8
|
+
properties:
|
|
9
|
+
authority:
|
|
10
|
+
type: string
|
|
11
|
+
identity:
|
|
12
|
+
type: string
|
|
13
|
+
required:
|
|
14
|
+
- authority
|
|
15
|
+
- identity
|
|
16
|
+
output:
|
|
17
|
+
type: object
|
|
18
|
+
properties:
|
|
19
|
+
basic:
|
|
20
|
+
type: object
|
|
21
|
+
nullable: true
|
|
22
|
+
additionalProperties: false
|
|
23
|
+
properties:
|
|
24
|
+
username:
|
|
25
|
+
type: string
|
|
26
|
+
required:
|
|
27
|
+
- username
|
|
28
|
+
federation:
|
|
29
|
+
type: array
|
|
30
|
+
items:
|
|
31
|
+
type: object
|
|
32
|
+
additionalProperties: false
|
|
33
|
+
properties:
|
|
34
|
+
id:
|
|
35
|
+
type: string
|
|
36
|
+
iss:
|
|
37
|
+
type: string
|
|
38
|
+
_created:
|
|
39
|
+
type: number
|
|
40
|
+
required:
|
|
41
|
+
- id
|
|
42
|
+
- iss
|
|
43
|
+
- _created
|
|
44
|
+
passkeys:
|
|
45
|
+
type: array
|
|
46
|
+
items:
|
|
47
|
+
type: object
|
|
48
|
+
additionalProperties: false
|
|
49
|
+
properties:
|
|
50
|
+
id:
|
|
51
|
+
type: string
|
|
52
|
+
aid:
|
|
53
|
+
type: string
|
|
54
|
+
synced:
|
|
55
|
+
type: boolean
|
|
56
|
+
label:
|
|
57
|
+
type: string
|
|
58
|
+
_created:
|
|
59
|
+
type: number
|
|
60
|
+
required:
|
|
61
|
+
- id
|
|
62
|
+
- aid
|
|
63
|
+
- synced
|
|
64
|
+
- _created
|
|
65
|
+
required:
|
|
66
|
+
- basic
|
|
67
|
+
- federation
|
|
68
|
+
- passkeys
|
|
69
|
+
|
|
70
|
+
exposition:
|
|
71
|
+
/:identity:
|
|
72
|
+
GET:
|
|
73
|
+
auth:id: identity
|
|
74
|
+
map:authority: authority
|
|
75
|
+
map:segments:
|
|
76
|
+
identity: identity
|
|
77
|
+
io:output: true
|
|
78
|
+
endpoint: list
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Call, Operation } from '@toa.io/types';
|
|
2
|
+
export declare class Computation implements Operation {
|
|
3
|
+
private basic;
|
|
4
|
+
private federation;
|
|
5
|
+
private passkeys;
|
|
6
|
+
mount(context: Context): void;
|
|
7
|
+
execute(input: Input): Promise<Output>;
|
|
8
|
+
}
|
|
9
|
+
interface Input {
|
|
10
|
+
authority: string;
|
|
11
|
+
identity: string;
|
|
12
|
+
}
|
|
13
|
+
interface BasicCredential {
|
|
14
|
+
username: string;
|
|
15
|
+
}
|
|
16
|
+
interface FederationCredential {
|
|
17
|
+
id: string;
|
|
18
|
+
iss: string;
|
|
19
|
+
_created: number;
|
|
20
|
+
}
|
|
21
|
+
interface PasskeyCredential {
|
|
22
|
+
id: string;
|
|
23
|
+
aid: string;
|
|
24
|
+
synced: boolean;
|
|
25
|
+
label?: string;
|
|
26
|
+
_created: number;
|
|
27
|
+
}
|
|
28
|
+
interface Output {
|
|
29
|
+
basic: BasicCredential | null;
|
|
30
|
+
federation: FederationCredential[];
|
|
31
|
+
passkeys: PasskeyCredential[];
|
|
32
|
+
}
|
|
33
|
+
interface Context {
|
|
34
|
+
remote: {
|
|
35
|
+
identity: {
|
|
36
|
+
basic: Basic;
|
|
37
|
+
federation: Federation;
|
|
38
|
+
passkeys: Passkeys;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
interface Basic {
|
|
43
|
+
info: Call<BasicCredential | null, Input>;
|
|
44
|
+
}
|
|
45
|
+
interface Federation {
|
|
46
|
+
list: Call<FederationCredential[], Input>;
|
|
47
|
+
}
|
|
48
|
+
interface Passkeys {
|
|
49
|
+
list: Call<PasskeyCredential[], Input>;
|
|
50
|
+
}
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class Computation {
|
|
2
|
+
basic = undefined;
|
|
3
|
+
federation = undefined;
|
|
4
|
+
passkeys = undefined;
|
|
5
|
+
mount(context) {
|
|
6
|
+
this.basic = context.remote.identity.basic;
|
|
7
|
+
this.federation = context.remote.identity.federation;
|
|
8
|
+
this.passkeys = context.remote.identity.passkeys;
|
|
9
|
+
}
|
|
10
|
+
async execute(input) {
|
|
11
|
+
const request = { input };
|
|
12
|
+
const [basic, federationObjects, passkeyObjects] = await Promise.all([
|
|
13
|
+
this.basic.info(request),
|
|
14
|
+
this.federation.list(request),
|
|
15
|
+
this.passkeys.list(request)
|
|
16
|
+
]);
|
|
17
|
+
const federation = federationObjects.map(({ id, iss, _created }) => ({ id, iss, _created }));
|
|
18
|
+
const passkeys = passkeyObjects.map(({ id, aid, synced, label, _created }) => ({
|
|
19
|
+
id,
|
|
20
|
+
aid,
|
|
21
|
+
synced,
|
|
22
|
+
label,
|
|
23
|
+
_created
|
|
24
|
+
}));
|
|
25
|
+
return { basic, federation, passkeys };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../source/list.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,WAAW;IACd,KAAK,GAAU,SAA6B,CAAA;IAC5C,UAAU,GAAe,SAAkC,CAAA;IAC3D,QAAQ,GAAa,SAAgC,CAAA;IAEtD,KAAK,CAAE,OAAgB;QAC5B,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAA;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAA;QAEpD,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAA;IAClD,CAAC;IAEM,KAAK,CAAC,OAAO,CAAE,KAAY;QAChC,MAAM,OAAO,GAAG,EAAE,KAAK,EAAE,CAAA;QAEzB,MAAM,CAAC,KAAK,EAAE,iBAAiB,EAAE,cAAc,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;YACnE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC;YAC7B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC;SAC5B,CAAC,CAAA;QAEF,MAAM,UAAU,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAA;QAE5F,MAAM,QAAQ,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;YAC7E,EAAE;YACF,GAAG;YACH,MAAM;YACN,KAAK;YACL,QAAQ;SACT,CAAC,CAAC,CAAA;QAEH,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAA;IACxC,CAAC;CACF"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { it, mock } from 'node:test'
|
|
2
|
+
import assert from 'node:assert/strict'
|
|
3
|
+
import { isDeepStrictEqual } from 'node:util'
|
|
4
|
+
|
|
5
|
+
import { Computation } from './list.js'
|
|
6
|
+
|
|
7
|
+
it('aggregates only public credential properties', async () => {
|
|
8
|
+
const operation = new Computation()
|
|
9
|
+
const input = { authority: 'nex', identity: 'identity' }
|
|
10
|
+
|
|
11
|
+
const context = {
|
|
12
|
+
remote: {
|
|
13
|
+
identity: {
|
|
14
|
+
basic: {
|
|
15
|
+
info: mock.fn(async () => ({ username: 'user@example.com' }))
|
|
16
|
+
},
|
|
17
|
+
federation: {
|
|
18
|
+
list: mock.fn(async () => [{
|
|
19
|
+
id: 'federation',
|
|
20
|
+
iss: 'https://accounts.google.com',
|
|
21
|
+
sub: 'secret-subject',
|
|
22
|
+
_created: 1
|
|
23
|
+
}])
|
|
24
|
+
},
|
|
25
|
+
passkeys: {
|
|
26
|
+
list: mock.fn(async () => [{
|
|
27
|
+
id: 'passkey',
|
|
28
|
+
aid: 'aaguid',
|
|
29
|
+
synced: true,
|
|
30
|
+
label: 'Phone',
|
|
31
|
+
_created: 2,
|
|
32
|
+
key: 'public-key',
|
|
33
|
+
counter: 10
|
|
34
|
+
}])
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
operation.mount(context)
|
|
41
|
+
|
|
42
|
+
await assert.deepStrictEqual(await operation.execute(input), {
|
|
43
|
+
basic: { username: 'user@example.com' },
|
|
44
|
+
federation: [{ id: 'federation', iss: 'https://accounts.google.com', _created: 1 }],
|
|
45
|
+
passkeys: [{ id: 'passkey', aid: 'aaguid', synced: true, label: 'Phone', _created: 2 }]
|
|
46
|
+
})
|
|
47
|
+
|
|
48
|
+
assert.ok(context.remote.identity.basic.info.mock.calls.some((call: any) => call.arguments.length === 1 && isDeepStrictEqual(call.arguments[0], { input })))
|
|
49
|
+
assert.ok(context.remote.identity.federation.list.mock.calls.some((call: any) => call.arguments.length === 1 && isDeepStrictEqual(call.arguments[0], { input })))
|
|
50
|
+
assert.ok(context.remote.identity.passkeys.list.mock.calls.some((call: any) => call.arguments.length === 1 && isDeepStrictEqual(call.arguments[0], { input })))
|
|
51
|
+
})
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { Call, Operation } from '@toa.io/types'
|
|
2
|
+
|
|
3
|
+
export class Computation implements Operation {
|
|
4
|
+
private basic: Basic = undefined as unknown as Basic
|
|
5
|
+
private federation: Federation = undefined as unknown as Federation
|
|
6
|
+
private passkeys: Passkeys = undefined as unknown as Passkeys
|
|
7
|
+
|
|
8
|
+
public mount (context: Context): void {
|
|
9
|
+
this.basic = context.remote.identity.basic
|
|
10
|
+
this.federation = context.remote.identity.federation
|
|
11
|
+
|
|
12
|
+
this.passkeys = context.remote.identity.passkeys
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
public async execute (input: Input): Promise<Output> {
|
|
16
|
+
const request = { input }
|
|
17
|
+
|
|
18
|
+
const [basic, federationObjects, passkeyObjects] = await Promise.all([
|
|
19
|
+
this.basic.info(request),
|
|
20
|
+
this.federation.list(request),
|
|
21
|
+
this.passkeys.list(request)
|
|
22
|
+
])
|
|
23
|
+
|
|
24
|
+
const federation = federationObjects.map(({ id, iss, _created }) => ({ id, iss, _created }))
|
|
25
|
+
|
|
26
|
+
const passkeys = passkeyObjects.map(({ id, aid, synced, label, _created }) => ({
|
|
27
|
+
id,
|
|
28
|
+
aid,
|
|
29
|
+
synced,
|
|
30
|
+
label,
|
|
31
|
+
_created
|
|
32
|
+
}))
|
|
33
|
+
|
|
34
|
+
return { basic, federation, passkeys }
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface Input {
|
|
39
|
+
authority: string
|
|
40
|
+
identity: string
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface BasicCredential {
|
|
44
|
+
username: string
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface FederationCredential {
|
|
48
|
+
id: string
|
|
49
|
+
iss: string
|
|
50
|
+
_created: number
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface PasskeyCredential {
|
|
54
|
+
id: string
|
|
55
|
+
aid: string
|
|
56
|
+
synced: boolean
|
|
57
|
+
label?: string
|
|
58
|
+
_created: number
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface Output {
|
|
62
|
+
basic: BasicCredential | null
|
|
63
|
+
federation: FederationCredential[]
|
|
64
|
+
passkeys: PasskeyCredential[]
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
interface Context {
|
|
68
|
+
remote: {
|
|
69
|
+
identity: {
|
|
70
|
+
basic: Basic
|
|
71
|
+
federation: Federation
|
|
72
|
+
passkeys: Passkeys
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
interface Basic {
|
|
78
|
+
info: Call<BasicCredential | null, Input>
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface Federation {
|
|
82
|
+
list: Call<FederationCredential[], Input>
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface Passkeys {
|
|
86
|
+
list: Call<PasskeyCredential[], Input>
|
|
87
|
+
}
|