@bikefinder/staff-sdk 0.9.1 → 0.10.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.
- package/dist/{chunk-EJ6ZAUPX.js → chunk-OMGUXPBA.js} +1 -5
- package/dist/index.d.ts +1 -17
- package/dist/index.js +1 -1
- package/dist/schemas.d.ts +1 -17
- package/dist/schemas.js +1 -1
- package/package.json +1 -1
|
@@ -15160,7 +15160,7 @@ var favoriteContract = {
|
|
|
15160
15160
|
import { oc as oc17 } from "@orpc/contract";
|
|
15161
15161
|
import { z as z27 } from "zod";
|
|
15162
15162
|
var firmwareCatalogFamily = z27.enum(["gen2-lte", "gen2-battery"]);
|
|
15163
|
-
var firmwareCatalogCapability = "firmware-catalog-
|
|
15163
|
+
var firmwareCatalogCapability = "firmware-catalog-v2";
|
|
15164
15164
|
var maximumFirmwareUploadBytes = 1024 * 1024;
|
|
15165
15165
|
var catalogFirmwareVersion = z27.string().max(15).regex(/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*))?$/).refine(
|
|
15166
15166
|
(value) => value.split(".").every((part) => Number(part) <= 255),
|
|
@@ -15172,8 +15172,6 @@ var firmwareCatalogUploadInput = z27.strictObject({
|
|
|
15172
15172
|
family: firmwareCatalogFamily,
|
|
15173
15173
|
version: catalogFirmwareVersion,
|
|
15174
15174
|
notes: z27.string().trim().min(1).max(2e3),
|
|
15175
|
-
sourceRevision: z27.string().regex(/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/).nullable(),
|
|
15176
|
-
buildFingerprint: digest.nullable(),
|
|
15177
15175
|
size: z27.int().min(1).max(maximumFirmwareUploadBytes),
|
|
15178
15176
|
sha256: digest
|
|
15179
15177
|
});
|
|
@@ -15188,8 +15186,6 @@ var firmwareCatalogRelease = z27.object({
|
|
|
15188
15186
|
size: z27.int().positive(),
|
|
15189
15187
|
sha256: digest,
|
|
15190
15188
|
notes: z27.string(),
|
|
15191
|
-
sourceRevision: z27.string().nullable(),
|
|
15192
|
-
buildFingerprint: z27.string().nullable(),
|
|
15193
15189
|
downloadUrl: z27.url({ protocol: /^https$/ }),
|
|
15194
15190
|
availableForUpdates: z27.boolean()
|
|
15195
15191
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -63497,7 +63497,7 @@ export declare const firmwareCatalogFamily: z$1.ZodEnum<{
|
|
|
63497
63497
|
"gen2-lte": "gen2-lte";
|
|
63498
63498
|
"gen2-battery": "gen2-battery";
|
|
63499
63499
|
}>;
|
|
63500
|
-
export declare const firmwareCatalogCapability = "firmware-catalog-
|
|
63500
|
+
export declare const firmwareCatalogCapability = "firmware-catalog-v2";
|
|
63501
63501
|
export declare const maximumFirmwareUploadBytes: number;
|
|
63502
63502
|
export declare const catalogFirmwareVersion: z$1.ZodString;
|
|
63503
63503
|
export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
|
|
@@ -63507,8 +63507,6 @@ export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
|
|
|
63507
63507
|
}>;
|
|
63508
63508
|
version: z$1.ZodString;
|
|
63509
63509
|
notes: z$1.ZodString;
|
|
63510
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
63511
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
63512
63510
|
size: z$1.ZodInt;
|
|
63513
63511
|
sha256: z$1.ZodString;
|
|
63514
63512
|
}, z$1.core.$strict>;
|
|
@@ -63519,8 +63517,6 @@ export declare const firmwareCatalogPublishInput: z$1.ZodObject<{
|
|
|
63519
63517
|
}>;
|
|
63520
63518
|
version: z$1.ZodString;
|
|
63521
63519
|
notes: z$1.ZodString;
|
|
63522
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
63523
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
63524
63520
|
size: z$1.ZodInt;
|
|
63525
63521
|
sha256: z$1.ZodString;
|
|
63526
63522
|
file: z$1.ZodFile;
|
|
@@ -63536,8 +63532,6 @@ export declare const firmwareCatalogRelease: z$1.ZodObject<{
|
|
|
63536
63532
|
size: z$1.ZodInt;
|
|
63537
63533
|
sha256: z$1.ZodString;
|
|
63538
63534
|
notes: z$1.ZodString;
|
|
63539
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
63540
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
63541
63535
|
downloadUrl: z$1.ZodURL;
|
|
63542
63536
|
availableForUpdates: z$1.ZodBoolean;
|
|
63543
63537
|
}, z$1.core.$strip>;
|
|
@@ -63564,8 +63558,6 @@ export declare const firmwareCatalogContract: {
|
|
|
63564
63558
|
size: z$1.ZodInt;
|
|
63565
63559
|
sha256: z$1.ZodString;
|
|
63566
63560
|
notes: z$1.ZodString;
|
|
63567
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
63568
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
63569
63561
|
downloadUrl: z$1.ZodURL;
|
|
63570
63562
|
availableForUpdates: z$1.ZodBoolean;
|
|
63571
63563
|
}, z$1.core.$strip>>;
|
|
@@ -64993,8 +64985,6 @@ export declare const firmwareCatalogContract: {
|
|
|
64993
64985
|
size: z$1.ZodInt;
|
|
64994
64986
|
sha256: z$1.ZodString;
|
|
64995
64987
|
notes: z$1.ZodString;
|
|
64996
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
64997
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
64998
64988
|
downloadUrl: z$1.ZodURL;
|
|
64999
64989
|
availableForUpdates: z$1.ZodBoolean;
|
|
65000
64990
|
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -66414,8 +66404,6 @@ export declare const firmwareCatalogContract: {
|
|
|
66414
66404
|
}>;
|
|
66415
66405
|
version: z$1.ZodString;
|
|
66416
66406
|
notes: z$1.ZodString;
|
|
66417
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
66418
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
66419
66407
|
size: z$1.ZodInt;
|
|
66420
66408
|
sha256: z$1.ZodString;
|
|
66421
66409
|
file: z$1.ZodFile;
|
|
@@ -66430,8 +66418,6 @@ export declare const firmwareCatalogContract: {
|
|
|
66430
66418
|
size: z$1.ZodInt;
|
|
66431
66419
|
sha256: z$1.ZodString;
|
|
66432
66420
|
notes: z$1.ZodString;
|
|
66433
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
66434
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
66435
66421
|
downloadUrl: z$1.ZodURL;
|
|
66436
66422
|
availableForUpdates: z$1.ZodBoolean;
|
|
66437
66423
|
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -67858,8 +67844,6 @@ export declare const firmwareCatalogContract: {
|
|
|
67858
67844
|
size: z$1.ZodInt;
|
|
67859
67845
|
sha256: z$1.ZodString;
|
|
67860
67846
|
notes: z$1.ZodString;
|
|
67861
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
67862
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
67863
67847
|
downloadUrl: z$1.ZodURL;
|
|
67864
67848
|
availableForUpdates: z$1.ZodBoolean;
|
|
67865
67849
|
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
package/dist/index.js
CHANGED
package/dist/schemas.d.ts
CHANGED
|
@@ -35401,7 +35401,7 @@ export declare const firmwareCatalogFamily: z$1.ZodEnum<{
|
|
|
35401
35401
|
"gen2-lte": "gen2-lte";
|
|
35402
35402
|
"gen2-battery": "gen2-battery";
|
|
35403
35403
|
}>;
|
|
35404
|
-
export declare const firmwareCatalogCapability = "firmware-catalog-
|
|
35404
|
+
export declare const firmwareCatalogCapability = "firmware-catalog-v2";
|
|
35405
35405
|
export declare const maximumFirmwareUploadBytes: number;
|
|
35406
35406
|
export declare const catalogFirmwareVersion: z$1.ZodString;
|
|
35407
35407
|
export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
|
|
@@ -35411,8 +35411,6 @@ export declare const firmwareCatalogUploadInput: z$1.ZodObject<{
|
|
|
35411
35411
|
}>;
|
|
35412
35412
|
version: z$1.ZodString;
|
|
35413
35413
|
notes: z$1.ZodString;
|
|
35414
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
35415
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
35416
35414
|
size: z$1.ZodInt;
|
|
35417
35415
|
sha256: z$1.ZodString;
|
|
35418
35416
|
}, z$1.core.$strict>;
|
|
@@ -35423,8 +35421,6 @@ export declare const firmwareCatalogPublishInput: z$1.ZodObject<{
|
|
|
35423
35421
|
}>;
|
|
35424
35422
|
version: z$1.ZodString;
|
|
35425
35423
|
notes: z$1.ZodString;
|
|
35426
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
35427
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
35428
35424
|
size: z$1.ZodInt;
|
|
35429
35425
|
sha256: z$1.ZodString;
|
|
35430
35426
|
file: z$1.ZodFile;
|
|
@@ -35440,8 +35436,6 @@ export declare const firmwareCatalogRelease: z$1.ZodObject<{
|
|
|
35440
35436
|
size: z$1.ZodInt;
|
|
35441
35437
|
sha256: z$1.ZodString;
|
|
35442
35438
|
notes: z$1.ZodString;
|
|
35443
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
35444
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
35445
35439
|
downloadUrl: z$1.ZodURL;
|
|
35446
35440
|
availableForUpdates: z$1.ZodBoolean;
|
|
35447
35441
|
}, z$1.core.$strip>;
|
|
@@ -35468,8 +35462,6 @@ export declare const firmwareCatalogContract: {
|
|
|
35468
35462
|
size: z$1.ZodInt;
|
|
35469
35463
|
sha256: z$1.ZodString;
|
|
35470
35464
|
notes: z$1.ZodString;
|
|
35471
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
35472
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
35473
35465
|
downloadUrl: z$1.ZodURL;
|
|
35474
35466
|
availableForUpdates: z$1.ZodBoolean;
|
|
35475
35467
|
}, z$1.core.$strip>>;
|
|
@@ -36897,8 +36889,6 @@ export declare const firmwareCatalogContract: {
|
|
|
36897
36889
|
size: z$1.ZodInt;
|
|
36898
36890
|
sha256: z$1.ZodString;
|
|
36899
36891
|
notes: z$1.ZodString;
|
|
36900
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
36901
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
36902
36892
|
downloadUrl: z$1.ZodURL;
|
|
36903
36893
|
availableForUpdates: z$1.ZodBoolean;
|
|
36904
36894
|
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -38318,8 +38308,6 @@ export declare const firmwareCatalogContract: {
|
|
|
38318
38308
|
}>;
|
|
38319
38309
|
version: z$1.ZodString;
|
|
38320
38310
|
notes: z$1.ZodString;
|
|
38321
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
38322
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
38323
38311
|
size: z$1.ZodInt;
|
|
38324
38312
|
sha256: z$1.ZodString;
|
|
38325
38313
|
file: z$1.ZodFile;
|
|
@@ -38334,8 +38322,6 @@ export declare const firmwareCatalogContract: {
|
|
|
38334
38322
|
size: z$1.ZodInt;
|
|
38335
38323
|
sha256: z$1.ZodString;
|
|
38336
38324
|
notes: z$1.ZodString;
|
|
38337
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
38338
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
38339
38325
|
downloadUrl: z$1.ZodURL;
|
|
38340
38326
|
availableForUpdates: z$1.ZodBoolean;
|
|
38341
38327
|
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -39762,8 +39748,6 @@ export declare const firmwareCatalogContract: {
|
|
|
39762
39748
|
size: z$1.ZodInt;
|
|
39763
39749
|
sha256: z$1.ZodString;
|
|
39764
39750
|
notes: z$1.ZodString;
|
|
39765
|
-
sourceRevision: z$1.ZodNullable<z$1.ZodString>;
|
|
39766
|
-
buildFingerprint: z$1.ZodNullable<z$1.ZodString>;
|
|
39767
39751
|
downloadUrl: z$1.ZodURL;
|
|
39768
39752
|
availableForUpdates: z$1.ZodBoolean;
|
|
39769
39753
|
}, z$1.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
package/dist/schemas.js
CHANGED