Manta Developers
GitHub
Menu

@manta-eu/cli

Reference for @manta-eu/cli as it is on main, generated from its TypeScript sources.

The last release is 0.8.1. An export added on main since then arrives with the next release.

pnpm add @manta-eu/cli

Entry points

  • @manta-eu/cli, on this page

Type Aliases

AppFileCollection

AppFileCollection = "vocabularies" | "shapes" | "rules"


AppFileDeletion

AppFileDeletion = object

Properties

deleted

deleted: boolean

graphIri

graphIri: string

name

name: string


AppFileLocation

AppFileLocation = object

Properties

apiUrl

apiUrl: string

collection

collection: AppFileCollection

datastore

datastore: string

name

name: string


AppFilePush

AppFilePush = object

Properties

added

added: number

blankNodeTriples

blankNodeTriples: number

changed

changed: boolean

dryRun

dryRun: boolean

graphIri

graphIri: string

name

name: string

removed

removed: number

written

written: boolean


AppFileTarget

AppFileTarget = AppFileLocation & object

Type Declaration

fetchImpl?

optional fetchImpl?: FetchLike

token

token: TokenSource


RulesPush

RulesPush = object

Properties

added

added: number

changed

changed: number

dryRun

dryRun: boolean

graphIri

graphIri: string

name

name: string

owner

owner: string

prefixesRebound

prefixesRebound: boolean

removed

removed: number

unchanged

unchanged: number

written

written: boolean

Functions

appFileEndpoint()

appFileEndpoint(__namedParameters): string

Parameters

__namedParameters

AppFileLocation

Returns

string


deleteAppFile()

deleteAppFile(target): Promise<AppFileDeletion>

Parameters

target

AppFileTarget

Returns

Promise<AppFileDeletion>


describePush()

describePush(push): string

Parameters

push

AppFilePush

Returns

string


describeRulesPush()

describeRulesPush(push): string

Parameters

push

RulesPush

Returns

string


pushAppFile()

pushAppFile(target): Promise<AppFilePush>

Parameters

target

AppFileLocation & object & object

Returns

Promise<AppFilePush>


pushRules()

pushRules(target): Promise<RulesPush>

Parameters

target

Omit<AppFileTarget, "collection"> & object

Returns

Promise<RulesPush>