@hot-updater/plugin-core 1.0.0-rc.1 → 1.0.0-rc.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.
Files changed (159) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +1 -1
  2. package/dist/assetStorageLayout.cjs +4 -2
  3. package/dist/assetStorageLayout.d.cts +5 -24
  4. package/dist/assetStorageLayout.d.mts +5 -24
  5. package/dist/assetStorageLayout.mjs +4 -2
  6. package/dist/bundleStorageLayout.cjs +7 -0
  7. package/dist/bundleStorageLayout.d.cts +5 -1
  8. package/dist/bundleStorageLayout.d.mts +5 -1
  9. package/dist/bundleStorageLayout.mjs +7 -1
  10. package/dist/calculatePagination.d.cts +0 -1
  11. package/dist/calculatePagination.d.mts +0 -1
  12. package/dist/contentAddressedAssets.d.cts +1 -4
  13. package/dist/contentAddressedAssets.d.mts +1 -4
  14. package/dist/contentType.cjs +9 -0
  15. package/dist/contentType.d.cts +4 -0
  16. package/dist/contentType.d.mts +4 -0
  17. package/dist/contentType.mjs +7 -0
  18. package/dist/createDatabasePlugin.cjs +118 -42
  19. package/dist/createDatabasePlugin.d.cts +3 -1
  20. package/dist/createDatabasePlugin.d.mts +3 -1
  21. package/dist/createDatabasePlugin.mjs +118 -43
  22. package/dist/createStoragePlugin.d.cts +0 -1
  23. package/dist/createStoragePlugin.d.mts +0 -1
  24. package/dist/databaseClient.cjs +6 -1
  25. package/dist/databaseClient.d.cts +1 -2
  26. package/dist/databaseClient.d.mts +1 -2
  27. package/dist/databaseClient.mjs +6 -2
  28. package/dist/databaseClientReads.cjs +3 -1
  29. package/dist/databaseClientReads.mjs +3 -2
  30. package/dist/databaseClientUpdates.cjs +2 -4
  31. package/dist/databaseClientUpdates.d.cts +1 -1
  32. package/dist/databaseClientUpdates.d.mts +1 -1
  33. package/dist/databaseClientUpdates.mjs +2 -3
  34. package/dist/databaseJsonValue.cjs +4 -0
  35. package/dist/databaseJsonValue.d.cts +4 -2
  36. package/dist/databaseJsonValue.d.mts +4 -2
  37. package/dist/databaseJsonValue.mjs +2 -1
  38. package/dist/databaseMetadata.cjs +0 -1
  39. package/dist/databasePluginCrud.cjs +1 -0
  40. package/dist/databasePluginCrud.d.cts +4 -1
  41. package/dist/databasePluginCrud.d.mts +4 -1
  42. package/dist/databasePluginCrud.mjs +1 -1
  43. package/dist/databasePluginCrudValidation.d.cts +6 -1
  44. package/dist/databasePluginCrudValidation.d.mts +6 -1
  45. package/dist/databasePluginCrudValidationErrors.cjs +1 -0
  46. package/dist/databasePluginCrudValidationErrors.mjs +1 -0
  47. package/dist/databasePluginCrudValidationFields.cjs +24 -31
  48. package/dist/databasePluginCrudValidationFields.d.cts +1 -1
  49. package/dist/databasePluginCrudValidationFields.d.mts +1 -1
  50. package/dist/databasePluginCrudValidationFields.mjs +23 -32
  51. package/dist/databasePluginCrudValidationMutations.cjs +1 -1
  52. package/dist/databasePluginCrudValidationMutations.d.cts +1 -1
  53. package/dist/databasePluginCrudValidationMutations.d.mts +1 -1
  54. package/dist/databasePluginCrudValidationMutations.mjs +1 -1
  55. package/dist/databasePluginCrudValidationQueries.d.cts +2 -1
  56. package/dist/databasePluginCrudValidationQueries.d.mts +2 -1
  57. package/dist/databasePluginCrudValidationRows.cjs +2 -2
  58. package/dist/databasePluginCrudValidationRows.d.cts +1 -1
  59. package/dist/databasePluginCrudValidationRows.d.mts +1 -1
  60. package/dist/databasePluginCrudValidationRows.mjs +2 -2
  61. package/dist/databaseRows.cjs +0 -7
  62. package/dist/databaseRows.d.cts +2 -6
  63. package/dist/databaseRows.d.mts +2 -6
  64. package/dist/databaseRows.mjs +0 -6
  65. package/dist/index.cjs +8 -6
  66. package/dist/index.d.cts +7 -6
  67. package/dist/index.d.mts +7 -6
  68. package/dist/index.mjs +5 -4
  69. package/dist/insightsContract.cjs +192 -0
  70. package/dist/insightsContract.d.cts +9 -0
  71. package/dist/insightsContract.d.mts +9 -0
  72. package/dist/insightsContract.mjs +189 -0
  73. package/dist/insightsDistinctSummary.cjs +72 -0
  74. package/dist/insightsDistinctSummary.d.cts +12 -0
  75. package/dist/insightsDistinctSummary.d.mts +12 -0
  76. package/dist/insightsDistinctSummary.mjs +68 -0
  77. package/dist/insightsLatestQueries.cjs +53 -0
  78. package/dist/insightsLatestQueries.d.cts +13 -0
  79. package/dist/insightsLatestQueries.d.mts +13 -0
  80. package/dist/insightsLatestQueries.mjs +52 -0
  81. package/dist/insightsOverview.cjs +139 -0
  82. package/dist/insightsOverview.d.cts +40 -0
  83. package/dist/insightsOverview.d.mts +40 -0
  84. package/dist/insightsOverview.mjs +135 -0
  85. package/dist/internal.cjs +15 -0
  86. package/dist/internal.d.cts +7 -3
  87. package/dist/internal.d.mts +7 -3
  88. package/dist/internal.mjs +4 -1
  89. package/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/comparison-DenM3wCn.cjs +136 -0
  90. package/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/comparison-DenM3wCn.mjs +116 -0
  91. package/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/range-DvX-Y6iv.cjs +167 -0
  92. package/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/range-DvX-Y6iv.mjs +165 -0
  93. package/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/set-CC5YeoYX.cjs +42 -0
  94. package/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/set-CC5YeoYX.mjs +39 -0
  95. package/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/version-CQ98ZBpL.cjs +39 -0
  96. package/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/version-CQ98ZBpL.mjs +37 -0
  97. package/dist/paginateBundles.d.cts +1 -8
  98. package/dist/paginateBundles.d.mts +1 -8
  99. package/dist/parseStorageUri.d.cts +1 -5
  100. package/dist/parseStorageUri.d.mts +1 -5
  101. package/dist/queryBundles.d.cts +0 -1
  102. package/dist/queryBundles.d.mts +0 -1
  103. package/dist/releaseCatalogCompiler.cjs +15 -12
  104. package/dist/releaseCatalogCompiler.d.cts +0 -1
  105. package/dist/releaseCatalogCompiler.d.mts +0 -1
  106. package/dist/releaseCatalogCompiler.mjs +11 -7
  107. package/dist/releaseCatalogMutation.cjs +1 -1
  108. package/dist/releaseCatalogMutation.d.cts +1 -1
  109. package/dist/releaseCatalogMutation.d.mts +1 -1
  110. package/dist/releaseCatalogMutation.mjs +1 -0
  111. package/dist/releaseManagement.cjs +3 -2
  112. package/dist/releaseManagement.d.cts +1 -1
  113. package/dist/releaseManagement.d.mts +1 -1
  114. package/dist/releaseManagement.mjs +3 -1
  115. package/dist/remoteBundleSigning.cjs +4 -4
  116. package/dist/remoteBundleSigning.d.cts +2 -13
  117. package/dist/remoteBundleSigning.d.mts +2 -13
  118. package/dist/remoteBundleSigning.mjs +4 -4
  119. package/dist/requestBundleCache.d.cts +1 -2
  120. package/dist/requestBundleCache.d.mts +1 -2
  121. package/dist/semverSatisfies.cjs +4 -3
  122. package/dist/semverSatisfies.mjs +2 -1
  123. package/dist/storageDownloadPath.cjs +2 -1
  124. package/dist/storageDownloadPath.d.cts +1 -3
  125. package/dist/storageDownloadPath.d.mts +1 -3
  126. package/dist/storageDownloadPath.mjs +2 -1
  127. package/dist/types/database.d.cts +4 -3
  128. package/dist/types/database.d.mts +4 -3
  129. package/dist/types/databaseFields.cjs +1 -8
  130. package/dist/types/databaseFields.d.cts +2 -2
  131. package/dist/types/databaseFields.d.mts +2 -2
  132. package/dist/types/databaseFields.mjs +1 -8
  133. package/dist/types/databaseOperations.d.cts +17 -12
  134. package/dist/types/databaseOperations.d.mts +17 -12
  135. package/dist/types/databasePlugin.d.cts +159 -11
  136. package/dist/types/databasePlugin.d.mts +159 -11
  137. package/dist/types/databaseQuery.d.cts +2 -3
  138. package/dist/types/databaseQuery.d.mts +2 -3
  139. package/dist/types/databaseRows.d.cts +19 -17
  140. package/dist/types/databaseRows.d.mts +19 -17
  141. package/dist/types/index.d.cts +12 -20
  142. package/dist/types/index.d.mts +12 -20
  143. package/dist/types/internal.d.cts +4 -3
  144. package/dist/types/internal.d.mts +4 -3
  145. package/dist/types/public.d.cts +4 -3
  146. package/dist/types/public.d.mts +4 -3
  147. package/dist/types/utils.d.cts +1 -1
  148. package/dist/types/utils.d.mts +1 -1
  149. package/dist/uuidv7.cjs +7 -2
  150. package/dist/uuidv7.d.cts +0 -1
  151. package/dist/uuidv7.d.mts +0 -1
  152. package/dist/uuidv7.mjs +1 -1
  153. package/package.json +4 -4
  154. package/dist/compressionFormat.cjs +0 -55
  155. package/dist/compressionFormat.d.cts +0 -33
  156. package/dist/compressionFormat.d.mts +0 -33
  157. package/dist/compressionFormat.mjs +0 -51
  158. package/dist/node_modules/.pnpm/verkit@0.3.2/node_modules/verkit/dist/index.cjs +0 -345
  159. package/dist/node_modules/.pnpm/verkit@0.3.2/node_modules/verkit/dist/index.mjs +0 -341
