view-contracts 0.5.15 → 0.5.17
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/cli-contract.yaml +1 -1
- package/dist/preview.mjs +1 -1
- package/dist/preview.mjs.map +3 -3
- package/dist/types/src/schema/loadSchema.d.ts +5 -0
- package/dist/view-contracts.bundle.mjs +69 -69
- package/dist/view-contracts.bundle.mjs.map +3 -3
- package/docs/cli-reference.md +1 -1
- package/package.json +7 -9
- package/renderers/react/runtime/dispatch.ts +6 -2
- package/renderers/react/templates/dispatch.ts.hbs +6 -2
|
@@ -2,6 +2,11 @@ import type { UiDslSchema } from './types.js';
|
|
|
2
2
|
export type { UiDslSchema } from './types.js';
|
|
3
3
|
export { elementProps, propertyAppliesTo } from './dsl-catalog.js';
|
|
4
4
|
export declare const DEFAULT_SCHEMA_PATH = "spec/ui-dsl.schema.json";
|
|
5
|
+
export interface PackageManifest {
|
|
6
|
+
version: string;
|
|
7
|
+
peerDependencies: Record<string, string>;
|
|
8
|
+
}
|
|
9
|
+
export declare function loadPackageManifest(root?: string): Promise<PackageManifest>;
|
|
5
10
|
export declare function loadPackageVersion(root?: string): Promise<string>;
|
|
6
11
|
export declare function loadUiDslSchema(schemaPath?: string): Promise<UiDslSchema>;
|
|
7
12
|
export declare function allComponentNames(): string[];
|