@camstack/types 1.1.0 → 1.1.1

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.
@@ -3680,6 +3680,119 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3680
3680
  meta: object;
3681
3681
  }>;
3682
3682
  }>>;
3683
+ modelConvert: import("@trpc/server").TRPCBuiltRouter<{
3684
+ ctx: TrpcContext;
3685
+ meta: object;
3686
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3687
+ transformer: true;
3688
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
3689
+ convert: import("@trpc/server").TRPCMutationProcedure<{
3690
+ input: {
3691
+ [x: string]: unknown;
3692
+ sourceUrl: string;
3693
+ metadata: {
3694
+ id: string;
3695
+ name: string;
3696
+ labels: readonly {
3697
+ id: string;
3698
+ name: string;
3699
+ category?: string | undefined;
3700
+ description?: string | undefined;
3701
+ icon?: string | undefined;
3702
+ }[];
3703
+ inputSize: {
3704
+ width: number;
3705
+ height: number;
3706
+ };
3707
+ outputFormat: "classification" | "embedding" | "yolo" | "ssd" | "ocr" | "segmentation";
3708
+ inputLayout?: "nchw" | "nhwc" | undefined;
3709
+ inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
3710
+ preprocessMode?: "letterbox" | "resize" | undefined;
3711
+ faceAlignment?: boolean | undefined;
3712
+ };
3713
+ targets: readonly ({
3714
+ format: "openvino";
3715
+ precisions: readonly ("fp16" | "int8")[];
3716
+ } | {
3717
+ format: "coreml";
3718
+ })[];
3719
+ calibrationRef?: string | undefined;
3720
+ sessionId?: string | undefined;
3721
+ };
3722
+ output: {
3723
+ entry: {
3724
+ id: string;
3725
+ name: string;
3726
+ description: string;
3727
+ formats: {
3728
+ onnx?: {
3729
+ url: string;
3730
+ sizeMB: number;
3731
+ isDirectory?: boolean | undefined;
3732
+ files?: readonly string[] | undefined;
3733
+ runtimes?: readonly ("node" | "python")[] | undefined;
3734
+ } | undefined;
3735
+ coreml?: {
3736
+ url: string;
3737
+ sizeMB: number;
3738
+ isDirectory?: boolean | undefined;
3739
+ files?: readonly string[] | undefined;
3740
+ runtimes?: readonly ("node" | "python")[] | undefined;
3741
+ } | undefined;
3742
+ openvino?: {
3743
+ url: string;
3744
+ sizeMB: number;
3745
+ isDirectory?: boolean | undefined;
3746
+ files?: readonly string[] | undefined;
3747
+ runtimes?: readonly ("node" | "python")[] | undefined;
3748
+ } | undefined;
3749
+ tflite?: {
3750
+ url: string;
3751
+ sizeMB: number;
3752
+ isDirectory?: boolean | undefined;
3753
+ files?: readonly string[] | undefined;
3754
+ runtimes?: readonly ("node" | "python")[] | undefined;
3755
+ } | undefined;
3756
+ pt?: {
3757
+ url: string;
3758
+ sizeMB: number;
3759
+ isDirectory?: boolean | undefined;
3760
+ files?: readonly string[] | undefined;
3761
+ runtimes?: readonly ("node" | "python")[] | undefined;
3762
+ } | undefined;
3763
+ };
3764
+ inputSize: {
3765
+ width: number;
3766
+ height: number;
3767
+ };
3768
+ labels: readonly {
3769
+ id: string;
3770
+ name: string;
3771
+ category?: string | undefined;
3772
+ description?: string | undefined;
3773
+ icon?: string | undefined;
3774
+ }[];
3775
+ inputLayout?: "nchw" | "nhwc" | undefined;
3776
+ inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
3777
+ preprocessMode?: "letterbox" | "resize" | undefined;
3778
+ faceAlignment?: boolean | undefined;
3779
+ extraFiles?: readonly {
3780
+ url: string;
3781
+ filename: string;
3782
+ sizeMB: number;
3783
+ }[] | undefined;
3784
+ };
3785
+ artifacts: readonly {
3786
+ format: "onnx" | "coreml" | "openvino" | "tflite" | "pt";
3787
+ sizeMB: number;
3788
+ validated: boolean;
3789
+ files: readonly string[];
3790
+ precision?: "fp16" | "int8" | undefined;
3791
+ }[];
3792
+ };
3793
+ meta: object;
3794
+ }>;
3795
+ }>>;
3683
3796
  platformProbe: import("@trpc/server").TRPCBuiltRouter<{
3684
3797
  ctx: TrpcContext;
3685
3798
  meta: object;
@@ -5822,6 +5935,85 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5822
5935
  meta: object;
5823
5936
  }>;
