artifactuse 0.2.2 → 0.2.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.
@@ -42,6 +42,7 @@ export function createArtifactuseStores(config?: {
42
42
  isFullscreen: boolean;
43
43
  openTabs: any[];
44
44
  tabViewModes: {};
45
+ forceEmptyView: boolean;
45
46
  };
46
47
  subscribe: (callback: any) => () => void;
47
48
  addArtifact: (artifact: any) => void;
@@ -57,6 +58,7 @@ export function createArtifactuseStores(config?: {
57
58
  setPanelOpen: (isOpen: any) => void;
58
59
  setViewMode: (mode: any) => void;
59
60
  setFullscreen: (isFullscreen: any) => void;
61
+ setForceEmptyView: (value: any) => void;
60
62
  openTab: (artifactId: any) => void;
61
63
  closeTab: (artifactId: any) => void;
62
64
  closeOtherTabs: (keepArtifactId: any) => void;
@@ -72,6 +74,7 @@ export function createArtifactuseStores(config?: {
72
74
  isFullscreen: boolean;
73
75
  openTabs: any[];
74
76
  tabViewModes: {};
77
+ forceEmptyView: boolean;
75
78
  };
76
79
  subscribe: (callback: any) => () => void;
77
80
  processMessage: (content: any, messageId: any, overrides?: {}) => {
@@ -109,6 +112,7 @@ export function createArtifactuseStores(config?: {
109
112
  createdAt: string;
110
113
  };
111
114
  updateFile: (artifactOrId: any, code: any, options?: {}) => any;
115
+ openPanel: () => void;
112
116
  closePanel: () => void;
113
117
  togglePanel: () => void;
114
118
  toggleFullscreen: () => void;
@@ -227,6 +231,7 @@ export function createArtifactuseStores(config?: {
227
231
  createdAt: string;
228
232
  };
229
233
  updateFile: (artifactOrId: any, code: any, options?: {}) => any;
234
+ openPanel: () => void;
230
235
  closePanel: () => void;
231
236
  togglePanel: () => void;
232
237
  toggleFullscreen: () => void;
@@ -274,6 +279,7 @@ export function setArtifactuseContext(config?: {}): {
274
279
  isFullscreen: boolean;
275
280
  openTabs: any[];
276
281
  tabViewModes: {};
282
+ forceEmptyView: boolean;
277
283
  };
278
284
  subscribe: (callback: any) => () => void;
279
285
  addArtifact: (artifact: any) => void;
@@ -289,6 +295,7 @@ export function setArtifactuseContext(config?: {}): {
289
295
  setPanelOpen: (isOpen: any) => void;
290
296
  setViewMode: (mode: any) => void;
291
297
  setFullscreen: (isFullscreen: any) => void;
298
+ setForceEmptyView: (value: any) => void;
292
299
  openTab: (artifactId: any) => void;
293
300
  closeTab: (artifactId: any) => void;
294
301
  closeOtherTabs: (keepArtifactId: any) => void;
@@ -304,6 +311,7 @@ export function setArtifactuseContext(config?: {}): {
304
311
  isFullscreen: boolean;
305
312
  openTabs: any[];
306
313
  tabViewModes: {};
314
+ forceEmptyView: boolean;
307
315
  };
308
316
  subscribe: (callback: any) => () => void;
309
317
  processMessage: (content: any, messageId: any, overrides?: {}) => {
@@ -341,6 +349,7 @@ export function setArtifactuseContext(config?: {}): {
341
349
  createdAt: string;
342
350
  };
343
351
  updateFile: (artifactOrId: any, code: any, options?: {}) => any;
352
+ openPanel: () => void;
344
353
  closePanel: () => void;
345
354
  togglePanel: () => void;
346
355
  toggleFullscreen: () => void;
@@ -459,6 +468,7 @@ export function setArtifactuseContext(config?: {}): {
459
468
  createdAt: string;
460
469
  };
461
470
  updateFile: (artifactOrId: any, code: any, options?: {}) => any;
471
+ openPanel: () => void;
462
472
  closePanel: () => void;
463
473
  togglePanel: () => void;
464
474
  toggleFullscreen: () => void;
@@ -499,6 +509,7 @@ export function useArtifactuse(config?: {}): {
499
509
  isFullscreen: boolean;
500
510
  openTabs: any[];
501
511
  tabViewModes: {};
512
+ forceEmptyView: boolean;
502
513
  };
503
514
  subscribe: (callback: any) => () => void;
504
515
  addArtifact: (artifact: any) => void;
@@ -514,6 +525,7 @@ export function useArtifactuse(config?: {}): {
514
525
  setPanelOpen: (isOpen: any) => void;
515
526
  setViewMode: (mode: any) => void;
516
527
  setFullscreen: (isFullscreen: any) => void;
528
+ setForceEmptyView: (value: any) => void;
517
529
  openTab: (artifactId: any) => void;
518
530
  closeTab: (artifactId: any) => void;
519
531
  closeOtherTabs: (keepArtifactId: any) => void;
@@ -529,6 +541,7 @@ export function useArtifactuse(config?: {}): {
529
541
  isFullscreen: boolean;
530
542
  openTabs: any[];
531
543
  tabViewModes: {};
544
+ forceEmptyView: boolean;
532
545
  };
533
546
  subscribe: (callback: any) => () => void;
534
547
  processMessage: (content: any, messageId: any, overrides?: {}) => {
@@ -566,6 +579,7 @@ export function useArtifactuse(config?: {}): {
566
579
  createdAt: string;
567
580
  };
568
581
  updateFile: (artifactOrId: any, code: any, options?: {}) => any;
582
+ openPanel: () => void;
569
583
  closePanel: () => void;
570
584
  togglePanel: () => void;
571
585
  toggleFullscreen: () => void;
@@ -684,6 +698,7 @@ export function useArtifactuse(config?: {}): {
684
698
  createdAt: string;
685
699
  };
686
700
  updateFile: (artifactOrId: any, code: any, options?: {}) => any;
701
+ openPanel: () => void;
687
702
  closePanel: () => void;
688
703
  togglePanel: () => void;
689
704
  toggleFullscreen: () => void;