mirror of
https://github.com/mii443/wasmer.git
synced 2025-09-03 16:09:20 +00:00
when the `--wait` flag is specified, subscribe to the `packageVersionReady` subscription and wait for webc, bindings, exes to be generated.
43 lines
827 B
GraphQL
43 lines
827 B
GraphQL
mutation PublishPackageMutationChunked(
|
|
$name: String!
|
|
$version: String!
|
|
$description: String!
|
|
$manifest: String!
|
|
$license: String
|
|
$licenseFile: String
|
|
$readme: String
|
|
$fileName: String
|
|
$repository: String
|
|
$homepage: String
|
|
$signature: InputSignature
|
|
$signedUrl: String
|
|
$private: Boolean
|
|
$wait: Boolean
|
|
) {
|
|
publishPackage(
|
|
input: {
|
|
name: $name
|
|
version: $version
|
|
description: $description
|
|
manifest: $manifest
|
|
license: $license
|
|
licenseFile: $licenseFile
|
|
readme: $readme
|
|
file: $fileName
|
|
signedUrl: $signedUrl
|
|
repository: $repository
|
|
homepage: $homepage
|
|
signature: $signature
|
|
clientMutationId: ""
|
|
private: $private
|
|
wait: $wait
|
|
}
|
|
) {
|
|
success
|
|
packageVersion {
|
|
id
|
|
version
|
|
}
|
|
}
|
|
}
|