dwnpm
Version:
Decentralized Registry Package Manager (DRPM) helps developers publish, install, find and manage Decentralized Packages (DPKs) published to Decentralized Web Nodes (DWNs). DRPM does this by looking up a Decentralized Identifier (DID) to find its DID docum
94 lines • 2.48 kB
TypeScript
declare const _default: {
protocol: string;
published: boolean;
types: {
package: {
schema: string;
dataFormats: string[];
};
icon: {
schema: string;
dataFormats: string[];
};
release: {
schema: string;
dataFormats: string[];
};
admin: {
schema: string;
dataFormats: string[];
};
};
structure: {
package: {
$tags: {
name: {
type: string;
};
latest: {
type: string;
};
$requiredTags: string[];
};
$actions: ({
who: string;
of: string;
can: string[];
role?: undefined;
} | {
role: string;
can: string[];
who?: undefined;
of?: undefined;
})[];
admin: {
$role: boolean;
$actions: {
who: string;
of: string;
can: string[];
}[];
};
icon: {
$actions: ({
who: string;
of: string;
can: string[];
role?: undefined;
} | {
role: string;
can: string[];
who?: undefined;
of?: undefined;
})[];
};
release: {
$tags: {
name: {
type: string;
};
version: {
type: string;
};
integrity: {
type: string;
};
$requiredTags: string[];
};
$actions: ({
who: string;
of: string;
can: string[];
role?: undefined;
} | {
role: string;
can: string[];
who?: undefined;
of?: undefined;
})[];
};
};
};
};
export default _default;
//# sourceMappingURL=protocol.d.ts.map