@databutton/firebase-types 1.74.17 → 1.74.18

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.
@@ -124,6 +124,6 @@ export declare enum ThirdPartyServiceCategory {
124
124
  PAYMENTS = "payments",
125
125
  STORAGE = "storage"
126
126
  }
127
- export declare enum UiFileTag {
127
+ export declare enum UiComponentTag {
128
128
  PROVIDER = "provider"
129
129
  }
@@ -131,8 +131,8 @@ export var ThirdPartyServiceCategory;
131
131
  ThirdPartyServiceCategory["PAYMENTS"] = "payments";
132
132
  ThirdPartyServiceCategory["STORAGE"] = "storage";
133
133
  })(ThirdPartyServiceCategory = ThirdPartyServiceCategory || (ThirdPartyServiceCategory = {}));
134
- export var UiFileTag;
135
- (function (UiFileTag) {
136
- UiFileTag["PROVIDER"] = "provider";
137
- })(UiFileTag = UiFileTag || (UiFileTag = {}));
134
+ export var UiComponentTag;
135
+ (function (UiComponentTag) {
136
+ UiComponentTag["PROVIDER"] = "provider";
137
+ })(UiComponentTag = UiComponentTag || (UiComponentTag = {}));
138
138
  //# sourceMappingURL=enums.js.map
@@ -1,6 +1,6 @@
1
1
  import type { Timestamp } from "firebase/firestore";
2
2
  import type { JsonObject, Primitive } from "type-fest";
3
- import type { ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName, UiFileTag } from "./enums.js";
3
+ import type { ThirdPartyAuthName, ThirdPartyDatabaseName, ThirdPartyPaymentsName, ThirdPartyServiceCategory, ThirdPartyStorageName, UiComponentTag } from "./enums.js";
4
4
  /**
5
5
  * Types here should reflect data format stored in firestore and
6
6
  * either be backwards-compatible or migrated when needed
@@ -304,13 +304,13 @@ export interface UiComponent {
304
304
  markedForDeletionBy: PerformedBy | null;
305
305
  codeBlockRef: string;
306
306
  example?: string;
307
+ tags?: UiComponentTag[];
307
308
  }
308
309
  export interface UiFile {
309
310
  name: string;
310
311
  createdBy: PerformedBy;
311
312
  markedForDeletionBy: PerformedBy | null;
312
313
  codeBlockRef: string;
313
- tags?: UiFileTag[];
314
314
  }
315
315
  export declare enum StepState {
316
316
  TODO = "todo",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.74.17",
3
+ "version": "1.74.18",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {