artifactuse 0.2.3 → 0.2.5

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.
@@ -83,20 +83,7 @@ export function createArtifactuseStores(config?: {
83
83
  };
84
84
  initializeContent: (container?: Document) => Promise<void>;
85
85
  openArtifact: (artifact: any) => void;
86
- openFile: (filename: any, code: any, options?: {}) => {
87
- id: string;
88
- messageId: string;
89
- type: string;
90
- language: string;
91
- title: any;
92
- code: string;
93
- isInline: boolean;
94
- isPreviewable: boolean;
95
- isPanelArtifact: boolean;
96
- size: number;
97
- lineCount: number;
98
- createdAt: string;
99
- };
86
+ openFile: (filename: any, code: any, options?: {}) => any;
100
87
  openCode: (code: any, language: any, options?: {}) => {
101
88
  id: string;
102
89
  messageId: string;
@@ -202,20 +189,7 @@ export function createArtifactuseStores(config?: {
202
189
  };
203
190
  initializeContent: (container?: Document) => Promise<void>;
204
191
  openArtifact: (artifact: any) => void;
205
- openFile: (filename: any, code: any, options?: {}) => {
206
- id: string;
207
- messageId: string;
208
- type: string;
209
- language: string;
210
- title: any;
211
- code: string;
212
- isInline: boolean;
213
- isPreviewable: boolean;
214
- isPanelArtifact: boolean;
215
- size: number;
216
- lineCount: number;
217
- createdAt: string;
218
- };
192
+ openFile: (filename: any, code: any, options?: {}) => any;
219
193
  openCode: (code: any, language: any, options?: {}) => {
220
194
  id: string;
221
195
  messageId: string;
@@ -320,20 +294,7 @@ export function setArtifactuseContext(config?: {}): {
320
294
  };
321
295
  initializeContent: (container?: Document) => Promise<void>;
322
296
  openArtifact: (artifact: any) => void;
323
- openFile: (filename: any, code: any, options?: {}) => {
324
- id: string;
325
- messageId: string;
326
- type: string;
327
- language: string;
328
- title: any;
329
- code: string;
330
- isInline: boolean;
331
- isPreviewable: boolean;
332
- isPanelArtifact: boolean;
333
- size: number;
334
- lineCount: number;
335
- createdAt: string;
336
- };
297
+ openFile: (filename: any, code: any, options?: {}) => any;
337
298
  openCode: (code: any, language: any, options?: {}) => {
338
299
  id: string;
339
300
  messageId: string;
@@ -439,20 +400,7 @@ export function setArtifactuseContext(config?: {}): {
439
400
  };
440
401
  initializeContent: (container?: Document) => Promise<void>;
441
402
  openArtifact: (artifact: any) => void;
442
- openFile: (filename: any, code: any, options?: {}) => {
443
- id: string;
444
- messageId: string;
445
- type: string;
446
- language: string;
447
- title: any;
448
- code: string;
449
- isInline: boolean;
450
- isPreviewable: boolean;
451
- isPanelArtifact: boolean;
452
- size: number;
453
- lineCount: number;
454
- createdAt: string;
455
- };
403
+ openFile: (filename: any, code: any, options?: {}) => any;
456
404
  openCode: (code: any, language: any, options?: {}) => {
457
405
  id: string;
458
406
  messageId: string;
@@ -550,20 +498,7 @@ export function useArtifactuse(config?: {}): {
550
498
  };
551
499
  initializeContent: (container?: Document) => Promise<void>;
552
500
  openArtifact: (artifact: any) => void;
553
- openFile: (filename: any, code: any, options?: {}) => {
554
- id: string;
555
- messageId: string;
556
- type: string;
557
- language: string;
558
- title: any;
559
- code: string;
560
- isInline: boolean;
561
- isPreviewable: boolean;
562
- isPanelArtifact: boolean;
563
- size: number;
564
- lineCount: number;
565
- createdAt: string;
566
- };
501
+ openFile: (filename: any, code: any, options?: {}) => any;
567
502
  openCode: (code: any, language: any, options?: {}) => {
568
503
  id: string;
569
504
  messageId: string;
@@ -669,20 +604,7 @@ export function useArtifactuse(config?: {}): {
669
604
  };
670
605
  initializeContent: (container?: Document) => Promise<void>;
671
606
  openArtifact: (artifact: any) => void;
672
- openFile: (filename: any, code: any, options?: {}) => {
673
- id: string;
674
- messageId: string;
675
- type: string;
676
- language: string;
677
- title: any;
678
- code: string;
679
- isInline: boolean;
680
- isPreviewable: boolean;
681
- isPanelArtifact: boolean;
682
- size: number;
683
- lineCount: number;
684
- createdAt: string;
685
- };
607
+ openFile: (filename: any, code: any, options?: {}) => any;
686
608
  openCode: (code: any, language: any, options?: {}) => {
687
609
  id: string;
688
610
  messageId: string;