@databutton/firebase-types 1.59.13 → 1.59.15

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.
@@ -250,12 +250,40 @@ export interface Frontend {
250
250
  staticAssetsPath?: string;
251
251
  }
252
252
  export declare const DefaultFrontendName = "App";
253
+ export declare enum StepState {
254
+ TODO = "todo",
255
+ IN_PROGRESS = "in-progress",
256
+ FAILED = "failed",
257
+ DONE = "done"
258
+ }
259
+ export interface Step {
260
+ id: string;
261
+ title: string;
262
+ description: string;
263
+ sequence: number;
264
+ state: StepState;
265
+ lastModifiedAt: Timestamp;
266
+ }
267
+ export interface CapabilityBase {
268
+ createdBy: PerformedBy;
269
+ markedForDeletionBy: PerformedBy | null;
270
+ stepsToComplete: Step[];
271
+ displayName: string;
272
+ shortDescription: string;
273
+ aiGeneratedSummary: string;
274
+ }
275
+ export interface EndpointCapability extends CapabilityBase {
276
+ type: "endpoint";
277
+ backendRef: string | null;
278
+ }
279
+ export type Capability = EndpointCapability;
253
280
  export interface Backend {
254
281
  name: string;
255
282
  slug: string;
256
283
  createdBy: PerformedBy;
257
284
  markedForDeletionBy: PerformedBy | null;
258
285
  codeBlockRef: string;
286
+ capabilityRef?: string;
259
287
  }
260
288
  export declare const DefaultBackendName = "functions";
261
289
  export interface Module {
@@ -511,6 +539,7 @@ export interface Project {
511
539
  buildingStage?: ProjectBuildStage;
512
540
  lifeStage: ProjectLifeStage;
513
541
  lifeStageUpdatedBy: PerformedBy;
542
+ aiGeneratedSummary?: string;
514
543
  /**
515
544
  * @deprecated No longer in use
516
545
  */
@@ -1,4 +1,11 @@
1
1
  export const DefaultFrontendName = "App";
2
+ export var StepState;
3
+ (function (StepState) {
4
+ StepState["TODO"] = "todo";
5
+ StepState["IN_PROGRESS"] = "in-progress";
6
+ StepState["FAILED"] = "failed";
7
+ StepState["DONE"] = "done";
8
+ })(StepState = StepState || (StepState = {}));
2
9
  export const DefaultBackendName = "functions";
3
10
  export var ScheduleState;
4
11
  (function (ScheduleState) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.59.13",
3
+ "version": "1.59.15",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {