Skip to main content

ArtifactServiceDeps

@retinue/monorepo


@retinue/monorepo / backend/src / ArtifactServiceDeps

Type Alias: ArtifactServiceDeps

ArtifactServiceDeps = object

Defined in: backend/src/artifacts/index.ts:45

Properties​

artifactId?​

readonly optional artifactId?: () => string

Defined in: backend/src/artifacts/index.ts:56

Returns​

string


artifacts​

readonly artifacts: ArtifactStore

Defined in: backend/src/artifacts/index.ts:46


authorization​

readonly authorization: AuthorizationPolicy

Defined in: backend/src/artifacts/index.ts:54

AC-4, enforced rather than asserted.

Required. A service that would run without a policy is a service someone constructs without one, and at that point every artifact in the tenant is readable by every member of it. Tenant scoping is not AC-4.


blobs​

readonly blobs: BlobStore

Defined in: backend/src/artifacts/index.ts:47


clock?​

readonly optional clock?: () => string

Defined in: backend/src/artifacts/index.ts:55

Returns​

string


versionId?​

readonly optional versionId?: () => string

Defined in: backend/src/artifacts/index.ts:57

Returns​

string