@vitessce/schemas 3.4.9 → 3.4.11

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/index.js CHANGED
@@ -4017,6 +4017,9 @@ const configSchema1_0_16 = configSchema1_0_13.extend({
4017
4017
  })
4018
4018
  )
4019
4019
  });
4020
+ const configSchema1_0_17 = configSchema1_0_16.extend({
4021
+ version: z.literal("1.0.17")
4022
+ });
4020
4023
  let getRandomValues;
4021
4024
  const rnds8 = new Uint8Array(16);
4022
4025
  function rng() {
@@ -5729,7 +5732,43 @@ function upgradeFrom1_0_15(config) {
5729
5732
  version: "1.0.16"
5730
5733
  };
5731
5734
  }
5732
- const latestConfigSchema = configSchema1_0_16;
5735
+ function upgradeFrom1_0_16(config) {
5736
+ const newConfig = cloneDeep(config);
5737
+ const { datasets } = newConfig;
5738
+ const newDatasets = datasets.map((datasetDef) => {
5739
+ const { files } = datasetDef;
5740
+ const newFiles = files.map((fileDef) => {
5741
+ const { fileType, options } = fileDef;
5742
+ if (fileType === "obsSets.anndata.zarr") {
5743
+ return {
5744
+ ...fileDef,
5745
+ options: {
5746
+ obsSets: options
5747
+ }
5748
+ };
5749
+ }
5750
+ if (fileType === "obsFeatureColumns.anndata.zarr") {
5751
+ return {
5752
+ ...fileDef,
5753
+ options: {
5754
+ obsFeatureColumns: options
5755
+ }
5756
+ };
5757
+ }
5758
+ return fileDef;
5759
+ });
5760
+ return {
5761
+ ...datasetDef,
5762
+ files: newFiles
5763
+ };
5764
+ });
5765
+ return {
5766
+ ...newConfig,
5767
+ datasets: newDatasets,
5768
+ version: "1.0.17"
5769
+ };
5770
+ }
5771
+ const latestConfigSchema = configSchema1_0_17;
5733
5772
  const SCHEMA_HANDLERS = [
5734
5773
  [configSchema0_1_0, upgradeFrom0_1_0],
5735
5774
  [configSchema1_0_0, upgradeFrom1_0_0],
@@ -5747,7 +5786,8 @@ const SCHEMA_HANDLERS = [
5747
5786
  [configSchema1_0_12, upgradeFrom1_0_12],
5748
5787
  [configSchema1_0_13, upgradeFrom1_0_13],
5749
5788
  [configSchema1_0_14, upgradeFrom1_0_14],
5750
- [configSchema1_0_15, upgradeFrom1_0_15]
5789
+ [configSchema1_0_15, upgradeFrom1_0_15],
5790
+ [configSchema1_0_16, upgradeFrom1_0_16]
5751
5791
  ];
5752
5792
  var re$3 = { exports: {} };
5753
5793
  const SEMVER_SPEC_VERSION = "2.0.0";
@@ -7893,6 +7933,7 @@ const FileType$1 = {
7893
7933
  // Joint file types
7894
7934
  ANNDATA_ZARR: "anndata.zarr",
7895
7935
  ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
7936
+ ANNDATA_H5AD: "anndata.h5ad",
7896
7937
  SPATIALDATA_ZARR: "spatialdata.zarr",
7897
7938
  // Atomic file types
7898
7939
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
@@ -7933,6 +7974,18 @@ const FileType$1 = {
7933
7974
  OBS_LABELS_ANNDATA_ZARR_ZIP: "obsLabels.anndata.zarr.zip",
7934
7975
  FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
7935
7976
  SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
7977
+ // AnnData - h5ad via reference spec
7978
+ OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
7979
+ OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
7980
+ OBS_SETS_ANNDATA_H5AD: "obsSets.anndata.h5ad",
7981
+ OBS_EMBEDDING_ANNDATA_H5AD: "obsEmbedding.anndata.h5ad",
7982
+ OBS_SPOTS_ANNDATA_H5AD: "obsSpots.anndata.h5ad",
7983
+ OBS_POINTS_ANNDATA_H5AD: "obsPoints.anndata.h5ad",
7984
+ OBS_LOCATIONS_ANNDATA_H5AD: "obsLocations.anndata.h5ad",
7985
+ OBS_SEGMENTATIONS_ANNDATA_H5AD: "obsSegmentations.anndata.h5ad",
7986
+ OBS_LABELS_ANNDATA_H5AD: "obsLabels.anndata.h5ad",
7987
+ FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
7988
+ SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
7936
7989
  // SpatialData
7937
7990
  IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
7938
7991
  LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
@@ -8281,10 +8334,11 @@ function makeConstantWithDeprecationMessage(currObj, oldObj) {
8281
8334
  const handler = {
8282
8335
  get(obj, prop) {
8283
8336
  const oldKeys = Object.keys(oldObj);
8284
- if (oldKeys.includes(prop)) {
8285
- console.warn(`Notice about the constant mapping ${prop}: '${oldObj[prop][0]}':
8286
- ${oldObj[prop][1]}`);
8287
- return oldObj[prop];
8337
+ const propKey = String(prop);
8338
+ if (oldKeys.includes(propKey)) {
8339
+ console.warn(`Notice about the constant mapping ${propKey}: '${oldObj[propKey][0]}':
8340
+ ${oldObj[propKey][1]}`);
8341
+ return oldObj[propKey];
8288
8342
  }
8289
8343
  return obj[prop];
8290
8344
  }
@@ -8506,7 +8560,7 @@ const annDataObsFeatureMatrix = z.object({
8506
8560
  featureFilterPath: z.string().optional().describe("If the feature index should be filtered, put a boolean column here (analogous to the previous geneFilter option). e.g., var/in_obsm_X_small_matrix"),
8507
8561
  initialFeatureFilterPath: z.string().optional().describe("If only a subset of the matrix should be loaded initially, put a boolean column along the feature axis here (analogous to the previous matrixGeneFilter option). e.g., var/highly_variable")
8508
8562
  });
8509
- const annDataObsSets = z.array(
8563
+ const annDataObsSetsArr = z.array(
8510
8564
  z.object({
8511
8565
  name: z.string().describe("The display name for the set, like 'Cell Type' or 'Louvain.'"),
8512
8566
  path: z.union([
@@ -8516,11 +8570,17 @@ const annDataObsSets = z.array(
8516
8570
  scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
8517
8571
  })
8518
8572
  );
8519
- const annDataObsFeatureColumns = z.array(
8573
+ const annDataObsSets = z.object({
8574
+ obsSets: annDataObsSetsArr
8575
+ });
8576
+ const annDataObsFeatureColumnsArr = z.array(
8520
8577
  z.object({
8521
8578
  path: z.string()
8522
8579
  })
8523
8580
  );
8581
+ const annDataObsFeatureColumns = z.object({
8582
+ obsFeatureColumns: annDataObsFeatureColumnsArr
8583
+ });
8524
8584
  const annDataObsSpots = annDataObsm;
8525
8585
  const annDataObsPoints = annDataObsm;
8526
8586
  const annDataObsLocations = annDataObsm;
@@ -8668,7 +8728,7 @@ const anndataZarrSchema = z.object({
8668
8728
  z.array(annDataConvenienceFeatureLabelsItem)
8669
8729
  ]),
8670
8730
  obsFeatureMatrix: annDataObsFeatureMatrix,
8671
- obsSets: annDataObsSets,
8731
+ obsSets: annDataObsSetsArr,
8672
8732
  obsSpots: annDataObsSpots,
8673
8733
  obsPoints: annDataObsPoints,
8674
8734
  obsLocations: annDataObsLocations,
@@ -8679,6 +8739,9 @@ const anndataZarrSchema = z.object({
8679
8739
  ]),
8680
8740
  sampleEdges: annDataSampleEdges
8681
8741
  }).partial();
8742
+ const anndataH5adSchema = anndataZarrSchema.extend({
8743
+ refSpecUrl: z.string()
8744
+ });
8682
8745
  const spatialdataZarrSchema = z.object({
8683
8746
  // TODO: should `image` be a special schema
8684
8747
  // to allow specifying fileUid (like for embeddingType)?
@@ -8780,6 +8843,7 @@ export {
8780
8843
  anndataCellSetsZarrSchema,
8781
8844
  anndataCellsZarrSchema,
8782
8845
  anndataExpressionMatrixZarrSchema,
8846
+ anndataH5adSchema,
8783
8847
  anndataZarrSchema,
8784
8848
  buildConfigSchema,
8785
8849
  cellsJsonSchema,
@@ -292,33 +292,51 @@ export declare const obsFeatureMatrixSpatialdataSchema: z.ZodObject<{
292
292
  export declare const obsSetsSpatialdataSchema: z.ZodObject<{
293
293
  region: z.ZodOptional<z.ZodString>;
294
294
  tablePath: z.ZodOptional<z.ZodString>;
295
- obsSets: z.ZodArray<z.ZodObject<{
296
- name: z.ZodString;
297
- path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
298
- scorePath: z.ZodOptional<z.ZodString>;
295
+ obsSets: z.ZodObject<{
296
+ obsSets: z.ZodArray<z.ZodObject<{
297
+ name: z.ZodString;
298
+ path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
299
+ scorePath: z.ZodOptional<z.ZodString>;
300
+ }, "strip", z.ZodTypeAny, {
301
+ path: (string | string[]) & (string | string[] | undefined);
302
+ name: string;
303
+ scorePath?: string | undefined;
304
+ }, {
305
+ path: (string | string[]) & (string | string[] | undefined);
306
+ name: string;
307
+ scorePath?: string | undefined;
308
+ }>, "many">;
299
309
  }, "strip", z.ZodTypeAny, {
300
- path: (string | string[]) & (string | string[] | undefined);
301
- name: string;
302
- scorePath?: string | undefined;
310
+ obsSets: {
311
+ path: (string | string[]) & (string | string[] | undefined);
312
+ name: string;
313
+ scorePath?: string | undefined;
314
+ }[];
303
315
  }, {
304
- path: (string | string[]) & (string | string[] | undefined);
305
- name: string;
306
- scorePath?: string | undefined;
307
- }>, "many">;
316
+ obsSets: {
317
+ path: (string | string[]) & (string | string[] | undefined);
318
+ name: string;
319
+ scorePath?: string | undefined;
320
+ }[];
321
+ }>;
308
322
  }, "strip", z.ZodTypeAny, {
309
323
  obsSets: {
310
- path: (string | string[]) & (string | string[] | undefined);
311
- name: string;
312
- scorePath?: string | undefined;
313
- }[];
324
+ obsSets: {
325
+ path: (string | string[]) & (string | string[] | undefined);
326
+ name: string;
327
+ scorePath?: string | undefined;
328
+ }[];
329
+ };
314
330
  region?: string | undefined;
315
331
  tablePath?: string | undefined;
316
332
  }, {
317
333
  obsSets: {
318
- path: (string | string[]) & (string | string[] | undefined);
319
- name: string;
320
- scorePath?: string | undefined;
321
- }[];
334
+ obsSets: {
335
+ path: (string | string[]) & (string | string[] | undefined);
336
+ name: string;
337
+ scorePath?: string | undefined;
338
+ }[];
339
+ };
322
340
  region?: string | undefined;
323
341
  tablePath?: string | undefined;
324
342
  }>;
@@ -424,19 +442,33 @@ export declare const obsSegmentationsAnndataSchema: z.ZodObject<{
424
442
  }, {
425
443
  path: string;
426
444
  }>;
427
- export declare const obsSetsAnndataSchema: z.ZodArray<z.ZodObject<{
428
- name: z.ZodString;
429
- path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
430
- scorePath: z.ZodOptional<z.ZodString>;
445
+ export declare const obsSetsAnndataSchema: z.ZodObject<{
446
+ obsSets: z.ZodArray<z.ZodObject<{
447
+ name: z.ZodString;
448
+ path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
449
+ scorePath: z.ZodOptional<z.ZodString>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ path: (string | string[]) & (string | string[] | undefined);
452
+ name: string;
453
+ scorePath?: string | undefined;
454
+ }, {
455
+ path: (string | string[]) & (string | string[] | undefined);
456
+ name: string;
457
+ scorePath?: string | undefined;
458
+ }>, "many">;
431
459
  }, "strip", z.ZodTypeAny, {
432
- path: (string | string[]) & (string | string[] | undefined);
433
- name: string;
434
- scorePath?: string | undefined;
460
+ obsSets: {
461
+ path: (string | string[]) & (string | string[] | undefined);
462
+ name: string;
463
+ scorePath?: string | undefined;
464
+ }[];
435
465
  }, {
436
- path: (string | string[]) & (string | string[] | undefined);
437
- name: string;
438
- scorePath?: string | undefined;
439
- }>, "many">;
466
+ obsSets: {
467
+ path: (string | string[]) & (string | string[] | undefined);
468
+ name: string;
469
+ scorePath?: string | undefined;
470
+ }[];
471
+ }>;
440
472
  export declare const obsFeatureMatrixAnndataSchema: z.ZodObject<{
441
473
  path: z.ZodString;
442
474
  featureFilterPath: z.ZodOptional<z.ZodString>;
@@ -464,13 +496,23 @@ export declare const featureLabelsAnndataSchema: z.ZodObject<{
464
496
  }, {
465
497
  path: string;
466
498
  }>;
467
- export declare const obsFeatureColumnsAnndataSchema: z.ZodArray<z.ZodObject<{
468
- path: z.ZodString;
499
+ export declare const obsFeatureColumnsAnndataSchema: z.ZodObject<{
500
+ obsFeatureColumns: z.ZodArray<z.ZodObject<{
501
+ path: z.ZodString;
502
+ }, "strip", z.ZodTypeAny, {
503
+ path: string;
504
+ }, {
505
+ path: string;
506
+ }>, "many">;
469
507
  }, "strip", z.ZodTypeAny, {
470
- path: string;
508
+ obsFeatureColumns: {
509
+ path: string;
510
+ }[];
471
511
  }, {
472
- path: string;
473
- }>, "many">;
512
+ obsFeatureColumns: {
513
+ path: string;
514
+ }[];
515
+ }>;
474
516
  export declare const sampleEdgesAnndataSchema: z.ZodObject<{
475
517
  path: z.ZodString;
476
518
  }, "strip", z.ZodTypeAny, {
@@ -825,6 +867,233 @@ export declare const anndataZarrSchema: z.ZodObject<{
825
867
  path: string;
826
868
  } | undefined;
827
869
  }>;
870
+ export declare const anndataH5adSchema: z.ZodObject<{
871
+ obsSets: z.ZodOptional<z.ZodArray<z.ZodObject<{
872
+ name: z.ZodString;
873
+ path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
874
+ scorePath: z.ZodOptional<z.ZodString>;
875
+ }, "strip", z.ZodTypeAny, {
876
+ path: (string | string[]) & (string | string[] | undefined);
877
+ name: string;
878
+ scorePath?: string | undefined;
879
+ }, {
880
+ path: (string | string[]) & (string | string[] | undefined);
881
+ name: string;
882
+ scorePath?: string | undefined;
883
+ }>, "many">>;
884
+ obsEmbedding: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
885
+ path: z.ZodString;
886
+ dims: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
887
+ }, "strip", z.ZodTypeAny, {
888
+ path: string;
889
+ dims?: number[] | undefined;
890
+ }, {
891
+ path: string;
892
+ dims?: number[] | undefined;
893
+ }>, z.ZodArray<z.ZodObject<{
894
+ path: z.ZodString;
895
+ dims: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
896
+ embeddingType: z.ZodString;
897
+ }, "strip", z.ZodTypeAny, {
898
+ path: string;
899
+ embeddingType: string;
900
+ dims?: number[] | undefined;
901
+ }, {
902
+ path: string;
903
+ embeddingType: string;
904
+ dims?: number[] | undefined;
905
+ }>, "many">]>>;
906
+ obsSpots: z.ZodOptional<z.ZodObject<{
907
+ path: z.ZodString;
908
+ dims: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
909
+ }, "strip", z.ZodTypeAny, {
910
+ path: string;
911
+ dims?: number[] | undefined;
912
+ }, {
913
+ path: string;
914
+ dims?: number[] | undefined;
915
+ }>>;
916
+ obsPoints: z.ZodOptional<z.ZodObject<{
917
+ path: z.ZodString;
918
+ dims: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ path: string;
921
+ dims?: number[] | undefined;
922
+ }, {
923
+ path: string;
924
+ dims?: number[] | undefined;
925
+ }>>;
926
+ obsLocations: z.ZodOptional<z.ZodObject<{
927
+ path: z.ZodString;
928
+ dims: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
929
+ }, "strip", z.ZodTypeAny, {
930
+ path: string;
931
+ dims?: number[] | undefined;
932
+ }, {
933
+ path: string;
934
+ dims?: number[] | undefined;
935
+ }>>;
936
+ obsLabels: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
937
+ path: z.ZodString;
938
+ }, "strip", z.ZodTypeAny, {
939
+ path: string;
940
+ }, {
941
+ path: string;
942
+ }>, z.ZodArray<z.ZodObject<{
943
+ path: z.ZodString;
944
+ obsLabelsType: z.ZodString;
945
+ }, "strip", z.ZodTypeAny, {
946
+ path: string;
947
+ obsLabelsType: string;
948
+ }, {
949
+ path: string;
950
+ obsLabelsType: string;
951
+ }>, "many">]>>;
952
+ featureLabels: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
953
+ path: z.ZodString;
954
+ }, "strip", z.ZodTypeAny, {
955
+ path: string;
956
+ }, {
957
+ path: string;
958
+ }>, z.ZodArray<z.ZodObject<{
959
+ path: z.ZodString;
960
+ featureLabelsType: z.ZodString;
961
+ }, "strip", z.ZodTypeAny, {
962
+ path: string;
963
+ featureLabelsType: string;
964
+ }, {
965
+ path: string;
966
+ featureLabelsType: string;
967
+ }>, "many">]>>;
968
+ obsFeatureMatrix: z.ZodOptional<z.ZodObject<{
969
+ path: z.ZodString;
970
+ featureFilterPath: z.ZodOptional<z.ZodString>;
971
+ initialFeatureFilterPath: z.ZodOptional<z.ZodString>;
972
+ }, "strip", z.ZodTypeAny, {
973
+ path: string;
974
+ featureFilterPath?: string | undefined;
975
+ initialFeatureFilterPath?: string | undefined;
976
+ }, {
977
+ path: string;
978
+ featureFilterPath?: string | undefined;
979
+ initialFeatureFilterPath?: string | undefined;
980
+ }>>;
981
+ obsSegmentations: z.ZodOptional<z.ZodObject<{
982
+ path: z.ZodString;
983
+ }, "strip", z.ZodTypeAny, {
984
+ path: string;
985
+ }, {
986
+ path: string;
987
+ }>>;
988
+ sampleEdges: z.ZodOptional<z.ZodObject<{
989
+ path: z.ZodString;
990
+ }, "strip", z.ZodTypeAny, {
991
+ path: string;
992
+ }, {
993
+ path: string;
994
+ }>>;
995
+ refSpecUrl: z.ZodString;
996
+ }, "strip", z.ZodTypeAny, {
997
+ refSpecUrl: string;
998
+ obsSets?: {
999
+ path: (string | string[]) & (string | string[] | undefined);
1000
+ name: string;
1001
+ scorePath?: string | undefined;
1002
+ }[] | undefined;
1003
+ obsEmbedding?: {
1004
+ path: string;
1005
+ dims?: number[] | undefined;
1006
+ } | {
1007
+ path: string;
1008
+ embeddingType: string;
1009
+ dims?: number[] | undefined;
1010
+ }[] | undefined;
1011
+ obsSpots?: {
1012
+ path: string;
1013
+ dims?: number[] | undefined;
1014
+ } | undefined;
1015
+ obsPoints?: {
1016
+ path: string;
1017
+ dims?: number[] | undefined;
1018
+ } | undefined;
1019
+ obsLocations?: {
1020
+ path: string;
1021
+ dims?: number[] | undefined;
1022
+ } | undefined;
1023
+ obsLabels?: {
1024
+ path: string;
1025
+ } | {
1026
+ path: string;
1027
+ obsLabelsType: string;
1028
+ }[] | undefined;
1029
+ featureLabels?: {
1030
+ path: string;
1031
+ } | {
1032
+ path: string;
1033
+ featureLabelsType: string;
1034
+ }[] | undefined;
1035
+ obsFeatureMatrix?: {
1036
+ path: string;
1037
+ featureFilterPath?: string | undefined;
1038
+ initialFeatureFilterPath?: string | undefined;
1039
+ } | undefined;
1040
+ obsSegmentations?: {
1041
+ path: string;
1042
+ } | undefined;
1043
+ sampleEdges?: {
1044
+ path: string;
1045
+ } | undefined;
1046
+ }, {
1047
+ refSpecUrl: string;
1048
+ obsSets?: {
1049
+ path: (string | string[]) & (string | string[] | undefined);
1050
+ name: string;
1051
+ scorePath?: string | undefined;
1052
+ }[] | undefined;
1053
+ obsEmbedding?: {
1054
+ path: string;
1055
+ dims?: number[] | undefined;
1056
+ } | {
1057
+ path: string;
1058
+ embeddingType: string;
1059
+ dims?: number[] | undefined;
1060
+ }[] | undefined;
1061
+ obsSpots?: {
1062
+ path: string;
1063
+ dims?: number[] | undefined;
1064
+ } | undefined;
1065
+ obsPoints?: {
1066
+ path: string;
1067
+ dims?: number[] | undefined;
1068
+ } | undefined;
1069
+ obsLocations?: {
1070
+ path: string;
1071
+ dims?: number[] | undefined;
1072
+ } | undefined;
1073
+ obsLabels?: {
1074
+ path: string;
1075
+ } | {
1076
+ path: string;
1077
+ obsLabelsType: string;
1078
+ }[] | undefined;
1079
+ featureLabels?: {
1080
+ path: string;
1081
+ } | {
1082
+ path: string;
1083
+ featureLabelsType: string;
1084
+ }[] | undefined;
1085
+ obsFeatureMatrix?: {
1086
+ path: string;
1087
+ featureFilterPath?: string | undefined;
1088
+ initialFeatureFilterPath?: string | undefined;
1089
+ } | undefined;
1090
+ obsSegmentations?: {
1091
+ path: string;
1092
+ } | undefined;
1093
+ sampleEdges?: {
1094
+ path: string;
1095
+ } | undefined;
1096
+ }>;
828
1097
  export declare const spatialdataZarrSchema: z.ZodObject<{
829
1098
  image: z.ZodOptional<z.ZodObject<{
830
1099
  coordinateTransformations: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -912,33 +1181,51 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
912
1181
  obsSets: z.ZodOptional<z.ZodObject<{
913
1182
  region: z.ZodOptional<z.ZodString>;
914
1183
  tablePath: z.ZodOptional<z.ZodString>;
915
- obsSets: z.ZodArray<z.ZodObject<{
916
- name: z.ZodString;
917
- path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
918
- scorePath: z.ZodOptional<z.ZodString>;
1184
+ obsSets: z.ZodObject<{
1185
+ obsSets: z.ZodArray<z.ZodObject<{
1186
+ name: z.ZodString;
1187
+ path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1188
+ scorePath: z.ZodOptional<z.ZodString>;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ path: (string | string[]) & (string | string[] | undefined);
1191
+ name: string;
1192
+ scorePath?: string | undefined;
1193
+ }, {
1194
+ path: (string | string[]) & (string | string[] | undefined);
1195
+ name: string;
1196
+ scorePath?: string | undefined;
1197
+ }>, "many">;
919
1198
  }, "strip", z.ZodTypeAny, {
920
- path: (string | string[]) & (string | string[] | undefined);
921
- name: string;
922
- scorePath?: string | undefined;
1199
+ obsSets: {
1200
+ path: (string | string[]) & (string | string[] | undefined);
1201
+ name: string;
1202
+ scorePath?: string | undefined;
1203
+ }[];
923
1204
  }, {
924
- path: (string | string[]) & (string | string[] | undefined);
925
- name: string;
926
- scorePath?: string | undefined;
927
- }>, "many">;
1205
+ obsSets: {
1206
+ path: (string | string[]) & (string | string[] | undefined);
1207
+ name: string;
1208
+ scorePath?: string | undefined;
1209
+ }[];
1210
+ }>;
928
1211
  }, "strip", z.ZodTypeAny, {
929
1212
  obsSets: {
930
- path: (string | string[]) & (string | string[] | undefined);
931
- name: string;
932
- scorePath?: string | undefined;
933
- }[];
1213
+ obsSets: {
1214
+ path: (string | string[]) & (string | string[] | undefined);
1215
+ name: string;
1216
+ scorePath?: string | undefined;
1217
+ }[];
1218
+ };
934
1219
  region?: string | undefined;
935
1220
  tablePath?: string | undefined;
936
1221
  }, {
937
1222
  obsSets: {
938
- path: (string | string[]) & (string | string[] | undefined);
939
- name: string;
940
- scorePath?: string | undefined;
941
- }[];
1223
+ obsSets: {
1224
+ path: (string | string[]) & (string | string[] | undefined);
1225
+ name: string;
1226
+ scorePath?: string | undefined;
1227
+ }[];
1228
+ };
942
1229
  region?: string | undefined;
943
1230
  tablePath?: string | undefined;
944
1231
  }>>;
@@ -970,10 +1257,12 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
970
1257
  } | undefined;
971
1258
  obsSets?: {
972
1259
  obsSets: {
973
- path: (string | string[]) & (string | string[] | undefined);
974
- name: string;
975
- scorePath?: string | undefined;
976
- }[];
1260
+ obsSets: {
1261
+ path: (string | string[]) & (string | string[] | undefined);
1262
+ name: string;
1263
+ scorePath?: string | undefined;
1264
+ }[];
1265
+ };
977
1266
  region?: string | undefined;
978
1267
  tablePath?: string | undefined;
979
1268
  } | undefined;
@@ -1005,10 +1294,12 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
1005
1294
  } | undefined;
1006
1295
  obsSets?: {
1007
1296
  obsSets: {
1008
- path: (string | string[]) & (string | string[] | undefined);
1009
- name: string;
1010
- scorePath?: string | undefined;
1011
- }[];
1297
+ obsSets: {
1298
+ path: (string | string[]) & (string | string[] | undefined);
1299
+ name: string;
1300
+ scorePath?: string | undefined;
1301
+ }[];
1302
+ };
1012
1303
  region?: string | undefined;
1013
1304
  tablePath?: string | undefined;
1014
1305
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"file-def-options.d.ts","sourceRoot":"","sources":["../src/file-def-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyFxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;E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