5824
5937
  }>>;
5938
+ customModelRegistry: import("@trpc/server").TRPCBuiltRouter<{
5939
+ ctx: TrpcContext;
5940
+ meta: object;
5941
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5942
+ transformer: true;
5943
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
5944
+ listModels: import("@trpc/server").TRPCQueryProcedure<{
5945
+ input: {
5946
+ nodeId?: string | undefined;
5947
+ addonId?: string | undefined;
5948
+ } | undefined;
5949
+ output: readonly {
5950
+ stepId: string;
5951
+ entry: {
5952
+ id: string;
5953
+ name: string;
5954
+ description: string;
5955
+ formats: {
5956
+ onnx?: {
5957
+ url: string;
5958
+ sizeMB: number;
5959
+ isDirectory?: boolean | undefined;
5960
+ files?: readonly string[] | undefined;
5961
+ runtimes?: readonly ("node" | "python")[] | undefined;
5962
+ } | undefined;
5963
+ coreml?: {
5964
+ url: string;
5965
+ sizeMB: number;
5966
+ isDirectory?: boolean | undefined;
5967
+ files?: readonly string[] | undefined;
5968
+ runtimes?: readonly ("node" | "python")[] | undefined;
5969
+ } | undefined;
5970
+ openvino?: {
5971
+ url: string;
5972
+ sizeMB: number;
5973
+ isDirectory?: boolean | undefined;
5974
+ files?: readonly string[] | undefined;
5975
+ runtimes?: readonly ("node" | "python")[] | undefined;
5976
+ } | undefined;
5977
+ tflite?: {
5978
+ url: string;
5979
+ sizeMB: number;
5980
+ isDirectory?: boolean | undefined;
5981
+ files?: readonly string[] | undefined;
5982
+ runtimes?: readonly ("node" | "python")[] | undefined;
5983
+ } | undefined;
5984
+ pt?: {
5985
+ url: string;
5986
+ sizeMB: number;
5987
+ isDirectory?: boolean | undefined;
5988
+ files?: readonly string[] | undefined;
5989
+ runtimes?: readonly ("node" | "python")[] | undefined;
5990
+ } | undefined;
5991
+ };
5992
+ inputSize: {
5993
+ width: number;
5994
+ height: number;
5995
+ };
5996
+ labels: readonly {
5997
+ id: string;
5998
+ name: string;
5999
+ category?: string | undefined;
6000
+ description?: string | undefined;
6001
+ icon?: string | undefined;
6002
+ }[];
6003
+ inputLayout?: "nchw" | "nhwc" | undefined;
6004
+ inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
6005
+ preprocessMode?: "letterbox" | "resize" | undefined;
6006
+ faceAlignment?: boolean | undefined;
6007
+ extraFiles?: readonly {
6008
+ url: string;
6009
+ filename: string;
6010
+ sizeMB: number;
6011
+ }[] | undefined;
6012
+ };
6013
+ }[];
6014
+ meta: object;
6015
+ }>;
6016
+ }>>;
5825
6017
  detectionPipeline: import("@trpc/server").TRPCBuiltRouter<{
5826
6018
  ctx: TrpcContext;
5827
6019
  meta: object;
@@ -8693,6 +8885,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8693
8885
  pid: number;
8694
8886
  cpu: number;
8695
8887
  memory: number;
8888
+ privateBytes?: number | undefined;
8889
+ sharedBytes?: number | undefined;
8696
8890
  }[];
8697
8891
  meta: object;
8698
8892
  }>;
@@ -8719,6 +8913,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8719
8913
  pid: number;
8720
8914
  cpu: number;
8721
8915
  memory: number;
8916
+ privateBytes?: number | undefined;
8917
+ sharedBytes?: number | undefined;
8722
8918
  } | null;
8723
8919
  meta: object;
