oleander-cli 0.25.1 → 0.25.2

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 (2) hide show
  1. package/dist/index.cjs +4 -15
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -43758,18 +43758,12 @@ function registerCatalogNamespaceCommands(namespaces) {
43758
43758
 
43759
43759
  // src/commands/catalogs/list-format.ts
43760
43760
  var TYPE_ORDER = ["lakekeeper", "s3tables", "horizon", "tableflow"];
43761
- var TYPE_LABEL = {
43762
- lakekeeper: "oleander-managed",
43763
- s3tables: "Amazon S3 Tables",
43764
- horizon: "Snowflake Horizon",
43765
- tableflow: "Confluent Tableflow"
43766
- };
43767
43761
  var EMPTY_REGION = "\u2014";
43768
43762
  function catalogsToResults(catalogs) {
43769
43763
  const columns = ["catalog", "type", "region", "created"];
43770
43764
  const rows = [...catalogs].sort(compareCatalogType).map((catalog) => [
43771
43765
  catalog.name ?? null,
43772
- catalogTypeLabel(catalog.type),
43766
+ catalog.type ?? null,
43773
43767
  propertyValue(catalog, "region"),
43774
43768
  formatCreated(catalog.created_at)
43775
43769
  ]);
@@ -43798,10 +43792,6 @@ function compareCatalogType(left2, right2) {
43798
43792
  if (rightIndex === -1) return -1;
43799
43793
  return leftIndex - rightIndex;
43800
43794
  }
43801
- function catalogTypeLabel(type) {
43802
- if (!type) return null;
43803
- return TYPE_LABEL[type] ?? type;
43804
- }
43805
43795
  function formatCreated(value) {
43806
43796
  if (!value) return null;
43807
43797
  const match = /^(\d{4}-\d{2}-\d{2})/.exec(value);
@@ -43920,9 +43910,8 @@ var FIELDS_BY_TYPE = {
43920
43910
  };
43921
43911
  function catalogDetailFields(catalog) {
43922
43912
  const fields = [];
43923
- const type = catalogTypeLabel(catalog.type);
43924
- if (type) {
43925
- fields.push({ key: "type", label: "Type", value: type });
43913
+ if (catalog.type) {
43914
+ fields.push({ key: "type", label: "Type", value: catalog.type });
43926
43915
  }
43927
43916
  for (const field of FIELDS_BY_TYPE[catalog.type ?? ""] ?? []) {
43928
43917
  const value = propertyValue2(catalog, field.key);
@@ -45770,7 +45759,7 @@ var import_fs7 = require("fs");
45770
45759
  // package.json
45771
45760
  var package_default = {
45772
45761
  name: "oleander-cli",
45773
- version: "0.25.1",
45762
+ version: "0.25.2",
45774
45763
  description: "oleander CLI",
45775
45764
  keywords: [
45776
45765
  "cli",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oleander-cli",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "description": "oleander CLI",
5
5
  "keywords": [
6
6
  "cli",