Skip to main content

Function: createListArchived()

Constructs a ListArchived instance wired with filesystem adapters.

Param

A fully-resolved SpecdConfig or an explicit context object

Param

Filesystem path options; required when configOrContext is a context object

Call Signature

createListArchived(config): ListArchived

Defined in: packages/core/src/composition/use-cases/list-archived.ts:27

Constructs a ListArchived use case with full project config.

Parameters

config

SpecdConfig

The fully-resolved project configuration

Returns

ListArchived

The pre-wired use case instance

Call Signature

createListArchived(context, options): ListArchived

Defined in: packages/core/src/composition/use-cases/list-archived.ts:35

Constructs a ListArchived use case with explicit context and options.

Parameters

context

ListArchivedContext

Domain context for the primary workspace

options

FsListArchivedOptions

Filesystem paths for archive resolution

Returns

ListArchived

The pre-wired use case instance