跳转到内容

verify

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

const verify: (...args: [directory: string]) => Effect<
{
engines: {
node: string
}
graft: {
entries: {
[key: string]: {
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[]
}[]
}
}
}
version: 1
}
name: string
peerDependencies: {
"@graftland/graft": string
effect: string
}
version: string
},
PlatformError | SchemaError | PublicationError,
FileSystem | Path
>

Defined in: Publication.ts:119

Fails if a published manifest differs from the implementation declarations.

Parameter Type
…args [directory: string]

Effect<{ engines: { node: string; }; graft: { entries: { [key: string]: { 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[]; }[]; }; }; }; version: 1; }; name: string; peerDependencies: { "@graftland/graft": string; effect: string; }; version: string; }, | PlatformError | SchemaError | PublicationError, FileSystem | Path>