8724
8920
  }>;
@@ -8755,8 +8951,100 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8755
8951
  meta: object;
8756
8952
  }>;
8757
8953
  dumpHeapSnapshot: import("@trpc/server").TRPCMutationProcedure<{
8758
- input: any;
8759
- output: any;
8954
+ input: {
8955
+ [x: string]: unknown;
8956
+ addonId: string;
8957
+ };
8958
+ output: {
8959
+ success: boolean;
8960
+ path?: string | undefined;
8961
+ pid?: number | undefined;
8962
+ reason?: string | undefined;
8963
+ };
8964
+ meta: object;
8965
+ }>;
8966
+ }>>;
8967
+ modelDistributor: import("@trpc/server").TRPCBuiltRouter<{
8968
+ ctx: TrpcContext;
8969
+ meta: object;
8970
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8971
+ transformer: true;
8972
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
8973
+ distributeModel: import("@trpc/server").TRPCMutationProcedure<{
8974
+ input: {
8975
+ [x: string]: unknown;
8976
+ nodeId: string;
8977
+ modelId: string;
8978
+ format: "onnx" | "coreml" | "openvino" | "tflite" | "pt";
8979
+ entry: {
8980
+ id: string;
8981
+ name: string;
8982
+ description: string;
8983
+ formats: {
8984
+ onnx?: {
8985
+ url: string;
8986
+ sizeMB: number;
8987
+ isDirectory?: boolean | undefined;
8988
+ files?: readonly string[] | undefined;
8989
+ runtimes?: readonly ("node" | "python")[] | undefined;
8990
+ } | undefined;
8991
+ coreml?: {
8992
+ url: string;
8993
+ sizeMB: number;
8994
+ isDirectory?: boolean | undefined;
8995
+ files?: readonly string[] | undefined;
8996
+ runtimes?: readonly ("node" | "python")[] | undefined;
8997
+ } | undefined;
8998
+ openvino?: {
8999
+ url: string;
9000
+ sizeMB: number;
9001
+ isDirectory?: boolean | undefined;
9002
+ files?: readonly string[] | undefined;
9003
+ runtimes?: readonly ("node" | "python")[] | undefined;
9004
+ } | undefined;
9005
+ tflite?: {
9006
+ url: string;
9007
+ sizeMB: number;
9008
+ isDirectory?: boolean | undefined;
9009
+ files?: readonly string[] | undefined;
9010
+ runtimes?: readonly ("node" | "python")[] | undefined;
9011
+ } | undefined;
9012
+ pt?: {
9013
+ url: string;
9014
+ sizeMB: number;
9015
+ isDirectory?: boolean | undefined;
9016
+ files?: readonly string[] | undefined;
9017
+ runtimes?: readonly ("node" | "python")[] | undefined;
9018
+ } | undefined;
9019
+ };
9020
+ inputSize: {
9021
+ width: number;
9022
+ height: number;
9023
+ };
9024
+ labels: readonly {
9025
+ id: string;
9026
+ name: string;
9027
+ category?: string | undefined;
9028
+ description?: string | undefined;
9029
+ icon?: string | undefined;
9030
+ }[];
9031
+ inputLayout?: "nchw" | "nhwc" | undefined;
9032
+ inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
9033
+ preprocessMode?: "letterbox" | "resize" | undefined;
9034
+ faceAlignment?: boolean | undefined;
9035
+ extraFiles?: readonly {
9036
+ url: string;
9037
+ filename: string;
9038
+ sizeMB: number;
9039
+ }[] | undefined;
9040
+ };
9041
+ };
9042
+ output: {
9043
+ ok: boolean;
9044
+ sha256: string;
9045
+ bytes: number;
9046
+ path: string;
9047
+ };
8760
9048
  meta: object;
8761
9049
  }>;
8762
9050
  }>>;
@@ -11146,8 +11434,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11146
11434
  upsertLocation: import("@trpc/server").TRPCMutationProcedure<{
11147
11435
  input: {
11148
11436
  [x: string]: unknown;
11149
- type: string;
11150
11437
  id: string;
11438
+ type: string;
11151
11439
  displayName: string;
11152
11440
  providerId: string;
11153
11441
  config: Record<string, unknown>;
@@ -17039,6 +17327,119 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17039
17327
  meta: object;
17040
17328
  }>;
17041
17329
  }>>;
