@roughapp/feature 0.3.0 → 0.4.0

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.
Files changed (3) hide show
  1. package/index.d.ts +10 -1
  2. package/index.js +62 -17
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -284,13 +284,22 @@ type SpriteId = string & { __brand: 'public.sprite' };
284
284
  /** Identifier type for public.sprite_build */
285
285
  type SpriteBuildId = string & { __brand: 'public.sprite_build' };
286
286
 
287
+ declare global {
288
+ var __TANSTACK_EVENT_TARGET__: EventTarget | null;
289
+ }
290
+
291
+ declare global {
292
+ var __TANSTACK_AI_DEVTOOLS_RUNTIME_ID__: string | undefined;
293
+ }
294
+
287
295
  type SpriteBuild = {
288
296
  id: SpriteBuildId;
289
297
  spriteId: SpriteId;
290
298
  parentSpriteBuildId: SpriteBuildId | null;
291
299
  createdByPersonId: PersonId;
292
300
  prompt: string;
293
- status: 'PENDING' | 'IN_PROGRESS' | 'READY' | 'ERROR';
301
+ status: 'PENDING' | 'IN_PROGRESS' | 'READY' | 'ERROR' | 'CANCELED';
302
+ cancelRequestedAt: number | null;
294
303
  artifactUrl: string | null;
295
304
  sourceUrl: string | null;
296
305
  startedAt: number | null;