@xyo-network/manifest-model
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -1,55 +0,3 @@ | ||
import { Address } from '@xylabs/hex'; | ||
import * as _xyo_network_payload_model from '@xyo-network/payload-model'; | ||
import { Payload } from '@xyo-network/payload-model'; | ||
type ModuleAlias = Exclude<string, 'reserved-alias-value-8346534876'>; | ||
interface Manifest { | ||
description?: string; | ||
} | ||
interface ConfigManifest { | ||
accountPath?: string; | ||
features?: string[]; | ||
labels?: Record<string, string | undefined>; | ||
language?: string; | ||
name: string; | ||
os?: string; | ||
schema: string; | ||
} | ||
interface NodeManifest extends ModuleManifest { | ||
modules?: { | ||
private?: (ModuleManifest | ModuleAlias)[]; | ||
public?: (ModuleManifest | ModuleAlias)[]; | ||
}; | ||
} | ||
interface ModuleManifest extends Manifest { | ||
config: ConfigManifest; | ||
lazyStart?: boolean; | ||
status?: { | ||
address: Address; | ||
children?: Record<Address, string | null>; | ||
}; | ||
} | ||
interface PackageManifest extends Manifest { | ||
modules?: Record<ModuleAlias, ModuleManifest>; | ||
nodes: NodeManifest[]; | ||
} | ||
declare const DappPackageManifestPayloadSchema: "network.xyo.manifest.package.dapp"; | ||
type DappPackageManifestPayloadSchema = typeof DappPackageManifestPayloadSchema; | ||
type PackageManifestPayloadSchema = 'network.xyo.manifest.package'; | ||
declare const PackageManifestPayloadSchema: PackageManifestPayloadSchema; | ||
type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'; | ||
declare const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema; | ||
type NodeManifestPayloadSchema = 'network.xyo.node.manifest'; | ||
declare const NodeManifestPayloadSchema: NodeManifestPayloadSchema; | ||
interface NodeManifestPayload extends NodeManifest { | ||
schema: NodeManifestPayloadSchema; | ||
} | ||
type ModuleManifestPayload = Payload<ModuleManifest, ModuleManifestPayloadSchema | NodeManifestPayloadSchema>; | ||
type PackageManifestPayload = Payload<PackageManifest, PackageManifestPayloadSchema>; | ||
declare const isPackageManifestPayload: (x?: unknown | null) => x is _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & PackageManifest & { | ||
schema: "network.xyo.manifest.package"; | ||
}; | ||
export { type ConfigManifest, DappPackageManifestPayloadSchema, type Manifest, type ModuleAlias, type ModuleManifest, type ModuleManifestPayload, ModuleManifestPayloadSchema, type NodeManifest, type NodeManifestPayload, NodeManifestPayloadSchema, type PackageManifest, type PackageManifestPayload, PackageManifestPayloadSchema, isPackageManifestPayload }; | ||
export * from './Manifest.ts'; | ||
export * from './Payload.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@xyo-network/manifest-model", | ||
"version": "3.0.8", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
"homepage": "https://xyo.network", | ||
"bugs": { | ||
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues", | ||
"email": "support@xyo.network" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git" | ||
}, | ||
"license": "LGPL-3.0-only", | ||
"author": { | ||
"name": "XYO Development Team", | ||
"email": "support@xyo.network", | ||
"name": "XYO Development Team", | ||
"url": "https://xyo.network" | ||
}, | ||
"bugs": { | ||
"email": "support@xyo.network", | ||
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues" | ||
}, | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
"dependencies": { | ||
"@xylabs/hex": "^4.0.2", | ||
"@xyo-network/payload-model": "^3.0.7" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^22.5.0", | ||
"@xylabs/ts-scripts-yarn3": "^4.0.0", | ||
"@xylabs/tsconfig": "^4.0.0", | ||
"typescript": "^5.5.4", | ||
"typescript-json-schema": "^0.65.1" | ||
}, | ||
"types": "dist/neutral/index.d.ts", | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
@@ -36,18 +33,22 @@ ".": { | ||
"module": "dist/neutral/index.mjs", | ||
"homepage": "https://xyo.network", | ||
"license": "LGPL-3.0-only", | ||
"publishConfig": { | ||
"access": "public" | ||
"types": "dist/neutral/index.d.ts", | ||
"scripts": { | ||
"gen-schema": "yarn typescript-json-schema src/Manifest.ts PackageManifest --required --out dist/PackageManifest.schema.json", | ||
"package-build": "yarn gen-schema && yarn package-build-only", | ||
"package-compile": "yarn gen-schema && yarn package-compile-only" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git" | ||
"dependencies": { | ||
"@xylabs/hex": "^4.0.3", | ||
"@xyo-network/payload-model": "^3.0.8" | ||
}, | ||
"scripts": { | ||
"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" | ||
"devDependencies": { | ||
"@types/node": "^22.5.0", | ||
"@xylabs/ts-scripts-yarn3": "^4.0.7", | ||
"@xylabs/tsconfig": "^4.0.7", | ||
"typescript": "^5.5.4", | ||
"typescript-json-schema": "^0.65.1" | ||
}, | ||
"sideEffects": false, | ||
"version": "3.0.7", | ||
"type": "module" | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
@@ -16,3 +16,5 @@ export const DappPackageManifestPayloadSchema = 'network.xyo.manifest.package.dapp' as const | ||
import type { ModuleManifest, NodeManifest, PackageManifest } from './Manifest.ts' | ||
import type { | ||
ModuleManifest, NodeManifest, PackageManifest, | ||
} from './Manifest.ts' | ||
@@ -19,0 +21,0 @@ export interface NodeManifestPayload extends NodeManifest { |
@@ -5,5 +5,3 @@ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3' | ||
browser: {}, | ||
neutral: { | ||
src: true, | ||
}, | ||
neutral: { src: true }, | ||
node: {}, | ||
@@ -10,0 +8,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23926
18
Updated@xylabs/hex@^4.0.3