17330
+ modelConvert: import("@trpc/server").TRPCBuiltRouter<{
17331
+ ctx: TrpcContext;
17332
+ meta: object;
17333
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17334
+ transformer: true;
17335
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
17336
+ convert: import("@trpc/server").TRPCMutationProcedure<{
17337
+ input: {
17338
+ [x: string]: unknown;
17339
+ sourceUrl: string;
17340
+ metadata: {
17341
+ id: string;
17342
+ name: string;
17343
+ labels: readonly {
17344
+ id: string;
17345
+ name: string;
17346
+ category?: string | undefined;
17347
+ description?: string | undefined;
17348
+ icon?: string | undefined;
17349
+ }[];
17350
+ inputSize: {
17351
+ width: number;
17352
+ height: number;
17353
+ };
17354
+ outputFormat: "classification" | "embedding" | "yolo" | "ssd" | "ocr" | "segmentation";
17355
+ inputLayout?: "nchw" | "nhwc" | undefined;
17356
+ inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
17357
+ preprocessMode?: "letterbox" | "resize" | undefined;
17358
+ faceAlignment?: boolean | undefined;
17359
+ };
17360
+ targets: readonly ({
17361
+ format: "openvino";
17362
+ precisions: readonly ("fp16" | "int8")[];
17363
+ } | {
17364
+ format: "coreml";
17365
+ })[];
17366
+ calibrationRef?: string | undefined;
17367
+ sessionId?: string | undefined;
17368
+ };
17369
+ output: {
17370
+ entry: {
17371
+ id: string;
17372
+ name: string;
17373
+ description: string;
17374
+ formats: {
17375
+ onnx?: {
17376
+ url: string;
17377
+ sizeMB: number;
17378
+ isDirectory?: boolean | undefined;
17379
+ files?: readonly string[] | undefined;
17380
+ runtimes?: readonly ("node" | "python")[] | undefined;
17381
+ } | undefined;
17382
+ coreml?: {
17383
+ url: string;
17384
+ sizeMB: number;
17385
+ isDirectory?: boolean | undefined;
17386
+ files?: readonly string[] | undefined;
17387
+ runtimes?: readonly ("node" | "python")[] | undefined;
17388
+ } | undefined;
17389
+ openvino?: {
17390
+ url: string;
17391
+ sizeMB: number;
17392
+ isDirectory?: boolean | undefined;
17393
+ files?: readonly string[] | undefined;
17394
+ runtimes?: readonly ("node" | "python")[] | undefined;
17395
+ } | undefined;
17396
+ tflite?: {
17397
+ url: string;
17398
+ sizeMB: number;
17399
+ isDirectory?: boolean | undefined;
17400
+ files?: readonly string[] | undefined;
17401
+ runtimes?: readonly ("node" | "python")[] | undefined;
17402
+ } | undefined;
17403
+ pt?: {
17404
+ url: string;
17405
+ sizeMB: number;
17406
+ isDirectory?: boolean | undefined;
17407
+ files?: readonly string[] | undefined;
17408
+ runtimes?: readonly ("node" | "python")[] | undefined;
17409
+ } | undefined;
17410
+ };
17411
+ inputSize: {
17412
+ width: number;
17413
+ height: number;
17414
+ };
17415
+ labels: readonly {
17416
+ id: string;
17417
+ name: string;
17418
+ category?: string | undefined;
17419
+ description?: string | undefined;
17420
+ icon?: string | undefined;
17421
+ }[];
17422
+ inputLayout?: "nchw" | "nhwc" | undefined;
17423
+ inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
17424
+ preprocessMode?: "letterbox" | "resize" | undefined;
17425
+ faceAlignment?: boolean | undefined;
17426
+ extraFiles?: readonly {
17427
+ url: string;
17428
+ filename: string;
17429
+ sizeMB: number;
17430
+ }[] | undefined;
17431
+ };
17432
+ artifacts: readonly {
17433
+ format: "onnx" | "coreml" | "openvino" | "tflite" | "pt";
17434
+ sizeMB: number;
17435
+ validated: boolean;
17436
+ files: readonly string[];
17437
+ precision?: "fp16" | "int8" | undefined;
17438
+ }[];
17439
+ };
17440
+ meta: object;
17441
+ }>;
17442
+ }>>;
17042
17443
  platformProbe: import("@trpc/server").TRPCBuiltRouter<{
17043
17444
  ctx: TrpcContext;
17044
17445
  meta: object;
@@ -19181,6 +19582,85 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19181
19582
  meta: object;
19182
19583
  }>;
