artifactuse 0.1.23 → 0.1.25
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/README.md +48 -3
- package/dist/core/index.d.ts +1 -0
- package/dist/{index-BR2-i8NP.js → index-Bzk5VnG1.js} +1411 -1368
- package/dist/index.js +1 -1
- package/dist/react/index.js +151 -146
- package/dist/svelte/index.d.ts +6 -0
- package/dist/svelte/index.js +397 -392
- package/dist/vue/index.d.ts +4 -0
- package/dist/vue/index.js +9 -3
- package/dist/vue2/composables.d.ts +4 -0
- package/dist/vue2/index.js +72 -11
- package/package.json +1 -1
package/dist/svelte/index.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export function createArtifactuseStores(config?: {
|
|
|
100
100
|
lineCount: number;
|
|
101
101
|
createdAt: string;
|
|
102
102
|
};
|
|
103
|
+
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
103
104
|
closePanel: () => void;
|
|
104
105
|
togglePanel: () => void;
|
|
105
106
|
toggleFullscreen: () => void;
|
|
@@ -214,6 +215,7 @@ export function createArtifactuseStores(config?: {
|
|
|
214
215
|
lineCount: number;
|
|
215
216
|
createdAt: string;
|
|
216
217
|
};
|
|
218
|
+
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
217
219
|
closePanel: () => void;
|
|
218
220
|
togglePanel: () => void;
|
|
219
221
|
toggleFullscreen: () => void;
|
|
@@ -316,6 +318,7 @@ export function setArtifactuseContext(config?: {}): {
|
|
|
316
318
|
lineCount: number;
|
|
317
319
|
createdAt: string;
|
|
318
320
|
};
|
|
321
|
+
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
319
322
|
closePanel: () => void;
|
|
320
323
|
togglePanel: () => void;
|
|
321
324
|
toggleFullscreen: () => void;
|
|
@@ -430,6 +433,7 @@ export function setArtifactuseContext(config?: {}): {
|
|
|
430
433
|
lineCount: number;
|
|
431
434
|
createdAt: string;
|
|
432
435
|
};
|
|
436
|
+
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
433
437
|
closePanel: () => void;
|
|
434
438
|
togglePanel: () => void;
|
|
435
439
|
toggleFullscreen: () => void;
|
|
@@ -525,6 +529,7 @@ export function useArtifactuse(config?: {}): {
|
|
|
525
529
|
lineCount: number;
|
|
526
530
|
createdAt: string;
|
|
527
531
|
};
|
|
532
|
+
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
528
533
|
closePanel: () => void;
|
|
529
534
|
togglePanel: () => void;
|
|
530
535
|
toggleFullscreen: () => void;
|
|
@@ -639,6 +644,7 @@ export function useArtifactuse(config?: {}): {
|
|
|
639
644
|
lineCount: number;
|
|
640
645
|
createdAt: string;
|
|
641
646
|
};
|
|
647
|
+
updateFile: (artifactOrId: any, code: any, options?: {}) => any;
|
|
642
648
|
closePanel: () => void;
|
|
643
649
|
togglePanel: () => void;
|
|
644
650
|
toggleFullscreen: () => void;
|