@popmelt.com/core 0.8.8 → 0.8.10

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/dist/index.d.mts CHANGED
@@ -109,6 +109,13 @@ type SpacingTokenChange = {
109
109
  captured?: boolean;
110
110
  affectedElements: SpacingElementEvidence[];
111
111
  };
112
+ type AnnotationAttachment = {
113
+ id: string;
114
+ name: string;
115
+ mimeType: string;
116
+ size: number;
117
+ kind: 'svg' | 'text';
118
+ };
112
119
  type Annotation = {
113
120
  id: string;
114
121
  type: AnnotationType;
@@ -132,6 +139,7 @@ type Annotation = {
132
139
  linkedSelector?: string;
133
140
  linkedAnchor?: 'top-left' | 'bottom-left';
134
141
  imageCount?: number;
142
+ attachments?: AnnotationAttachment[];
135
143
  };
136
144
  type BridgeStatus = {
137
145
  ok: boolean;
@@ -158,6 +166,7 @@ type AnnotationData = {
158
166
  pathname?: string;
159
167
  elements: ElementInfo[];
160
168
  imageCount?: number;
169
+ attachments?: AnnotationAttachment[];
161
170
  };
162
171
  type FeedbackData = {
163
172
  timestamp: string;