跳转到内容

inspectEntry

此内容尚不支持你的语言。

const inspectEntry: (
...args: [
directory: string,
entry: {
contracts: readonly string[]
implementation: string
probes: readonly string[]
requirements: {
filesystem: boolean
nativeModules: boolean
placements: readonly ("Host" | "Worker" | "Local")[]
}
},
]
) => Effect<
{
contracts: readonly string[]
implementation: string
operations: readonly {
artifact: {
algorithm: "sha256"
digest: string
version: 1
}
identity: string
package: {
name: string
version: string
}
}[]
probes: readonly string[]
requirements: {
filesystem: boolean
nativeModules: boolean
placements: readonly ("Host" | "Worker" | "Local")[]
}
services: {
implements: readonly {
key: string
operations: readonly string[]
}[]
optional: readonly {
key: string
operations: readonly string[]
}[]
required: readonly {
key: string
operations: readonly string[]
}[]
}
},
SchemaError | PublicationError,
never
>

Defined in: Publication.ts:75

Inspects built declarations in a fresh, scoped module-loading environment. Never activates apply.

Parameter Type
…args [directory: string, entry: { contracts: readonly string[]; implementation: string; probes: readonly string[]; requirements: { filesystem: boolean; nativeModules: boolean; placements: readonly ("Host" | "Worker" | "Local")[]; }; }]

Effect<{ contracts: readonly string[]; implementation: string; operations: readonly { artifact: { algorithm: "sha256"; digest: string; version: 1; }; identity: string; package: { name: string; version: string; }; }[]; probes: readonly string[]; requirements: { filesystem: boolean; nativeModules: boolean; placements: readonly ("Host" | "Worker" | "Local")[]; }; services: { implements: readonly { key: string; operations: readonly string[]; }[]; optional: readonly { key: string; operations: readonly string[]; }[]; required: readonly { key: string; operations: readonly string[]; }[]; }; }, | SchemaError | PublicationError, never>