semaphor 0.0.17 → 0.0.18

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.
@@ -3048,7 +3048,7 @@ function u9(e) {
3048
3048
  n.value = ((t = e == null ? void 0 : e.current) == null ? void 0 : t.innerText) ?? "", document.body.appendChild(n), n.select(), document.execCommand("copy"), document.body.removeChild(n), console.log("Content copied to clipboard");
3049
3049
  }
3050
3050
  }
3051
- var d9 = { VITE_SEMAPHOR_API: "http://localhost:3000/api/v1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
3051
+ var d9 = { VITE_SEMAPHOR_API: "https://semaphor.cloud/api/v1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
3052
3052
  const LS = (e) => {
3053
3053
  let t;
3054
3054
  const n = /* @__PURE__ */ new Set(), r = (l, c) => {
@@ -3308,7 +3308,7 @@ function m9() {
3308
3308
  process.env.NODE_ENV === "production" ? Ub.exports = m9() : Ub.exports = g9();
3309
3309
  var v9 = Ub.exports;
3310
3310
  const b9 = /* @__PURE__ */ Rd(v9);
3311
- var CP = { VITE_SEMAPHOR_API: "http://localhost:3000/api/v1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
3311
+ var CP = { VITE_SEMAPHOR_API: "https://semaphor.cloud/api/v1", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
3312
3312
  const { useDebugValue: y9 } = Ee, { useSyncExternalStoreWithSelector: x9 } = b9;
3313
3313
  let HS = !1;
3314
3314
  function w9(e, t = e.getState, n) {
@@ -10085,7 +10085,7 @@ const zy = () => {
10085
10085
  };
10086
10086
  async function _F(e, t) {
10087
10087
  return await (await fetch(
10088
- `http://localhost:3000/api/v1/dashboard?id=${e}`,
10088
+ `https://semaphor.cloud/api/v1/dashboard?id=${e}`,
10089
10089
  {
10090
10090
  headers: {
10091
10091
  Authorization: `Bearer ${t}`
@@ -26254,7 +26254,7 @@ function JU(e) {
26254
26254
  ), o = QU((e == null ? void 0 : e.refreshInterval) || "0"), s = Gr({
26255
26255
  queryKey: [e.id, e.sql],
26256
26256
  queryFn: () => ja(
26257
- "http://localhost:3000/api/v1/data",
26257
+ "https://semaphor.cloud/api/v1/data",
26258
26258
  (n == null ? void 0 : n.accessToken) || "",
26259
26259
  {
26260
26260
  visual_id: e.id,
@@ -26273,7 +26273,7 @@ function JU(e) {
26273
26273
  }), a = Gr({
26274
26274
  queryKey: [e.id, e.sql],
26275
26275
  queryFn: () => ja(
26276
- "http://localhost:3000/api/v1/query",
26276
+ "https://semaphor.cloud/api/v1/query",
26277
26277
  (n == null ? void 0 : n.accessToken) || "",
26278
26278
  {
26279
26279
  connection_id: e.connectionId,
@@ -31381,7 +31381,7 @@ function YK(e) {
31381
31381
  } = Gr({
31382
31382
  queryKey: [e || "connections"],
31383
31383
  queryFn: () => Ll(
31384
- "http://localhost:3000/api/v1/connections",
31384
+ "https://semaphor.cloud/api/v1/connections",
31385
31385
  (n == null ? void 0 : n.accessToken) || ""
31386
31386
  ),
31387
31387
  enabled: !!(n != null && n.accessToken)
@@ -31397,7 +31397,7 @@ function YK(e) {
31397
31397
  } = Gr({
31398
31398
  queryKey: [r],
31399
31399
  queryFn: () => Ll(
31400
- "http://localhost:3000/api/v1/databases",
31400
+ "https://semaphor.cloud/api/v1/databases",
31401
31401
  (n == null ? void 0 : n.accessToken) || "",
31402
31402
  {
31403
31403
  connection_id: r
@@ -31414,7 +31414,7 @@ function YK(e) {
31414
31414
  } = Gr({
31415
31415
  queryKey: [r, i],
31416
31416
  queryFn: () => Ll(
31417
- "http://localhost:3000/api/v1/schemas",
31417
+ "https://semaphor.cloud/api/v1/schemas",
31418
31418
  (n == null ? void 0 : n.accessToken) || "",
31419
31419
  {
31420
31420
  connection_id: r,
@@ -31432,7 +31432,7 @@ function YK(e) {
31432
31432
  } = Gr({
31433
31433
  queryKey: [r, i, o],
31434
31434
  queryFn: () => Ll(
31435
- "http://localhost:3000/api/v1/tables",
31435
+ "https://semaphor.cloud/api/v1/tables",
31436
31436
  (n == null ? void 0 : n.accessToken) || "",
31437
31437
  {
31438
31438
  connection_id: r,
@@ -31450,7 +31450,7 @@ function YK(e) {
31450
31450
  } = Gr({
31451
31451
  queryKey: [r, i, s],
31452
31452
  queryFn: () => Ll(
31453
- "http://localhost:3000/api/v1/columns",
31453
+ "https://semaphor.cloud/api/v1/columns",
31454
31454
  (n == null ? void 0 : n.accessToken) || "",
31455
31455
  {
31456
31456
  connection_id: r,
@@ -31469,7 +31469,7 @@ function YK(e) {
31469
31469
  } = Gr({
31470
31470
  queryKey: ["api", r],
31471
31471
  queryFn: () => ja(
31472
- "http://localhost:3000/api/v1/query",
31472
+ "https://semaphor.cloud/api/v1/query",
31473
31473
  (n == null ? void 0 : n.accessToken) || "",
31474
31474
  {
31475
31475
  connection_id: r,
@@ -33547,7 +33547,7 @@ function TQ({ filter: e }) {
33547
33547
  ), { data: g, isLoading: p, isFetching: m, isError: b, refetch: y } = Gr({
33548
33548
  queryKey: [e.sql],
33549
33549
  queryFn: () => ja(
33550
- "http://localhost:3000/api/v1/query",
33550
+ "https://semaphor.cloud/api/v1/query",
33551
33551
  (l == null ? void 0 : l.accessToken) || "",
33552
33552
  {
33553
33553
  connection_id: e.connectionId,
@@ -37563,7 +37563,7 @@ function Ote({
37563
37563
  ), { data: g, isLoading: p, isFetching: m, isError: b, refetch: y } = Gr({
37564
37564
  queryKey: [e.sql],
37565
37565
  queryFn: () => ja(
37566
- "http://localhost:3000/api/v1/query",
37566
+ "https://semaphor.cloud/api/v1/query",
37567
37567
  (c == null ? void 0 : c.accessToken) || "",
37568
37568
  {
37569
37569
  connection_id: e.connectionId,
@@ -42676,7 +42676,7 @@ function bse() {
42676
42676
  return;
42677
42677
  console.log("onOpenChange");
42678
42678
  const l = await ja(
42679
- "http://localhost:3000/api/v1/filter-sql",
42679
+ "https://semaphor.cloud/api/v1/filter-sql",
42680
42680
  (e == null ? void 0 : e.accessToken) || "",
42681
42681
  {
42682
42682
  sql: s,
@@ -49477,7 +49477,7 @@ function Gue({
49477
49477
  Visual Query Syntax: ${Uue}`, { data: x, isLoading: _, isFetching: S, isError: O, refetch: E } = Gr({
49478
49478
  queryKey: ["ai-query"],
49479
49479
  queryFn: () => Ll(
49480
- "http://localhost:3000/api/v1/ai",
49480
+ "https://semaphor.cloud/api/v1/ai",
49481
49481
  (s == null ? void 0 : s.accessToken) || "",
49482
49482
  {
49483
49483
  user_content: `userContent: ${b} ${a ? y : ""}`
@@ -49660,7 +49660,7 @@ function Yue() {
49660
49660
  } = Gr({
49661
49661
  queryKey: [S],
49662
49662
  queryFn: () => ja(
49663
- "http://localhost:3000/api/v1/query",
49663
+ "https://semaphor.cloud/api/v1/query",
49664
49664
  (f == null ? void 0 : f.accessToken) || "",
49665
49665
  {
49666
49666
  connection_id: O,