@xyo-network/manifest-model
Advanced tools
Comparing version 2.103.5 to 2.103.6
@@ -0,2 +1,3 @@ | ||
export * from './Manifest'; | ||
export * from './Payload'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,39 +9,8 @@ export declare const DappPackageManifestPayloadSchema: "network.xyo.manifest.package.dapp"; | ||
export declare const NodeManifestPayloadSchema: NodeManifestPayloadSchema; | ||
import { Address } from '@xylabs/hex'; | ||
import { Payload } from '@xyo-network/payload-model'; | ||
export type ModuleAlias = Exclude<string, 'reserved-alias-value-8346534876'>; | ||
export interface Manifest { | ||
description?: string; | ||
} | ||
export interface ConfigManifest { | ||
accountPath?: string; | ||
features?: string[]; | ||
labels?: Record<string, string | undefined>; | ||
language?: string; | ||
name: string; | ||
os?: string; | ||
schema: string; | ||
} | ||
export interface NodeManifest extends ModuleManifest { | ||
modules?: { | ||
private?: (ModuleManifest | ModuleAlias)[]; | ||
public?: (ModuleManifest | ModuleAlias)[]; | ||
}; | ||
} | ||
import { ModuleManifest, NodeManifest, PackageManifest } from './Manifest'; | ||
export interface NodeManifestPayload extends NodeManifest { | ||
schema: NodeManifestPayloadSchema; | ||
} | ||
export interface ModuleManifest extends Manifest { | ||
config: ConfigManifest; | ||
lazyStart?: boolean; | ||
status?: { | ||
address: Address; | ||
children?: Record<Address, string | null>; | ||
}; | ||
} | ||
export type ModuleManifestPayload = Payload<ModuleManifest, ModuleManifestPayloadSchema | NodeManifestPayloadSchema>; | ||
export interface PackageManifest extends Manifest { | ||
modules?: Record<ModuleAlias, ModuleManifest>; | ||
nodes: NodeManifest[]; | ||
} | ||
export type PackageManifestPayload = Payload<PackageManifest, PackageManifestPayloadSchema>; | ||
@@ -48,0 +17,0 @@ export declare const isPackageManifestPayload: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PackageManifest & { |
@@ -0,2 +1,3 @@ | ||
export * from './Manifest'; | ||
export * from './Payload'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,39 +9,8 @@ export declare const DappPackageManifestPayloadSchema: "network.xyo.manifest.package.dapp"; | ||
export declare const NodeManifestPayloadSchema: NodeManifestPayloadSchema; | ||
import { Address } from '@xylabs/hex'; | ||
import { Payload } from '@xyo-network/payload-model'; | ||
export type ModuleAlias = Exclude<string, 'reserved-alias-value-8346534876'>; | ||
export interface Manifest { | ||
description?: string; | ||
} | ||
export interface ConfigManifest { | ||
accountPath?: string; | ||
features?: string[]; | ||
labels?: Record<string, string | undefined>; | ||
language?: string; | ||
name: string; | ||
os?: string; | ||
schema: string; | ||
} | ||
export interface NodeManifest extends ModuleManifest { | ||
modules?: { | ||
private?: (ModuleManifest | ModuleAlias)[]; | ||
public?: (ModuleManifest | ModuleAlias)[]; | ||
}; | ||
} | ||
import { ModuleManifest, NodeManifest, PackageManifest } from './Manifest'; | ||
export interface NodeManifestPayload extends NodeManifest { | ||
schema: NodeManifestPayloadSchema; | ||
} | ||
export interface ModuleManifest extends Manifest { | ||
config: ConfigManifest; | ||
lazyStart?: boolean; | ||
status?: { | ||
address: Address; | ||
children?: Record<Address, string | null>; | ||
}; | ||
} | ||
export type ModuleManifestPayload = Payload<ModuleManifest, ModuleManifestPayloadSchema | NodeManifestPayloadSchema>; | ||
export interface PackageManifest extends Manifest { | ||
modules?: Record<ModuleAlias, ModuleManifest>; | ||
nodes: NodeManifest[]; | ||
} | ||
export type PackageManifestPayload = Payload<PackageManifest, PackageManifestPayloadSchema>; | ||
@@ -48,0 +17,0 @@ export declare const isPackageManifestPayload: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PackageManifest & { |
@@ -0,2 +1,3 @@ | ||
export * from './Manifest'; | ||
export * from './Payload'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,39 +9,8 @@ export declare const DappPackageManifestPayloadSchema: "network.xyo.manifest.package.dapp"; | ||
export declare const NodeManifestPayloadSchema: NodeManifestPayloadSchema; | ||
import { Address } from '@xylabs/hex'; | ||
import { Payload } from '@xyo-network/payload-model'; | ||
export type ModuleAlias = Exclude<string, 'reserved-alias-value-8346534876'>; | ||
export interface Manifest { | ||
description?: string; | ||
} | ||
export interface ConfigManifest { | ||
accountPath?: string; | ||
features?: string[]; | ||
labels?: Record<string, string | undefined>; | ||
language?: string; | ||
name: string; | ||
os?: string; | ||
schema: string; | ||
} | ||
export interface NodeManifest extends ModuleManifest { | ||
modules?: { | ||
private?: (ModuleManifest | ModuleAlias)[]; | ||
public?: (ModuleManifest | ModuleAlias)[]; | ||
}; | ||
} | ||
import { ModuleManifest, NodeManifest, PackageManifest } from './Manifest'; | ||
export interface NodeManifestPayload extends NodeManifest { | ||
schema: NodeManifestPayloadSchema; | ||
} | ||
export interface ModuleManifest extends Manifest { | ||
config: ConfigManifest; | ||
lazyStart?: boolean; | ||
status?: { | ||
address: Address; | ||
children?: Record<Address, string | null>; | ||
}; | ||
} | ||
export type ModuleManifestPayload = Payload<ModuleManifest, ModuleManifestPayloadSchema | NodeManifestPayloadSchema>; | ||
export interface PackageManifest extends Manifest { | ||
modules?: Record<ModuleAlias, ModuleManifest>; | ||
nodes: NodeManifest[]; | ||
} | ||
export type PackageManifestPayload = Payload<PackageManifest, PackageManifestPayloadSchema>; | ||
@@ -48,0 +17,0 @@ export declare const isPackageManifestPayload: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PackageManifest & { |
@@ -14,4 +14,4 @@ { | ||
"dependencies": { | ||
"@xylabs/hex": "^3.4.1", | ||
"@xyo-network/payload-model": "~2.103.5" | ||
"@xylabs/hex": "^3.5.0", | ||
"@xyo-network/payload-model": "~2.103.6" | ||
}, | ||
@@ -53,4 +53,4 @@ "devDependencies": { | ||
}, | ||
"main": "dist/node/index.cjs", | ||
"module": "dist/node/index.js", | ||
"main": "dist/neutral/index.cjs", | ||
"module": "dist/neutral/index.js", | ||
"homepage": "https://xyo.network", | ||
@@ -66,7 +66,8 @@ "license": "LGPL-3.0-only", | ||
"scripts": { | ||
"gen-schema": "yarn typescript-json-schema src/Payload.ts PackageManifest --required --out dist/PackageManifest.schema.json" | ||
"package-compile": "yarn gen-schema && yarn package-compile-only", | ||
"gen-schema": "yarn typescript-json-schema src/Manifest.ts PackageManifest --required --out dist/PackageManifest.schema.json" | ||
}, | ||
"sideEffects": false, | ||
"version": "2.103.5", | ||
"version": "2.103.6", | ||
"type": "module" | ||
} |
@@ -0,1 +1,2 @@ | ||
export * from './Manifest' | ||
export * from './Payload' |
@@ -13,28 +13,6 @@ export const DappPackageManifestPayloadSchema = 'network.xyo.manifest.package.dapp' as const | ||
import { Address } from '@xylabs/hex' | ||
import { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model' | ||
export type ModuleAlias = Exclude<string, 'reserved-alias-value-8346534876'> | ||
import { ModuleManifest, NodeManifest, PackageManifest } from './Manifest' | ||
export interface Manifest { | ||
description?: string | ||
} | ||
export interface ConfigManifest { | ||
accountPath?: string | ||
features?: string[] | ||
labels?: Record<string, string | undefined> | ||
language?: string | ||
name: string | ||
os?: string | ||
schema: string | ||
} | ||
export interface NodeManifest extends ModuleManifest { | ||
modules?: { | ||
private?: (ModuleManifest | ModuleAlias)[] | ||
public?: (ModuleManifest | ModuleAlias)[] | ||
} | ||
} | ||
export interface NodeManifestPayload extends NodeManifest { | ||
@@ -44,20 +22,6 @@ schema: NodeManifestPayloadSchema | ||
export interface ModuleManifest extends Manifest { | ||
config: ConfigManifest | ||
lazyStart?: boolean | ||
status?: { | ||
address: Address | ||
children?: Record<Address, string | null> | ||
} | ||
} | ||
export type ModuleManifestPayload = Payload<ModuleManifest, ModuleManifestPayloadSchema | NodeManifestPayloadSchema> | ||
export interface PackageManifest extends Manifest { | ||
modules?: Record<ModuleAlias, ModuleManifest> | ||
nodes: NodeManifest[] | ||
} | ||
export type PackageManifestPayload = Payload<PackageManifest, PackageManifestPayloadSchema> | ||
export const isPackageManifestPayload = isPayloadOfSchemaType<PackageManifestPayload>(PackageManifestPayloadSchema) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
73684
75
532
Updated@xylabs/hex@^3.5.0