@@ -1,7 +1,6 @@
1
1
  import { ApiKeyRow, BundleEventRow, BundlePatchRow, BundleRow, ChannelRow, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.mjs";
2
2
  import { BundleRowUpdate, ReleaseRowUpdate } from "./databaseOperations.mjs";
3
3
  import { DatabaseBundleQueryOrder, DatabaseBundleQueryWhere } from "./index.mjs";
4
-
5
4
  //#region src/types/databasePlugin.d.ts
6
5
  interface BundleModelQuery {
7
6
  readonly where?: DatabaseBundleQueryWhere;
@@ -43,18 +42,171 @@ interface ReleaseCatalogModel {
43
42
  readonly limit: number;
44
43
  }): Promise<readonly ReleaseCatalogRow[]>;
45
44
  }
46
- interface InsightsScanCursor {
45
+ interface InsightsEventCursor {
47
46
  readonly receivedAtMs: number;
48
47
  readonly id: string;
49
48
  }
50
- interface InsightsScanInput {
49
+ interface InsightsScope {
50
+ readonly platform: "ios" | "android";
51
+ readonly channel: string;
52
+ }
53
+ /** Raw event predicates; recovery is attributed to the source bundle. */
54
+ type InsightsBundleEventFilter = InsightsScope & ({
55
+ readonly type: "RECOVERED";
56
+ readonly fromBundleId: string;
57
+ } | {
58
+ readonly type: "UPDATE_DOWNLOADED" | "UPDATE_APPLIED" | "UNCHANGED";
59
+ readonly toBundleId: string;
60
+ });
61
+ type InsightsEventFilter = {
62
+ readonly kind: "all";
63
+ } | {
64
+ readonly kind: "installationMovement";
65
+ readonly installId: string;
66
+ } | ({
67
+ readonly kind: "bundle";
68
+ } & InsightsBundleEventFilter);
69
+ interface InsightsRecordEventInput {
70
+ readonly event: BundleEventRow;
71
+ }
72
+ interface InsightsListEventsInput {
73
+ readonly filter: InsightsEventFilter;
74
+ readonly sinceMs?: number;
51
75
  readonly beforeReceivedAtMs: number;
52
- readonly after?: InsightsScanCursor;
76
+ readonly after?: InsightsEventCursor;
53
77
  readonly limit: number;
54
78
  }
79
+ type InsightsFindLatestEventsInput = {
80
+ readonly installId: string;
81
+ } | {
82
+ readonly userId: string;
83
+ readonly afterInstallId?: string;
84
+ readonly limit: number;
85
+ };
86
+ interface InsightsCountLatestEventsInput extends InsightsScope {
87
+ readonly sinceMs: number;
88
+ /** Optional OR of one or two fixed predicates; count a matching event once. */
89
+ readonly bundle?: readonly {
90
+ readonly field: "from_bundle_id" | "to_bundle_id";
91
+ readonly value: string;
92
+ readonly types: readonly BundleEventRow["type"][];
93
+ }[];
94
+ }
95
+ interface InsightsCountEventsInput {
96
+ readonly filter: InsightsBundleEventFilter;
97
+ readonly sinceMs: number;
98
+ readonly beforeReceivedAtMs: number;
99
+ }
100
+ interface ReleaseReference {
101
+ readonly releaseId: string;
102
+ readonly platform: "ios" | "android";
103
+ readonly channel: string;
104
+ }
105
+ interface InsightsTimeRange {
106
+ /** Inclusive UTC Unix timestamp in milliseconds. */
107
+ readonly start: number;
108
+ /** Exclusive UTC Unix timestamp in milliseconds. */
109
+ readonly end: number;
110
+ }
111
+ type InsightsCoverage = {
112
+ readonly kind: "complete";
113
+ readonly sinceMs: number;
114
+ } | {
115
+ readonly kind: "partial";
116
+ readonly sinceMs: number | null;
117
+ };
118
+ interface ReleaseActivityMetrics {
119
+ readonly downloads: number;
120
+ readonly launches: number;
121
+ readonly failedLaunches: number;
122
+ /** Omitted for lifetime-only bundle-row reads. */
123
+ readonly uniqueUsers?: number;
124
+ /** Daily points, present only for period reads. */
125
+ readonly series?: readonly {
126
+ readonly startMs: number;
127
+ readonly launches: number;
128
+ readonly failedLaunches: number;
129
+ }[];
130
+ }
131
+ type InsightsGetReleaseActivityInput = {
132
+ readonly releases: readonly ReleaseReference[];
133
+ readonly timeRange?: InsightsTimeRange;
134
+ readonly scope?: never;
135
+ } | {
136
+ readonly scope: InsightsScope;
137
+ readonly timeRange: InsightsTimeRange;
138
+ readonly releases?: never;
139
+ };
140
+ interface InsightsGetReleaseActivityResult {
141
+ readonly coverage: InsightsCoverage;
142
+ readonly data: readonly {
143
+ readonly release?: ReleaseReference;
144
+ readonly scope?: InsightsScope;
145
+ readonly metrics: ReleaseActivityMetrics;
146
+ }[];
147
+ readonly measuredAtMs: number;
148
+ }
149
+ interface InsightsGetAppUsageInput {
150
+ readonly channel: string;
151
+ readonly platform: "all" | "ios" | "android";
152
+ readonly appVersion?: string;
153
+ readonly timeRange: InsightsTimeRange;
154
+ readonly intervalMs: number;
155
+ }
156
+ interface InsightsGetAppUsageResult {
157
+ readonly coverage: InsightsCoverage;
158
+ readonly activeInstallations: number;
159
+ readonly points: readonly {
160
+ readonly startMs: number;
161
+ readonly installations: number;
162
+ }[];
163
+ readonly appVersions: readonly string[];
164
+ readonly versions: readonly {
165
+ readonly name: string;
166
+ readonly installations: number;
167
+ }[];
168
+ readonly platforms: readonly {
169
+ readonly name: string;
170
+ readonly installations: number;
171
+ }[];
172
+ readonly bundleDistribution: readonly {
173
+ readonly appVersion: string;
174
+ readonly platform: "ios" | "android";
175
+ readonly releaseId: string | null;
176
+ readonly installations: number;
177
+ }[];
178
+ readonly measuredAtMs: number;
179
+ }
55
180
  interface InsightsModel {
56
- append(row: BundleEventRow): Promise<void>;
57
- scan(input: InsightsScanInput): Promise<readonly BundleEventRow[]>;
181
+ /**
182
+ * Persist the immutable event once. A private latest-event index, if used,
183
+ * advances atomically for a greater (received_at_ms, id). Duplicate event
184
+ * IDs are complete no-ops.
185
+ * Retry the identical prepared input after an ambiguous commit outcome.
186
+ */
187
+ recordEvent(input: InsightsRecordEventInput): Promise<void>;
188
+ /**
189
+ * Descending (received_at_ms, id), in [sinceMs ?? 0, beforeReceivedAtMs).
190
+ * Apply filters and the exclusive cursor before limit (1..101). Return the
191
+ * complete matching prefix; native continuation pages must not truncate it.
192
+ */
193
+ listEvents(input: InsightsListEventsInput): Promise<readonly BundleEventRow[]>;
194
+ /**
195
+ * Choose each installation's greatest (received_at_ms, id) before filtering.
196
+ * Exact installation lookup returns zero or one canonical event. User lookup
197
+ * returns current membership ordered by UTF-8 installation ID, exclusive
198
+ * afterInstallId and limit 1..101. Check lagging index candidates against
199
+ * canonical state; newly indexed associations may temporarily be absent.
200
+ */
201
+ findLatestEvents(input: InsightsFindLatestEventsInput): Promise<readonly BundleEventRow[]>;
202
+ /** Count latest events once per installation, then apply the supplied predicates. */
203
+ countLatestEvents(input: InsightsCountLatestEventsInput): Promise<number>;
204
+ /** Count accepted reports in [sinceMs, beforeReceivedAtMs), across all pages. */
205
+ countEvents(input: InsightsCountEventsInput): Promise<number>;
206
+ /** Read maintained release/scope summaries without scanning raw events. */
207
+ getReleaseActivity(input: InsightsGetReleaseActivityInput): Promise<InsightsGetReleaseActivityResult>;
208
+ /** Read maintained App usage summaries and latest-report distribution. */
209
+ getAppUsage(input: InsightsGetAppUsageInput): Promise<InsightsGetAppUsageResult>;
58
210
  }
59
211
  interface ApiKeyModel {
60
212
  create(row: ApiKeyRow): Promise<"created" | "existing">;
@@ -148,10 +300,6 @@ type DatabaseChange = {
148
300
  readonly where: {
149
301
  readonly id: string;
150
302
  };
151
- } | {
152
- readonly model: "insights";
153
- readonly operation: "insert";
154
- readonly row: BundleEventRow;
155
303
  } | {
156
304
  readonly model: "apiKeys";
157
305
  readonly operation: "insert";
@@ -237,4 +385,4 @@ interface DatabasePlugin {
237
385
  dispose?: () => Promise<void>;
238
386
  }
239
387
  //#endregion
240
- export { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsModel, InsightsScanCursor, InsightsScanInput, ReleaseCatalogModel, ReleaseModel };
388
+ export { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseModel, ReleaseReference };
@@ -1,5 +1,4 @@
1
1
  import { DatabaseField, DatabaseModel, DatabaseRow } from "./databaseRows.cjs";
2
-
3
2
  //#region src/types/databaseQuery.d.ts
4
3
  type DatabaseWhereOperator = "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "in" | "not_in" | "contains" | "starts_with" | "ends_with";
5
4
  type DatabaseWhereConnector = "AND" | "OR";
@@ -28,10 +27,10 @@ type SetWhere<TField extends string, TValue extends boolean | number | string> =
28
27
  };
29
28
  type ScalarWhereValue<TValue> = unknown extends TValue ? never : Extract<TValue, readonly unknown[] | object> extends never ? Extract<TValue, boolean | number | string | null> : never;
30
29
  type FieldWhere<TField extends string, TValue> = ([ScalarWhereValue<TValue>] extends [never] ? never : EqualityWhere<TField, ScalarWhereValue<TValue>>) | (Extract<TValue, string> extends never ? never : StringWhere<TField>) | (Extract<TValue, number | string> extends never ? never : OrderedWhere<TField, Extract<TValue, number | string>>) | (Extract<TValue, boolean | number | string> extends never ? never : SetWhere<TField, Extract<TValue, boolean | number | string>>);
31
- type DatabaseWhere<TModel extends DatabaseModel> = { readonly [TField in DatabaseField<TModel>]: FieldWhere<TField, DatabaseRow<TModel>[TField]> }[DatabaseField<TModel>];
30
+ type DatabaseWhere<TModel extends DatabaseModel> = { readonly [TField in DatabaseField<TModel>]: FieldWhere<TField, DatabaseRow<TModel>[TField]>; }[DatabaseField<TModel>];
32
31
  type DatabaseSelect<TModel extends DatabaseModel> = readonly DatabaseField<TModel>[];
33
32
  type SelectedDatabaseRow<TModel extends DatabaseModel, TSelect extends DatabaseSelect<TModel> | undefined> = TSelect extends DatabaseSelect<TModel> ? Pick<DatabaseRow<TModel>, TSelect[number]> : DatabaseRow<TModel>;
34
- type DatabaseSortableField<TModel extends DatabaseModel> = { readonly [TField in DatabaseField<TModel>]: Exclude<DatabaseRow<TModel>[TField], null> extends number | string ? TField : never }[DatabaseField<TModel>];
33
+ type DatabaseSortableField<TModel extends DatabaseModel> = { readonly [TField in DatabaseField<TModel>]: Exclude<DatabaseRow<TModel>[TField], null> extends number | string ? TField : never; }[DatabaseField<TModel>];
35
34
  interface DatabaseSortClause<TModel extends DatabaseModel> {
36
35
  readonly field: DatabaseSortableField<TModel>;
37
36
  readonly direction: "asc" | "desc";
@@ -1,5 +1,4 @@
1
1
  import { DatabaseField, DatabaseModel, DatabaseRow } from "./databaseRows.mjs";
2
-
3
2
  //#region src/types/databaseQuery.d.ts
4
3
  type DatabaseWhereOperator = "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "in" | "not_in" | "contains" | "starts_with" | "ends_with";
5
4
  type DatabaseWhereConnector = "AND" | "OR";
@@ -28,10 +27,10 @@ type SetWhere<TField extends string, TValue extends boolean | number | string> =
28
27
  };
29
28
  type ScalarWhereValue<TValue> = unknown extends TValue ? never : Extract<TValue, readonly unknown[] | object> extends never ? Extract<TValue, boolean | number | string | null> : never;
30
29
  type FieldWhere<TField extends string, TValue> = ([ScalarWhereValue<TValue>] extends [never] ? never : EqualityWhere<TField, ScalarWhereValue<TValue>>) | (Extract<TValue, string> extends never ? never : StringWhere<TField>) | (Extract<TValue, number | string> extends never ? never : OrderedWhere<TField, Extract<TValue, number | string>>) | (Extract<TValue, boolean | number | string> extends never ? never : SetWhere<TField, Extract<TValue, boolean | number | string>>);
31
- type DatabaseWhere<TModel extends DatabaseModel> = { readonly [TField in DatabaseField<TModel>]: FieldWhere<TField, DatabaseRow<TModel>[TField]> }[DatabaseField<TModel>];
30
+ type DatabaseWhere<TModel extends DatabaseModel> = { readonly [TField in DatabaseField<TModel>]: FieldWhere<TField, DatabaseRow<TModel>[TField]>; }[DatabaseField<TModel>];
32
31
  type DatabaseSelect<TModel extends DatabaseModel> = readonly DatabaseField<TModel>[];
33
32
  type SelectedDatabaseRow<TModel extends DatabaseModel, TSelect extends DatabaseSelect<TModel> | undefined> = TSelect extends DatabaseSelect<TModel> ? Pick<DatabaseRow<TModel>, TSelect[number]> : DatabaseRow<TModel>;
34
- type DatabaseSortableField<TModel extends DatabaseModel> = { readonly [TField in DatabaseField<TModel>]: Exclude<DatabaseRow<TModel>[TField], null> extends number | string ? TField : never }[DatabaseField<TModel>];
33
+ type DatabaseSortableField<TModel extends DatabaseModel> = { readonly [TField in DatabaseField<TModel>]: Exclude<DatabaseRow<TModel>[TField], null> extends number | string ? TField : never; }[DatabaseField<TModel>];
35
34
  interface DatabaseSortClause<TModel extends DatabaseModel> {
36
35
  readonly field: DatabaseSortableField<TModel>;
37
36
  readonly direction: "asc" | "desc";
@@ -1,5 +1,4 @@
1
1
  import { Platform } from "@hot-updater/core";
2
-
3
2
  //#region src/types/databaseRows.d.ts
4
3
  type DatabaseJsonValue = boolean | number | string | null | readonly DatabaseJsonValue[] | DatabaseJsonObject;
5
4
  type DatabaseJsonObject = {
@@ -11,14 +10,11 @@ type DatabaseBundleMetadata = DatabaseJsonObject & {
11
10
  interface BundleRow {
12
11
  readonly id: string;
13
12
  readonly platform: Platform;
14
- readonly file_hash: string;
15
13
  readonly git_commit_hash: string | null;
16
- readonly storage_uri: string;
17
- readonly archive_byte_size: number;
18
14
  readonly metadata: DatabaseBundleMetadata;
19
- readonly manifest_storage_uri: string | null;
20
- readonly manifest_file_hash: string | null;
21
- readonly asset_base_storage_uri: string | null;
15
+ readonly manifest_storage_uri: string;
16
+ readonly manifest_file_hash: string;
17
+ readonly asset_base_storage_uri: string;
22
18
  }
23
19
  interface BundlePatchRow {
24
20
  readonly id: string;
@@ -70,30 +66,36 @@ interface ChannelRow {
70
66
  readonly id: string;
71
67
  readonly name: string;
72
68
  }
69
+ /** Ancillary report data; queryable identity and lifecycle fields stay on the row. */
70
+ type DatabaseBundleEventMetadata = DatabaseJsonObject & {
71
+ readonly username: string | null;
72
+ readonly cohort: string;
73
+ readonly update_strategy: "fingerprint" | "appVersion" | null;
74
+ readonly fingerprint_hash: string | null;
75
+ readonly sdk_version: string | null;
76
+ };
73
77
  type BundleEventRowBase = {
74
78
  readonly id: string;
75
79
  readonly install_id: string;
76
80
  readonly user_id: string | null;
77
- readonly username: string | null;
78
81
  readonly from_release_id: string | null;
79
82
  readonly to_release_id: string | null;
80
83
  readonly to_bundle_id: string;
81
84
  readonly platform: Platform;
82
85
  readonly app_version: string;
83
86
  readonly channel: string;
84
- readonly cohort: string;
85
- readonly fingerprint_hash: string | null;
86
- readonly sdk_version: string | null;
87
+ readonly metadata: DatabaseBundleEventMetadata;
87
88
  readonly received_at_ms: number;
88
89
  };
89
- type BundleEventRow = (BundleEventRowBase & {
90
- readonly type: "UPDATE_APPLIED" | "RECOVERED" | "RELEASE_ADOPTED";
90
+ type BundleEventRow = BundleEventRowBase & ({
91
+ readonly type: "UPDATE_DOWNLOADED";
92
+ readonly from_bundle_id: string;
93
+ } | {
94
+ readonly type: "UPDATE_APPLIED" | "RECOVERED";
91
95
  readonly from_bundle_id: string;
92
- readonly update_strategy: "fingerprint" | "appVersion";
93
- }) | (BundleEventRowBase & {
96
+ } | {
94
97
  readonly type: "UNCHANGED";
95
98
  readonly from_bundle_id: null;
96
- readonly update_strategy: null;
97
99
  });
98
100
  interface ApiKeyRow {
99
101
  readonly id: string;
@@ -117,4 +119,4 @@ type DatabaseModel = keyof DatabaseModelMap;
117
119
  type DatabaseRow<TModel extends DatabaseModel> = DatabaseModelMap[TModel];
118
120
  type DatabaseField<TModel extends DatabaseModel> = Extract<keyof DatabaseRow<TModel>, string>;
119
121
  //#endregion
120
- export { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleMetadata, DatabaseField, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelMap, DatabaseRow, ReleaseCatalogRow, ReleaseRow };
122
+ export { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseField, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelMap, DatabaseRow, ReleaseCatalogRow, ReleaseRow };
@@ -1,5 +1,4 @@
1
1
  import { Platform } from "@hot-updater/core";
2
-
3
2
  //#region src/types/databaseRows.d.ts
4
3
  type DatabaseJsonValue = boolean | number | string | null | readonly DatabaseJsonValue[] | DatabaseJsonObject;
5
4
  type DatabaseJsonObject = {
@@ -11,14 +10,11 @@ type DatabaseBundleMetadata = DatabaseJsonObject & {
11
10
  interface BundleRow {
12
11
  readonly id: string;
13
12
  readonly platform: Platform;
14
- readonly file_hash: string;
15
13
  readonly git_commit_hash: string | null;
16
- readonly storage_uri: string;
17
- readonly archive_byte_size: number;
18
14
  readonly metadata: DatabaseBundleMetadata;
19
- readonly manifest_storage_uri: string | null;
20
- readonly manifest_file_hash: string | null;
21
- readonly asset_base_storage_uri: string | null;
15
+ readonly manifest_storage_uri: string;
16
+ readonly manifest_file_hash: string;
17
+ readonly asset_base_storage_uri: string;
22
18
  }
23
19
  interface BundlePatchRow {
24
20
  readonly id: string;
@@ -70,30 +66,36 @@ interface ChannelRow {
70
66
  readonly id: string;
71
67
  readonly name: string;
72
68
  }
69
+ /** Ancillary report data; queryable identity and lifecycle fields stay on the row. */
70
+ type DatabaseBundleEventMetadata = DatabaseJsonObject & {
71
+ readonly username: string | null;
72
+ readonly cohort: string;
73
+ readonly update_strategy: "fingerprint" | "appVersion" | null;
74
+ readonly fingerprint_hash: string | null;
75
+ readonly sdk_version: string | null;
76
+ };
73
77
  type BundleEventRowBase = {
74
78
  readonly id: string;
75
79
  readonly install_id: string;
76
80
  readonly user_id: string | null;
77
- readonly username: string | null;
78
81
  readonly from_release_id: string | null;
79
82
  readonly to_release_id: string | null;
80
83
  readonly to_bundle_id: string;
81
84
  readonly platform: Platform;
82
85
  readonly app_version: string;
83
86
  readonly channel: string;
84
- readonly cohort: string;
85
- readonly fingerprint_hash: string | null;
86
- readonly sdk_version: string | null;
87
+ readonly metadata: DatabaseBundleEventMetadata;
87
88
  readonly received_at_ms: number;
88
89
  };
89
- type BundleEventRow = (BundleEventRowBase & {
90
- readonly type: "UPDATE_APPLIED" | "RECOVERED" | "RELEASE_ADOPTED";
90
+ type BundleEventRow = BundleEventRowBase & ({
91
+ readonly type: "UPDATE_DOWNLOADED";
92
+ readonly from_bundle_id: string;
93
+ } | {
94
+ readonly type: "UPDATE_APPLIED" | "RECOVERED";
91
95
  readonly from_bundle_id: string;
92
- readonly update_strategy: "fingerprint" | "appVersion";
93
- }) | (BundleEventRowBase & {
96
+ } | {
94
97
  readonly type: "UNCHANGED";
95
98
  readonly from_bundle_id: null;
96
- readonly update_strategy: null;
97
99
  });
98
100
  interface ApiKeyRow {
99
101
  readonly id: string;
@@ -117,4 +119,4 @@ type DatabaseModel = keyof DatabaseModelMap;
117
119
  type DatabaseRow<TModel extends DatabaseModel> = DatabaseModelMap[TModel];
118
120
  type DatabaseField<TModel extends DatabaseModel> = Extract<keyof DatabaseRow<TModel>, string>;
119
121
  //#endregion
120
- export { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleMetadata, DatabaseField, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelMap, DatabaseRow, ReleaseCatalogRow, ReleaseRow };
122
+ export { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseField, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelMap, DatabaseRow, ReleaseCatalogRow, ReleaseRow };
@@ -1,9 +1,10 @@
1
- import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleMetadata, DatabaseJsonObject, DatabaseJsonValue, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.cjs";
2
- import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsModel, InsightsScanCursor, InsightsScanInput, ReleaseCatalogModel, ReleaseModel } from "./databasePlugin.cjs";
1
+ import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseJsonObject, DatabaseJsonValue, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.cjs";
2
+ import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseModel, ReleaseReference } from "./databasePlugin.cjs";
3
3
  import { BundleRowUpdate, ReleaseCatalogRowUpdate, ReleaseRowUpdate } from "./databaseOperations.cjs";
4
+ import "./database.cjs";
4
5
  import { BuiltIns, HasMultipleCallSignatures, Primitive, RequiredDeep } from "./utils.cjs";
6
+ import "./public.cjs";
5
7
  import { Bundle, Bundle as Bundle$1, Platform, Platform as Platform$1 } from "@hot-updater/core";
6
-
7
8
  //#region src/types/index.d.ts
8
9
  interface BasePluginArgs {
9
10
  cwd: string;
@@ -80,9 +81,11 @@ interface BuildPluginConfig {
80
81
  }
81
82
  interface BuildPlugin {
82
83
  nativeBuild?: {
83
- /** Resolves the public key embedded by the native build configuration. */getBundleSigningPublicKey?: () => Promise<{
84
+ /** Resolves the public key embedded by the native build configuration. */
85
+ getBundleSigningPublicKey?: () => Promise<{
84
86
  readonly publicKey: string;
85
- } | null>; /** Resolves native configuration files that must affect the fingerprint. */
87
+ } | null>;
88
+ /** Resolves native configuration files that must affect the fingerprint. */
86
89
  getFingerprintExtraSources?: () => Promise<readonly string[]>;
87
90
  prebuild?: (args: {
88
91
  platform: Platform;
@@ -355,7 +358,8 @@ interface BundleSigningPlugin {
355
358
  }
356
359
  /** Built-in local PEM signing. */
357
360
  type LocalSigningConfig = {
358
- readonly enabled: true; /** Path to an RSA private key in PEM format. */
361
+ readonly enabled: true;
362
+ /** Path to an RSA private key in PEM format. */
359
363
  readonly privateKeyPath: string;
360
364
  } | {
361
365
  readonly enabled: false;
@@ -393,18 +397,6 @@ type ConfigInput = {
393
397
  * @default "appVersion"
394
398
  */
395
399
  updateStrategy: "fingerprint" | "appVersion";
396
- /**
397
- * The compression strategy used for bundle deployment.
398
- *
399
- * - `zip`: Standard ZIP compression (default). Fast and widely supported.
400
- * - `tar.br`: TAR archive with Brotli compression. Highest compression ratio, smaller bundle size.
401
- * - `tar.gz`: TAR archive with Gzip compression. Balanced speed and compression ratio.
402
- *
403
- * The compression format is determined by the storage plugin used for bundle upload.
404
- *
405
- * @default "zip"
406
- */
407
- compressStrategy?: "zip" | "tar.br" | "tar.gz";
408
400
  /**
409
401
  * The fingerprint configuration.
410
402
  */
@@ -434,7 +426,7 @@ type ConfigInput = {
434
426
  *
435
427
  * When enabled, `hot-updater deploy` tries to prepare binary patches against
436
428
  * up to `maxBaseBundles` recent compatible bundles. Patch generation is an
437
- * optimization only; archive delivery remains the fallback path.
429
+ * optimization only; the original manifest asset remains the fallback path.
438
430
  *
439
431
  * @default { enabled: true, maxBaseBundles: 3 }
440
432
  */
@@ -493,4 +485,4 @@ interface NativeBuildOptions {
493
485
  scheme?: string;
494
486
  }
495
487
  //#endregion
496
- export { ApplePlatform, BasePluginArgs, BuildPlugin, BuildPluginConfig, type Bundle$1 as Bundle, BundleSigningPlugin, ConfigInput, DatabaseBundleCursor, DatabaseBundleIdFilter, DatabaseBundleQueryOptions, DatabaseBundleQueryOrder, DatabaseBundleQueryWhere, FingerprintExtraSources, IosBuildDestination, LocalSigningConfig, NativeBuildAndroidScheme, NativeBuildArgs, NativeBuildIosScheme, NativeBuildOptions, Paginated, PaginatedResult, PaginationInfo, type Platform$1 as Platform, PlatformConfig, SigningConfig, StorageDeleteInput, StorageDeleteResult, StorageExistsInput, StorageExistsResult, StorageGetDownloadUrlInput, StorageGetDownloadUrlResult, StorageGetInput, StorageGetResult, StorageObject, StoragePlugin, StoragePutInput, StoragePutResult, supportedIosPlatforms };
488
+ export { type ApiKeyModel, type ApiKeyRow, ApplePlatform, BasePluginArgs, BuildPlugin, BuildPluginConfig, BuiltIns, type Bundle$1 as Bundle, type BundleEventRow, type BundleEventRowBase, type BundleModel, type BundleModelQuery, type BundlePatchModel, type BundlePatchRow, type BundleRepository, type BundleRepositoryChange, type BundleRepositoryCommit, type BundleRow, type BundleRowUpdate, BundleSigningPlugin, type ChannelDeleteInput, type ChannelDeleteResult, type ChannelInsertInput, type ChannelInsertResult, type ChannelModel, type ChannelRow, ConfigInput, DatabaseBundleCursor, type DatabaseBundleEventMetadata, DatabaseBundleIdFilter, type DatabaseBundleMetadata, DatabaseBundleQueryOptions, DatabaseBundleQueryOrder, DatabaseBundleQueryWhere, type DatabaseChange, type DatabaseCommit, type DatabaseCommitExpectation, type DatabaseCommitResult, type DatabaseJsonObject, type DatabaseJsonValue, type DatabaseModels, type DatabasePlugin, FingerprintExtraSources, HasMultipleCallSignatures, type InsightsBundleEventFilter, type InsightsCountEventsInput, type InsightsCountLatestEventsInput, type InsightsCoverage, type InsightsEventCursor, type InsightsEventFilter, type InsightsFindLatestEventsInput, type InsightsGetAppUsageInput, type InsightsGetAppUsageResult, type InsightsGetReleaseActivityInput, type InsightsGetReleaseActivityResult, type InsightsListEventsInput, type InsightsModel, type InsightsRecordEventInput, type InsightsScope, type InsightsTimeRange, IosBuildDestination, LocalSigningConfig, NativeBuildAndroidScheme, NativeBuildArgs, NativeBuildIosScheme, NativeBuildOptions, Paginated, PaginatedResult, PaginationInfo, type Platform$1 as Platform, PlatformConfig, Primitive, type ReleaseActivityMetrics, type ReleaseCatalogModel, type ReleaseCatalogRow, type ReleaseCatalogRowUpdate, type ReleaseModel, type ReleaseReference, type ReleaseRow, type ReleaseRowUpdate, RequiredDeep, SigningConfig, StorageDeleteInput, StorageDeleteResult, StorageExistsInput, StorageExistsResult, StorageGetDownloadUrlInput, StorageGetDownloadUrlResult, StorageGetInput, StorageGetResult, StorageObject, StoragePlugin, StoragePutInput, StoragePutResult, supportedIosPlatforms };
@@ -1,9 +1,10 @@
1
- import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleMetadata, DatabaseJsonObject, DatabaseJsonValue, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.mjs";
2
- import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsModel, InsightsScanCursor, InsightsScanInput, ReleaseCatalogModel, ReleaseModel } from "./databasePlugin.mjs";
1
+ import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseJsonObject, DatabaseJsonValue, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.mjs";
2
+ import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseModel, ReleaseReference } from "./databasePlugin.mjs";
3
3
  import { BundleRowUpdate, ReleaseCatalogRowUpdate, ReleaseRowUpdate } from "./databaseOperations.mjs";
4
+ import "./database.mjs";
4
5
  import { BuiltIns, HasMultipleCallSignatures, Primitive, RequiredDeep } from "./utils.mjs";
6
+ import "./public.mjs";
5
7
  import { Bundle, Bundle as Bundle$1, Platform, Platform as Platform$1 } from "@hot-updater/core";
6
-
7
8
  //#region src/types/index.d.ts
8
9
  interface BasePluginArgs {
9
10
  cwd: string;
@@ -80,9 +81,11 @@ interface BuildPluginConfig {
80
81
  }
81
82
  interface BuildPlugin {
82
83
  nativeBuild?: {
83
- /** Resolves the public key embedded by the native build configuration. */getBundleSigningPublicKey?: () => Promise<{
84
+ /** Resolves the public key embedded by the native build configuration. */
85
+ getBundleSigningPublicKey?: () => Promise<{
84
86
  readonly publicKey: string;
85
- } | null>; /** Resolves native configuration files that must affect the fingerprint. */
87
+ } | null>;
88
+ /** Resolves native configuration files that must affect the fingerprint. */
86
89
  getFingerprintExtraSources?: () => Promise<readonly string[]>;
87
90
  prebuild?: (args: {
88
91
  platform: Platform;
@@ -355,7 +358,8 @@ interface BundleSigningPlugin {
355
358
  }
356
359
  /** Built-in local PEM signing. */
357
360
  type LocalSigningConfig = {
358
- readonly enabled: true; /** Path to an RSA private key in PEM format. */
361
+ readonly enabled: true;
362
+ /** Path to an RSA private key in PEM format. */
359
363
  readonly privateKeyPath: string;
360
364
  } | {
361
365
  readonly enabled: false;
@@ -393,18 +397,6 @@ type ConfigInput = {
393
397
  * @default "appVersion"
394
398
  */
395
399
  updateStrategy: "fingerprint" | "appVersion";
396
- /**
397
- * The compression strategy used for bundle deployment.
398
- *
399
- * - `zip`: Standard ZIP compression (default). Fast and widely supported.
400
- * - `tar.br`: TAR archive with Brotli compression. Highest compression ratio, smaller bundle size.
401
- * - `tar.gz`: TAR archive with Gzip compression. Balanced speed and compression ratio.
402
- *
403
- * The compression format is determined by the storage plugin used for bundle upload.
404
- *
405
- * @default "zip"
406
- */
407
- compressStrategy?: "zip" | "tar.br" | "tar.gz";
408
400
  /**
409
401
  * The fingerprint configuration.
410
402
  */
@@ -434,7 +426,7 @@ type ConfigInput = {
434
426
  *
435
427
  * When enabled, `hot-updater deploy` tries to prepare binary patches against
436
428
  * up to `maxBaseBundles` recent compatible bundles. Patch generation is an
437
- * optimization only; archive delivery remains the fallback path.
429
+ * optimization only; the original manifest asset remains the fallback path.
438
430
  *
439
431
  * @default { enabled: true, maxBaseBundles: 3 }
440
432
  */
@@ -493,4 +485,4 @@ interface NativeBuildOptions {
493
485
  scheme?: string;
494
486
  }
495
487
  //#endregion
496
- export { ApplePlatform, BasePluginArgs, BuildPlugin, BuildPluginConfig, type Bundle$1 as Bundle, BundleSigningPlugin, ConfigInput, DatabaseBundleCursor, DatabaseBundleIdFilter, DatabaseBundleQueryOptions, DatabaseBundleQueryOrder, DatabaseBundleQueryWhere, FingerprintExtraSources, IosBuildDestination, LocalSigningConfig, NativeBuildAndroidScheme, NativeBuildArgs, NativeBuildIosScheme, NativeBuildOptions, Paginated, PaginatedResult, PaginationInfo, type Platform$1 as Platform, PlatformConfig, SigningConfig, StorageDeleteInput, StorageDeleteResult, StorageExistsInput, StorageExistsResult, StorageGetDownloadUrlInput, StorageGetDownloadUrlResult, StorageGetInput, StorageGetResult, StorageObject, StoragePlugin, StoragePutInput, StoragePutResult, supportedIosPlatforms };
488
+ export { type ApiKeyModel, type ApiKeyRow, ApplePlatform, BasePluginArgs, BuildPlugin, BuildPluginConfig, BuiltIns, type Bundle$1 as Bundle, type BundleEventRow, type BundleEventRowBase, type BundleModel, type BundleModelQuery, type BundlePatchModel, type BundlePatchRow, type BundleRepository, type BundleRepositoryChange, type BundleRepositoryCommit, type BundleRow, type BundleRowUpdate, BundleSigningPlugin, type ChannelDeleteInput, type ChannelDeleteResult, type ChannelInsertInput, type ChannelInsertResult, type ChannelModel, type ChannelRow, ConfigInput, DatabaseBundleCursor, type DatabaseBundleEventMetadata, DatabaseBundleIdFilter, type DatabaseBundleMetadata, DatabaseBundleQueryOptions, DatabaseBundleQueryOrder, DatabaseBundleQueryWhere, type DatabaseChange, type DatabaseCommit, type DatabaseCommitExpectation, type DatabaseCommitResult, type DatabaseJsonObject, type DatabaseJsonValue, type DatabaseModels, type DatabasePlugin, FingerprintExtraSources, HasMultipleCallSignatures, type InsightsBundleEventFilter, type InsightsCountEventsInput, type InsightsCountLatestEventsInput, type InsightsCoverage, type InsightsEventCursor, type InsightsEventFilter, type InsightsFindLatestEventsInput, type InsightsGetAppUsageInput, type InsightsGetAppUsageResult, type InsightsGetReleaseActivityInput, type InsightsGetReleaseActivityResult, type InsightsListEventsInput, type InsightsModel, type InsightsRecordEventInput, type InsightsScope, type InsightsTimeRange, IosBuildDestination, LocalSigningConfig, NativeBuildAndroidScheme, NativeBuildArgs, NativeBuildIosScheme, NativeBuildOptions, Paginated, PaginatedResult, PaginationInfo, type Platform$1 as Platform, PlatformConfig, Primitive, type ReleaseActivityMetrics, type ReleaseCatalogModel, type ReleaseCatalogRow, type ReleaseCatalogRowUpdate, type ReleaseModel, type ReleaseReference, type ReleaseRow, type ReleaseRowUpdate, RequiredDeep, SigningConfig, StorageDeleteInput, StorageDeleteResult, StorageExistsInput, StorageExistsResult, StorageGetDownloadUrlInput, StorageGetDownloadUrlResult, StorageGetInput, StorageGetResult, StorageObject, StoragePlugin, StoragePutInput, StoragePutResult, supportedIosPlatforms };
@@ -1,7 +1,8 @@
1
- import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleMetadata, DatabaseField, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelMap, DatabaseRow, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.cjs";
2
- import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsModel, InsightsScanCursor, InsightsScanInput, ReleaseCatalogModel, ReleaseModel } from "./databasePlugin.cjs";
1
+ import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseField, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelMap, DatabaseRow, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.cjs";
2
+ import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseModel, ReleaseReference } from "./databasePlugin.cjs";
3
3
  import { DatabaseDistinctFields, DatabaseDistinctOn, DatabaseOrderBy, DatabaseSelect, DatabaseSortBy, DatabaseSortClause, DatabaseSortNulls, DatabaseStringComparisonMode, DatabaseWhere, DatabaseWhereConnector, DatabaseWhereOperator, SelectedDatabaseRow } from "./databaseQuery.cjs";
4
4
  import { ApiKeyRowUpdate, BundleRowUpdate, CountBundlesDatabaseImplementationInput, CountBundlesDatabaseInput, CountDatabaseImplementationInput, CountDatabaseInput, CountDatabaseModel, CreateDatabaseImplementationInput, CreateDatabaseInput, CreateDatabaseModel, DatabaseCapability, DatabaseDeleteModel, DatabaseFindOneModel, DatabaseImplementationResult, DatabaseModelCapabilities, DatabaseModelsWithCapability, DatabasePluginCrud, DatabasePluginImplementation, DatabaseRowUpdate, DeleteDatabaseImplementationInput, DeleteDatabaseInput, DeleteDatabaseModel, FindManyDatabaseImplementationInput, FindManyDatabaseInput, FindManyDatabaseModel, FindManyDatabasePluginInput, FindOneDatabaseImplementationInput, FindOneDatabaseInput, FindOneDatabaseModel, ReleaseCatalogRowUpdate, ReleaseRowUpdate, SelectedDatabaseInputRow, TransactionDatabasePluginImplementation, UpdateBundleDatabaseImplementationInput, UpdateBundleDatabaseInput, UpdateDatabaseImplementationInput, UpdateDatabaseInput, UpdateDatabaseModel } from "./databaseOperations.cjs";
5
5
  import { BuiltIns, HasMultipleCallSignatures, Primitive, RequiredDeep } from "./utils.cjs";
6
6
  import { ApplePlatform, BasePluginArgs, BuildPlugin, BuildPluginConfig, Bundle, BundleSigningPlugin, ConfigInput, DatabaseBundleCursor, DatabaseBundleIdFilter, DatabaseBundleQueryOptions, DatabaseBundleQueryOrder, DatabaseBundleQueryWhere, FingerprintExtraSources, IosBuildDestination, LocalSigningConfig, NativeBuildAndroidScheme, NativeBuildArgs, NativeBuildIosScheme, NativeBuildOptions, Paginated, PaginatedResult, PaginationInfo, Platform, PlatformConfig, SigningConfig, StorageDeleteInput, StorageDeleteResult, StorageExistsInput, StorageExistsResult, StorageGetDownloadUrlInput, StorageGetDownloadUrlResult, StorageGetInput, StorageGetResult, StorageObject, StoragePlugin, StoragePutInput, StoragePutResult, supportedIosPlatforms } from "./index.cjs";
7
- import { databaseFields } from "./databaseFields.cjs";
7
+ import { databaseFields } from "./databaseFields.cjs";
8
+ export { ApiKeyModel, ApiKeyRow, ApiKeyRowUpdate, ApplePlatform, BasePluginArgs, BuildPlugin, BuildPluginConfig, BuiltIns, type Bundle, BundleEventRow, BundleEventRowBase, BundleModel, BundleModelQuery, BundlePatchModel, BundlePatchRow, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, BundleRow, BundleRowUpdate, BundleSigningPlugin, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, ChannelRow, ConfigInput, CountBundlesDatabaseImplementationInput, CountBundlesDatabaseInput, CountDatabaseImplementationInput, CountDatabaseInput, CountDatabaseModel, CreateDatabaseImplementationInput, CreateDatabaseInput, CreateDatabaseModel, DatabaseBundleCursor, DatabaseBundleEventMetadata, DatabaseBundleIdFilter, DatabaseBundleMetadata, DatabaseBundleQueryOptions, DatabaseBundleQueryOrder, DatabaseBundleQueryWhere, DatabaseCapability, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseDeleteModel, DatabaseDistinctFields, DatabaseDistinctOn, DatabaseField, DatabaseFindOneModel, DatabaseImplementationResult, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelCapabilities, DatabaseModelMap, DatabaseModels, DatabaseModelsWithCapability, DatabaseOrderBy, DatabasePlugin, DatabasePluginCrud, DatabasePluginImplementation, DatabaseRow, DatabaseRowUpdate, DatabaseSelect, DatabaseSortBy, DatabaseSortClause, DatabaseSortNulls, DatabaseStringComparisonMode, DatabaseWhere, DatabaseWhereConnector, DatabaseWhereOperator, DeleteDatabaseImplementationInput, DeleteDatabaseInput, DeleteDatabaseModel, FindManyDatabaseImplementationInput, FindManyDatabaseInput, FindManyDatabaseModel, FindManyDatabasePluginInput, FindOneDatabaseImplementationInput, FindOneDatabaseInput, FindOneDatabaseModel, FingerprintExtraSources, HasMultipleCallSignatures, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, IosBuildDestination, LocalSigningConfig, NativeBuildAndroidScheme, NativeBuildArgs, NativeBuildIosScheme, NativeBuildOptions, Paginated, PaginatedResult, PaginationInfo, type Platform, PlatformConfig, Primitive, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseCatalogRow, ReleaseCatalogRowUpdate, ReleaseModel, ReleaseReference, ReleaseRow, ReleaseRowUpdate, RequiredDeep, SelectedDatabaseInputRow, SelectedDatabaseRow, SigningConfig, StorageDeleteInput, StorageDeleteResult, StorageExistsInput, StorageExistsResult, StorageGetDownloadUrlInput, StorageGetDownloadUrlResult, StorageGetInput, StorageGetResult, StorageObject, StoragePlugin, StoragePutInput, StoragePutResult, TransactionDatabasePluginImplementation, UpdateBundleDatabaseImplementationInput, UpdateBundleDatabaseInput, UpdateDatabaseImplementationInput, UpdateDatabaseInput, UpdateDatabaseModel, databaseFields, supportedIosPlatforms };
@@ -1,7 +1,8 @@
1
- import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleMetadata, DatabaseField, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelMap, DatabaseRow, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.mjs";
2
- import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsModel, InsightsScanCursor, InsightsScanInput, ReleaseCatalogModel, ReleaseModel } from "./databasePlugin.mjs";
1
+ import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseField, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelMap, DatabaseRow, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.mjs";
2
+ import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseModel, ReleaseReference } from "./databasePlugin.mjs";
3
3
  import { DatabaseDistinctFields, DatabaseDistinctOn, DatabaseOrderBy, DatabaseSelect, DatabaseSortBy, DatabaseSortClause, DatabaseSortNulls, DatabaseStringComparisonMode, DatabaseWhere, DatabaseWhereConnector, DatabaseWhereOperator, SelectedDatabaseRow } from "./databaseQuery.mjs";
4
4
  import { ApiKeyRowUpdate, BundleRowUpdate, CountBundlesDatabaseImplementationInput, CountBundlesDatabaseInput, CountDatabaseImplementationInput, CountDatabaseInput, CountDatabaseModel, CreateDatabaseImplementationInput, CreateDatabaseInput, CreateDatabaseModel, DatabaseCapability, DatabaseDeleteModel, DatabaseFindOneModel, DatabaseImplementationResult, DatabaseModelCapabilities, DatabaseModelsWithCapability, DatabasePluginCrud, DatabasePluginImplementation, DatabaseRowUpdate, DeleteDatabaseImplementationInput, DeleteDatabaseInput, DeleteDatabaseModel, FindManyDatabaseImplementationInput, FindManyDatabaseInput, FindManyDatabaseModel, FindManyDatabasePluginInput, FindOneDatabaseImplementationInput, FindOneDatabaseInput, FindOneDatabaseModel, ReleaseCatalogRowUpdate, ReleaseRowUpdate, SelectedDatabaseInputRow, TransactionDatabasePluginImplementation, UpdateBundleDatabaseImplementationInput, UpdateBundleDatabaseInput, UpdateDatabaseImplementationInput, UpdateDatabaseInput, UpdateDatabaseModel } from "./databaseOperations.mjs";
5
5
  import { BuiltIns, HasMultipleCallSignatures, Primitive, RequiredDeep } from "./utils.mjs";
6
6
  import { ApplePlatform, BasePluginArgs, BuildPlugin, BuildPluginConfig, Bundle, BundleSigningPlugin, ConfigInput, DatabaseBundleCursor, DatabaseBundleIdFilter, DatabaseBundleQueryOptions, DatabaseBundleQueryOrder, DatabaseBundleQueryWhere, FingerprintExtraSources, IosBuildDestination, LocalSigningConfig, NativeBuildAndroidScheme, NativeBuildArgs, NativeBuildIosScheme, NativeBuildOptions, Paginated, PaginatedResult, PaginationInfo, Platform, PlatformConfig, SigningConfig, StorageDeleteInput, StorageDeleteResult, StorageExistsInput, StorageExistsResult, StorageGetDownloadUrlInput, StorageGetDownloadUrlResult, StorageGetInput, StorageGetResult, StorageObject, StoragePlugin, StoragePutInput, StoragePutResult, supportedIosPlatforms } from "./index.mjs";
7
- import { databaseFields } from "./databaseFields.mjs";
7
+ import { databaseFields } from "./databaseFields.mjs";
8
+ export { ApiKeyModel, ApiKeyRow, ApiKeyRowUpdate, ApplePlatform, BasePluginArgs, BuildPlugin, BuildPluginConfig, BuiltIns, type Bundle, BundleEventRow, BundleEventRowBase, BundleModel, BundleModelQuery, BundlePatchModel, BundlePatchRow, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, BundleRow, BundleRowUpdate, BundleSigningPlugin, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, ChannelRow, ConfigInput, CountBundlesDatabaseImplementationInput, CountBundlesDatabaseInput, CountDatabaseImplementationInput, CountDatabaseInput, CountDatabaseModel, CreateDatabaseImplementationInput, CreateDatabaseInput, CreateDatabaseModel, DatabaseBundleCursor, DatabaseBundleEventMetadata, DatabaseBundleIdFilter, DatabaseBundleMetadata, DatabaseBundleQueryOptions, DatabaseBundleQueryOrder, DatabaseBundleQueryWhere, DatabaseCapability, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseDeleteModel, DatabaseDistinctFields, DatabaseDistinctOn, DatabaseField, DatabaseFindOneModel, DatabaseImplementationResult, DatabaseJsonObject, DatabaseJsonValue, DatabaseModel, DatabaseModelCapabilities, DatabaseModelMap, DatabaseModels, DatabaseModelsWithCapability, DatabaseOrderBy, DatabasePlugin, DatabasePluginCrud, DatabasePluginImplementation, DatabaseRow, DatabaseRowUpdate, DatabaseSelect, DatabaseSortBy, DatabaseSortClause, DatabaseSortNulls, DatabaseStringComparisonMode, DatabaseWhere, DatabaseWhereConnector, DatabaseWhereOperator, DeleteDatabaseImplementationInput, DeleteDatabaseInput, DeleteDatabaseModel, FindManyDatabaseImplementationInput, FindManyDatabaseInput, FindManyDatabaseModel, FindManyDatabasePluginInput, FindOneDatabaseImplementationInput, FindOneDatabaseInput, FindOneDatabaseModel, FingerprintExtraSources, HasMultipleCallSignatures, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, IosBuildDestination, LocalSigningConfig, NativeBuildAndroidScheme, NativeBuildArgs, NativeBuildIosScheme, NativeBuildOptions, Paginated, PaginatedResult, PaginationInfo, type Platform, PlatformConfig, Primitive, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseCatalogRow, ReleaseCatalogRowUpdate, ReleaseModel, ReleaseReference, ReleaseRow, ReleaseRowUpdate, RequiredDeep, SelectedDatabaseInputRow, SelectedDatabaseRow, SigningConfig, StorageDeleteInput, StorageDeleteResult, StorageExistsInput, StorageExistsResult, StorageGetDownloadUrlInput, StorageGetDownloadUrlResult, StorageGetInput, StorageGetResult, StorageObject, StoragePlugin, StoragePutInput, StoragePutResult, TransactionDatabasePluginImplementation, UpdateBundleDatabaseImplementationInput, UpdateBundleDatabaseInput, UpdateDatabaseImplementationInput, UpdateDatabaseInput, UpdateDatabaseModel, databaseFields, supportedIosPlatforms };
@@ -1,3 +1,4 @@
1
- import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleMetadata, DatabaseJsonObject, DatabaseJsonValue, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.cjs";
2
- import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsModel, InsightsScanCursor, InsightsScanInput, ReleaseCatalogModel, ReleaseModel } from "./databasePlugin.cjs";
3
- import { BundleRowUpdate, ReleaseCatalogRowUpdate, ReleaseRowUpdate } from "./databaseOperations.cjs";
1
+ import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseJsonObject, DatabaseJsonValue, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.cjs";
2
+ import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseModel, ReleaseReference } from "./databasePlugin.cjs";
3
+ import { BundleRowUpdate, ReleaseCatalogRowUpdate, ReleaseRowUpdate } from "./databaseOperations.cjs";
4
+ export type { ApiKeyModel, ApiKeyRow, BundleEventRow, BundleEventRowBase, BundleModel, BundleModelQuery, BundlePatchModel, BundlePatchRow, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, BundleRow, BundleRowUpdate, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseJsonObject, DatabaseJsonValue, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseCatalogRow, ReleaseCatalogRowUpdate, ReleaseModel, ReleaseReference, ReleaseRow, ReleaseRowUpdate };
@@ -1,3 +1,4 @@
1
- import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleMetadata, DatabaseJsonObject, DatabaseJsonValue, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.mjs";
2
- import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsModel, InsightsScanCursor, InsightsScanInput, ReleaseCatalogModel, ReleaseModel } from "./databasePlugin.mjs";
3
- import { BundleRowUpdate, ReleaseCatalogRowUpdate, ReleaseRowUpdate } from "./databaseOperations.mjs";
1
+ import { ApiKeyRow, BundleEventRow, BundleEventRowBase, BundlePatchRow, BundleRow, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseJsonObject, DatabaseJsonValue, ReleaseCatalogRow, ReleaseRow } from "./databaseRows.mjs";
2
+ import { ApiKeyModel, BundleModel, BundleModelQuery, BundlePatchModel, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseModel, ReleaseReference } from "./databasePlugin.mjs";
3
+ import { BundleRowUpdate, ReleaseCatalogRowUpdate, ReleaseRowUpdate } from "./databaseOperations.mjs";
4
+ export type { ApiKeyModel, ApiKeyRow, BundleEventRow, BundleEventRowBase, BundleModel, BundleModelQuery, BundlePatchModel, BundlePatchRow, BundleRepository, BundleRepositoryChange, BundleRepositoryCommit, BundleRow, BundleRowUpdate, ChannelDeleteInput, ChannelDeleteResult, ChannelInsertInput, ChannelInsertResult, ChannelModel, ChannelRow, DatabaseBundleEventMetadata, DatabaseBundleMetadata, DatabaseChange, DatabaseCommit, DatabaseCommitExpectation, DatabaseCommitResult, DatabaseJsonObject, DatabaseJsonValue, DatabaseModels, DatabasePlugin, InsightsBundleEventFilter, InsightsCountEventsInput, InsightsCountLatestEventsInput, InsightsCoverage, InsightsEventCursor, InsightsEventFilter, InsightsFindLatestEventsInput, InsightsGetAppUsageInput, InsightsGetAppUsageResult, InsightsGetReleaseActivityInput, InsightsGetReleaseActivityResult, InsightsListEventsInput, InsightsModel, InsightsRecordEventInput, InsightsScope, InsightsTimeRange, ReleaseActivityMetrics, ReleaseCatalogModel, ReleaseCatalogRow, ReleaseCatalogRowUpdate, ReleaseModel, ReleaseReference, ReleaseRow, ReleaseRowUpdate };