ArtifactServiceDeps
@forge/monorepo / backend/src / ArtifactServiceDeps
Type Alias: ArtifactServiceDeps
ArtifactServiceDeps =
object
Defined in: backend/src/artifacts/index.ts:45
Properties
artifactId?
readonlyoptionalartifactId?: () =>string
Defined in: backend/src/artifacts/index.ts:56
Returns
string
artifacts
readonlyartifacts:ArtifactStore
Defined in: backend/src/artifacts/index.ts:46
authorization
readonlyauthorization: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
readonlyblobs:BlobStore
Defined in: backend/src/artifacts/index.ts:47
clock?
readonlyoptionalclock?: () =>string
Defined in: backend/src/artifacts/index.ts:55
Returns
string
versionId?
readonlyoptionalversionId?: () =>string
Defined in: backend/src/artifacts/index.ts:57
Returns
string