@hot-updater/plugin-core 1.1.4 → 1.2.0-rc.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.
@@ -301,6 +301,111 @@ declare const coreSchema: {
301
301
  readonly sort: readonly [];
302
302
  };
303
303
  }, never, readonly ["platform_key"]>;
304
+ readonly native_builds: TableDefinition<{
305
+ readonly id: {
306
+ readonly type: "string";
307
+ readonly maxLength: 36;
308
+ };
309
+ readonly scope_key: {
310
+ readonly type: "string";
311
+ readonly maxLength: 2048;
312
+ readonly ascii: true;
313
+ };
314
+ readonly platform: {
315
+ readonly type: "string";
316
+ readonly maxLength: 16;
317
+ };
318
+ readonly channel_id: {
319
+ readonly references: {
320
+ readonly model: "channels";
321
+ readonly onDelete: "none";
322
+ };
323
+ readonly type: "string";
324
+ readonly maxLength: 1408;
325
+ readonly ascii: true;
326
+ };
327
+ readonly fingerprint_hash: {
328
+ readonly type: "string";
329
+ readonly maxLength: 255;
330
+ readonly required: false;
331
+ };
332
+ readonly app_version: {
333
+ readonly type: "string";
334
+ readonly required: false;
335
+ };
336
+ readonly min_bundle_id: {
337
+ readonly type: "string";
338
+ readonly maxLength: 36;
339
+ readonly unique: true;
340
+ readonly references: {
341
+ readonly model: "bundles";
342
+ readonly onDelete: "none";
343
+ };
344
+ };
345
+ readonly artifact_kind: {
346
+ readonly type: "string";
347
+ readonly maxLength: 16;
348
+ };
349
+ readonly artifact_storage_uri: {
350
+ readonly type: "string";
351
+ };
352
+ readonly byte_size: {
353
+ readonly type: "integer";
354
+ };
355
+ readonly git_commit_hash: {
356
+ readonly type: "string";
357
+ readonly maxLength: 255;
358
+ readonly required: false;
359
+ };
360
+ readonly created_at_ms: {
361
+ readonly type: "integer";
362
+ };
363
+ readonly build_key: {
364
+ readonly type: "string";
365
+ readonly maxLength: 69;
366
+ readonly ascii: true;
367
+ readonly required: false;
368
+ };
369
+ readonly build_number: {
370
+ readonly type: "string";
371
+ readonly maxLength: 64;
372
+ readonly required: false;
373
+ };
374
+ readonly submitted_to: {
375
+ readonly type: "string";
376
+ readonly maxLength: 16;
377
+ readonly required: false;
378
+ };
379
+ readonly submitted_at_ms: {
380
+ readonly type: "integer";
381
+ readonly required: false;
382
+ };
383
+ readonly submitted_version: {
384
+ readonly type: "string";
385
+ readonly maxLength: 255;
386
+ readonly required: false;
387
+ };
388
+ }, {}, {
389
+ readonly byScope: {
390
+ readonly eq: readonly ["scope_key"];
391
+ readonly sort: readonly ["id"];
392
+ };
393
+ readonly byBuildKey: {
394
+ readonly eq: readonly ["scope_key", "build_key"];
395
+ readonly sort: readonly ["id"];
396
+ };
397
+ readonly byChannel: {
398
+ readonly eq: readonly ["channel_id"];
399
+ readonly sort: readonly ["id"];
400
+ readonly root: {
401
+ readonly model: "channels";
402
+ };
403
+ };
404
+ readonly all: {
405
+ readonly eq: readonly [];
406
+ readonly sort: readonly ["id"];
407
+ };
408
+ }, readonly ["id"]>;
304
409
  };
305
410
  /**
306
411
  * Core's tables as the engine types them: the type of `createEngine`'s
@@ -301,6 +301,111 @@ declare const coreSchema: {
301
301
  readonly sort: readonly [];
302
302
  };
303
303
  }, never, readonly ["platform_key"]>;
304
+ readonly native_builds: TableDefinition<{
305
+ readonly id: {
306
+ readonly type: "string";
307
+ readonly maxLength: 36;
308
+ };
309
+ readonly scope_key: {
310
+ readonly type: "string";
311
+ readonly maxLength: 2048;
312
+ readonly ascii: true;
313
+ };
314
+ readonly platform: {
315
+ readonly type: "string";
316
+ readonly maxLength: 16;
317
+ };
318
+ readonly channel_id: {
319
+ readonly references: {
320
+ readonly model: "channels";
321
+ readonly onDelete: "none";
322
+ };
323
+ readonly type: "string";
324
+ readonly maxLength: 1408;
325
+ readonly ascii: true;
326
+ };
327
+ readonly fingerprint_hash: {
328
+ readonly type: "string";
329
+ readonly maxLength: 255;
330
+ readonly required: false;
331
+ };
332
+ readonly app_version: {
333
+ readonly type: "string";
334
+ readonly required: false;
335
+ };
336
+ readonly min_bundle_id: {
337
+ readonly type: "string";
338
+ readonly maxLength: 36;
339
+ readonly unique: true;
340
+ readonly references: {
341
+ readonly model: "bundles";
342
+ readonly onDelete: "none";
343
+ };
344
+ };
345
+ readonly artifact_kind: {
346
+ readonly type: "string";
347
+ readonly maxLength: 16;
348
+ };
349
+ readonly artifact_storage_uri: {
350
+ readonly type: "string";
351
+ };
352
+ readonly byte_size: {
353
+ readonly type: "integer";
354
+ };
355
+ readonly git_commit_hash: {
356
+ readonly type: "string";
357
+ readonly maxLength: 255;
358
+ readonly required: false;
359
+ };
360
+ readonly created_at_ms: {
361
+ readonly type: "integer";
362
+ };
363
+ readonly build_key: {
364
+ readonly type: "string";
365
+ readonly maxLength: 69;
366
+ readonly ascii: true;
367
+ readonly required: false;
368
+ };
369
+ readonly build_number: {
370
+ readonly type: "string";
371
+ readonly maxLength: 64;
372
+ readonly required: false;
373
+ };
374
+ readonly submitted_to: {
375
+ readonly type: "string";
376
+ readonly maxLength: 16;
377
+ readonly required: false;
378
+ };
379
+ readonly submitted_at_ms: {
380
+ readonly type: "integer";
381
+ readonly required: false;
382
+ };
383
+ readonly submitted_version: {
384
+ readonly type: "string";
385
+ readonly maxLength: 255;
386
+ readonly required: false;
387
+ };
388
+ }, {}, {
389
+ readonly byScope: {
390
+ readonly eq: readonly ["scope_key"];
391
+ readonly sort: readonly ["id"];
392
+ };
393
+ readonly byBuildKey: {
394
+ readonly eq: readonly ["scope_key", "build_key"];
395
+ readonly sort: readonly ["id"];
396
+ };
397
+ readonly byChannel: {
398
+ readonly eq: readonly ["channel_id"];
399
+ readonly sort: readonly ["id"];
400
+ readonly root: {
401
+ readonly model: "channels";
402
+ };
403
+ };
404
+ readonly all: {
405
+ readonly eq: readonly [];
406
+ readonly sort: readonly ["id"];
407
+ };
408
+ }, readonly ["id"]>;
304
409
  };
305
410
  /**
306
411
  * Core's tables as the engine types them: the type of `createEngine`'s