@ryuhq/sdk-native 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
/** Validate a plugin id (reverse-domain, path-traversal-safe). Throws on invalid. */
|
|
7
7
|
export declare function validatePluginId(id: string): void
|
|
8
8
|
/**
|
|
9
|
-
* Parse and fully validate a `
|
|
9
|
+
* Parse and fully validate a `manifest.json` string (id, semver, per-kind
|
|
10
10
|
* runnable contracts). Returns the normalized manifest JSON, or throws.
|
|
11
11
|
*/
|
|
12
12
|
export declare function parseAndValidateManifest(json: string): string
|
|
13
13
|
/**
|
|
14
|
-
* The JSON Schema for a `
|
|
14
|
+
* The JSON Schema for a `manifest.json`, as a JSON string. Derived from the Rust
|
|
15
15
|
* types, so it never drifts from what the core validates.
|
|
16
16
|
*/
|
|
17
17
|
export declare function pluginManifestJsonSchema(): string
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|