Optionalparams: GetPublicationsParamsObject with required fields.
List of filtered publications.
Get publication.
Object with required fields.
Requested publication.
Mark publication as downloaded.
Object with required fields.
Upload new publication.
Object with required fields.
await client.publications.uploadPublication({
name: 'Cool App',
description: 'My new app',
category: PublicationCategory.Applications,
license: License.MIT,
sourceUrl: 'https://github.com/user/repo/raw/refs/heads/main/Main.lua',
dependencies: [{
sourceUrl: 'https://github.com/user/repo/raw/refs/heads/main/Background.pic',
path: 'Assets/Background.pic'
}]
})
Update an existing publication.
Object with required fields.
await client.publications.updatePublication({
fileId: 1488,
whatsNew: 'Bug fixes and improvements',
name: 'Cool App',
description: 'My new app',
category: PublicationCategory.Applications,
license: License.MIT,
sourceUrl: 'https://github.com/user/repo/raw/refs/heads/main/Main.lua',
dependencies: [{
sourceUrl: 'https://github.com/user/repo/raw/refs/heads/main/Background.pic',
path: 'Assets/Background.pic'
}]
})
Delete existing publication.
Object with required fields.
Get store's publications.