19183
19584
  }>>;
19585
+ customModelRegistry: import("@trpc/server").TRPCBuiltRouter<{
19586
+ ctx: TrpcContext;
19587
+ meta: object;
19588
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19589
+ transformer: true;
19590
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
19591
+ listModels: import("@trpc/server").TRPCQueryProcedure<{
19592
+ input: {
19593
+ nodeId?: string | undefined;
19594
+ addonId?: string | undefined;
19595
+ } | undefined;
19596
+ output: readonly {
19597
+ stepId: string;
19598
+ entry: {
19599
+ id: string;
19600
+ name: string;
19601
+ description: string;
19602
+ formats: {
19603
+ onnx?: {
19604
+ url: string;
19605
+ sizeMB: number;
19606
+ isDirectory?: boolean | undefined;
19607
+ files?: readonly string[] | undefined;
19608
+ runtimes?: readonly ("node" | "python")[] | undefined;
19609
+ } | undefined;
19610
+ coreml?: {
19611
+ url: string;
19612
+ sizeMB: number;
19613
+ isDirectory?: boolean | undefined;
19614
+ files?: readonly string[] | undefined;
19615
+ runtimes?: readonly ("node" | "python")[] | undefined;
19616
+ } | undefined;
19617
+ openvino?: {
19618
+ url: string;
19619
+ sizeMB: number;
19620
+ isDirectory?: boolean | undefined;
19621
+ files?: readonly string[] | undefined;
19622
+ runtimes?: readonly ("node" | "python")[] | undefined;
19623
+ } | undefined;
19624
+ tflite?: {
19625
+ url: string;
19626
+ sizeMB: number;
19627
+ isDirectory?: boolean | undefined;
19628
+ files?: readonly string[] | undefined;
19629
+ runtimes?: readonly ("node" | "python")[] | undefined;
19630
+ } | undefined;
19631
+ pt?: {
19632
+ url: string;
19633
+ sizeMB: number;
19634
+ isDirectory?: boolean | undefined;
19635
+ files?: readonly string[] | undefined;
19636
+ runtimes?: readonly ("node" | "python")[] | undefined;
19637
+ } | undefined;
19638
+ };
19639
+ inputSize: {
19640
+ width: number;
19641
+ height: number;
19642
+ };
19643
+ labels: readonly {
19644
+ id: string;
19645
+ name: string;
19646
+ category?: string | undefined;
19647
+ description?: string | undefined;
19648
+ icon?: string | undefined;
19649
+ }[];
19650
+ inputLayout?: "nchw" | "nhwc" | undefined;
19651
+ inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
19652
+ preprocessMode?: "letterbox" | "resize" | undefined;
19653
+ faceAlignment?: boolean | undefined;
19654
+ extraFiles?: readonly {
19655
+ url: string;
19656
+ filename: string;
19657
+ sizeMB: number;
19658
+ }[] | undefined;
19659
+ };
19660
+ }[];
19661
+ meta: object;
19662
+ }>;
19663
+ }>>;
19184
19664
  detectionPipeline: import("@trpc/server").TRPCBuiltRouter<{
19185
19665
  ctx: TrpcContext;
19186
19666
  meta: object;
@@ -22052,6 +22532,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
22052
22532
  pid: number;
22053
22533
  cpu: number;
22054
22534
  memory: number;
22535
+ privateBytes?: number | undefined;
22536
+ sharedBytes?: number | undefined;
22055
22537
  }[];
22056
22538
  meta: object;
22057
22539
  }>;
@@ -22078,6 +22560,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
22078
22560
  pid: number;
22079
22561
  cpu: number;
22080
22562
  memory: number;
22563
+ privateBytes?: number | undefined;
22564
+ sharedBytes?: number | undefined;
22081
22565
  } | null;
22082
22566
  meta: object;
22083
22567
  }>;
@@ -22114,8 +22598,100 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
22114
22598
  meta: object;
22115
22599
  }>;
22116
22600
  dumpHeapSnapshot: import("@trpc/server").TRPCMutationProcedure<{
22117
- input: any;
22118
- output: any;
22601
+ input: {
22602
+ [x: string]: unknown;
22603
+ addonId: string;
22604
+ };
22605
+ output: {
22606
+ success: boolean;
22607
+ path?: string | undefined;
22608
+ pid?: number | undefined;
22609
+ reason?: string | undefined;
22610
+ };
22611
+ meta: object;
22612
+ }>;
22613
+ }>>;
22614
+ modelDistributor: import("@trpc/server").TRPCBuiltRouter<{
22615
+ ctx: TrpcContext;
22616
+ meta: object;
22617
+ errorShape: import("@camstack/types").AugmentedErrorShape;
22618
+ transformer: true;
22619
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
22620
+ distributeModel: import("@trpc/server").TRPCMutationProcedure<{
22621
+ input: {
22622
+ [x: string]: unknown;
22623
+ nodeId: string;
22624
+ modelId: string;
22625
+ format: "onnx" | "coreml" | "openvino" | "tflite" | "pt";
22626
+ entry: {
22627
+ id: string;
22628
+ name: string;
22629
+ description: string;
22630
+ formats: {
22631
+ onnx?: {
22632
+ url: string;
22633
+ sizeMB: number;
22634
+ isDirectory?: boolean | undefined;
22635
+ files?: readonly string[] | undefined;
22636
+ runtimes?: readonly ("node" | "python")[] | undefined;
22637
+ } | undefined;
22638
+ coreml?: {
22639
+ url: string;
22640
+ sizeMB: number;
22641
+ isDirectory?: boolean | undefined;
22642
+ files?: readonly string[] | undefined;
22643
+ runtimes?: readonly ("node" | "python")[] | undefined;
22644
+ } | undefined;
22645
+ openvino?: {
22646
+ url: string;
22647
+ sizeMB: number;
22648
+ isDirectory?: boolean | undefined;
22649
+ files?: readonly string[] | undefined;
22650
+ runtimes?: readonly ("node" | "python")[] | undefined;
22651
+ } | undefined;
22652
+ tflite?: {
22653
+ url: string;
22654
+ sizeMB: number;
22655
+ isDirectory?: boolean | undefined;
22656
+ files?: readonly string[] | undefined;
22657
+ runtimes?: readonly ("node" | "python")[] | undefined;
22658
+ } | undefined;
22659
+ pt?: {
22660
+ url: string;
22661
+ sizeMB: number;
22662
+ isDirectory?: boolean | undefined;
22663
+ files?: readonly string[] | undefined;
22664
+ runtimes?: readonly ("node" | "python")[] | undefined;
22665
+ } | undefined;
22666
+ };
22667
+ inputSize: {
22668
+ width: number;
22669
+ height: number;
22670
+ };
22671
+ labels: readonly {
22672
+ id: string;
22673
+ name: string;
22674
+ category?: string | undefined;
22675
+ description?: string | undefined;
22676
+ icon?: string | undefined;
22677
+ }[];
22678
+ inputLayout?: "nchw" | "nhwc" | undefined;
22679
+ inputNormalization?: "none" | "zero-one" | "imagenet" | undefined;
22680
+ preprocessMode?: "letterbox" | "resize" | undefined;
22681
+ faceAlignment?: boolean | undefined;
22682
+ extraFiles?: readonly {
22683
+ url: string;
22684
+ filename: string;
22685
+ sizeMB: number;
22686
+ }[] | undefined;
22687
+ };
22688
+ };
22689
+ output: {
22690
+ ok: boolean;
22691
+ sha256: string;
22692
+ bytes: number;
22693
+ path: string;
22694
+ };
22119
22695
  meta: object;
22120
22696
  }>;
22121
22697
  }>>;
@@ -24505,8 +25081,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
24505
25081
  upsertLocation: import("@trpc/server").TRPCMutationProcedure<{
24506
25082
  input: {
24507
25083
  [x: string]: unknown;
24508
- type: string;
24509
25084
  id: string;
25085
+ type: string;
24510
25086
  displayName: string;
24511
25087
  providerId: string;
24512
25088
  config: Record<string, unknown>;