@symbo.ls/sdk 2.33.1 → 2.33.3

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.
@@ -126,6 +126,22 @@ const CONFIG = {
126
126
  typesensePort: "443",
127
127
  typesenseProtocol: "https"
128
128
  },
129
+ preview: {
130
+ socketUrl: "https://api.symbols.app",
131
+ apiUrl: "https://api.symbols.app",
132
+ basedEnv: "production",
133
+ basedProject: "platform-v2-sm",
134
+ basedOrg: "symbols",
135
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
136
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
137
+ // For grafana tracing
138
+ grafanaAppName: "Symbols Preview",
139
+ typesenseCollectionName: "docs",
140
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
141
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
142
+ typesensePort: "443",
143
+ typesenseProtocol: "https"
144
+ },
129
145
  production: {
130
146
  socketUrl: "https://api.symbols.app",
131
147
  apiUrl: "https://api.symbols.app",
@@ -177,6 +193,7 @@ const getConfig = () => {
177
193
  isDevelopment: (0, import_utils.isDevelopment)(env),
178
194
  isTesting: env === "testing",
179
195
  isStaging: env === "staging",
196
+ isPreview: env === "preview",
180
197
  isProduction: env === "production"
181
198
  // Store all environment variables for potential future use
182
199
  };
package/dist/cjs/index.js CHANGED
@@ -64,6 +64,7 @@ class SDK {
64
64
  this._services = /* @__PURE__ */ new Map();
65
65
  this._context = {};
66
66
  this._options = this._validateOptions(options);
67
+ this.environment = import_environment.default;
67
68
  this.rootBus = import_rootEventBus.rootBus;
68
69
  this._createServiceProxies();
69
70
  }
@@ -167,14 +167,14 @@ function computeOrdersForTuples(root, tuples = []) {
167
167
  }
168
168
  const [action, path] = t;
169
169
  const p = normalizePath(path);
170
- if (!Array.isArray(p) || p.length < 3) {
170
+ if (!Array.isArray(p) || p.length < 2) {
171
171
  continue;
172
172
  }
173
173
  if (p[0] === "schema") {
174
174
  continue;
175
175
  }
176
- const [typeName, containerKey, childKey] = p;
177
- const containerPath = [typeName, containerKey];
176
+ const containerPath = p.slice(0, -1);
177
+ const childKey = p[p.length - 1];
178
178
  const key = JSON.stringify(containerPath);
179
179
  if (!pendingChildrenByContainer.has(key)) {
180
180
  pendingChildrenByContainer.set(key, /* @__PURE__ */ new Set());
@@ -259,12 +259,47 @@ function computeOrdersForTuples(root, tuples = []) {
259
259
  }
260
260
  const pending = pendingChildrenByContainer.get(k);
261
261
  if (pending && pending.size) {
262
- const existing = new Set(v.keys);
262
+ const existingKeys = v.keys;
263
+ const existingSet = new Set(existingKeys);
264
+ const META_KEYS = /* @__PURE__ */ new Set([
265
+ "style",
266
+ "class",
267
+ "text",
268
+ "html",
269
+ "content",
270
+ "data",
271
+ "attr",
272
+ "state",
273
+ "scope",
274
+ "define",
275
+ "on",
276
+ "extend",
277
+ "extends",
278
+ "childExtend",
279
+ "childExtends",
280
+ "children",
281
+ "component",
282
+ "context",
283
+ "tag",
284
+ "key",
285
+ "__order",
286
+ "if"
287
+ ]);
288
+ let firstMetaIndex = existingKeys.length;
289
+ for (let j = 0; j < existingKeys.length; j++) {
290
+ if (META_KEYS.has(existingKeys[j])) {
291
+ firstMetaIndex = j;
292
+ break;
293
+ }
294
+ }
263
295
  for (const child of pending) {
264
- if (existing.has(child)) {
296
+ if (existingSet.has(child)) {
265
297
  continue;
266
298
  }
267
- v.keys.push(child);
299
+ const insertIndex = firstMetaIndex;
300
+ existingKeys.splice(insertIndex, 0, child);
301
+ existingSet.add(child);
302
+ firstMetaIndex++;
268
303
  }
269
304
  }
270
305
  seen.add(k);
@@ -104,6 +104,22 @@ var CONFIG = {
104
104
  typesensePort: "443",
105
105
  typesenseProtocol: "https"
106
106
  },
107
+ preview: {
108
+ socketUrl: "https://api.symbols.app",
109
+ apiUrl: "https://api.symbols.app",
110
+ basedEnv: "production",
111
+ basedProject: "platform-v2-sm",
112
+ basedOrg: "symbols",
113
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
114
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
115
+ // For grafana tracing
116
+ grafanaAppName: "Symbols Preview",
117
+ typesenseCollectionName: "docs",
118
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
119
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
120
+ typesensePort: "443",
121
+ typesenseProtocol: "https"
122
+ },
107
123
  production: {
108
124
  socketUrl: "https://api.symbols.app",
109
125
  apiUrl: "https://api.symbols.app",
@@ -154,6 +170,7 @@ var getConfig = () => {
154
170
  isDevelopment: isDevelopment(env),
155
171
  isTesting: env === "testing",
156
172
  isStaging: env === "staging",
173
+ isPreview: env === "preview",
157
174
  isProduction: env === "production"
158
175
  // Store all environment variables for potential future use
159
176
  };
package/dist/esm/index.js CHANGED
@@ -31066,6 +31066,22 @@ var CONFIG = {
31066
31066
  typesensePort: "443",
31067
31067
  typesenseProtocol: "https"
31068
31068
  },
31069
+ preview: {
31070
+ socketUrl: "https://api.symbols.app",
31071
+ apiUrl: "https://api.symbols.app",
31072
+ basedEnv: "production",
31073
+ basedProject: "platform-v2-sm",
31074
+ basedOrg: "symbols",
31075
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
31076
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
31077
+ // For grafana tracing
31078
+ grafanaAppName: "Symbols Preview",
31079
+ typesenseCollectionName: "docs",
31080
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
31081
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
31082
+ typesensePort: "443",
31083
+ typesenseProtocol: "https"
31084
+ },
31069
31085
  production: {
31070
31086
  socketUrl: "https://api.symbols.app",
31071
31087
  apiUrl: "https://api.symbols.app",
@@ -31116,6 +31132,7 @@ var getConfig = () => {
31116
31132
  isDevelopment: isDevelopment(env),
31117
31133
  isTesting: env === "testing",
31118
31134
  isStaging: env === "staging",
31135
+ isPreview: env === "preview",
31119
31136
  isProduction: env === "production"
31120
31137
  // Store all environment variables for potential future use
31121
31138
  };
@@ -42782,14 +42799,14 @@ function computeOrdersForTuples(root, tuples = []) {
42782
42799
  }
42783
42800
  const [action, path] = t4;
42784
42801
  const p3 = normalizePath(path);
42785
- if (!Array.isArray(p3) || p3.length < 3) {
42802
+ if (!Array.isArray(p3) || p3.length < 2) {
42786
42803
  continue;
42787
42804
  }
42788
42805
  if (p3[0] === "schema") {
42789
42806
  continue;
42790
42807
  }
42791
- const [typeName, containerKey, childKey] = p3;
42792
- const containerPath = [typeName, containerKey];
42808
+ const containerPath = p3.slice(0, -1);
42809
+ const childKey = p3[p3.length - 1];
42793
42810
  const key = JSON.stringify(containerPath);
42794
42811
  if (!pendingChildrenByContainer.has(key)) {
42795
42812
  pendingChildrenByContainer.set(key, /* @__PURE__ */ new Set());
@@ -42874,12 +42891,47 @@ function computeOrdersForTuples(root, tuples = []) {
42874
42891
  }
42875
42892
  const pending = pendingChildrenByContainer.get(k3);
42876
42893
  if (pending && pending.size) {
42877
- const existing = new Set(v3.keys);
42894
+ const existingKeys = v3.keys;
42895
+ const existingSet = new Set(existingKeys);
42896
+ const META_KEYS = /* @__PURE__ */ new Set([
42897
+ "style",
42898
+ "class",
42899
+ "text",
42900
+ "html",
42901
+ "content",
42902
+ "data",
42903
+ "attr",
42904
+ "state",
42905
+ "scope",
42906
+ "define",
42907
+ "on",
42908
+ "extend",
42909
+ "extends",
42910
+ "childExtend",
42911
+ "childExtends",
42912
+ "children",
42913
+ "component",
42914
+ "context",
42915
+ "tag",
42916
+ "key",
42917
+ "__order",
42918
+ "if"
42919
+ ]);
42920
+ let firstMetaIndex = existingKeys.length;
42921
+ for (let j3 = 0; j3 < existingKeys.length; j3++) {
42922
+ if (META_KEYS.has(existingKeys[j3])) {
42923
+ firstMetaIndex = j3;
42924
+ break;
42925
+ }
42926
+ }
42878
42927
  for (const child of pending) {
42879
- if (existing.has(child)) {
42928
+ if (existingSet.has(child)) {
42880
42929
  continue;
42881
42930
  }
42882
- v3.keys.push(child);
42931
+ const insertIndex = firstMetaIndex;
42932
+ existingKeys.splice(insertIndex, 0, child);
42933
+ existingSet.add(child);
42934
+ firstMetaIndex++;
42883
42935
  }
42884
42936
  }
42885
42937
  seen.add(k3);
@@ -48526,6 +48578,7 @@ var SDK = class {
48526
48578
  this._services = /* @__PURE__ */ new Map();
48527
48579
  this._context = {};
48528
48580
  this._options = this._validateOptions(options);
48581
+ this.environment = environment_default;
48529
48582
  this.rootBus = rootBus;
48530
48583
  this._createServiceProxies();
48531
48584
  }
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -14191,6 +14191,22 @@ var CONFIG = {
14191
14191
  typesensePort: "443",
14192
14192
  typesenseProtocol: "https"
14193
14193
  },
14194
+ preview: {
14195
+ socketUrl: "https://api.symbols.app",
14196
+ apiUrl: "https://api.symbols.app",
14197
+ basedEnv: "production",
14198
+ basedProject: "platform-v2-sm",
14199
+ basedOrg: "symbols",
14200
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
14201
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
14202
+ // For grafana tracing
14203
+ grafanaAppName: "Symbols Preview",
14204
+ typesenseCollectionName: "docs",
14205
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
14206
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
14207
+ typesensePort: "443",
14208
+ typesenseProtocol: "https"
14209
+ },
14194
14210
  production: {
14195
14211
  socketUrl: "https://api.symbols.app",
14196
14212
  apiUrl: "https://api.symbols.app",
@@ -14241,6 +14257,7 @@ var getConfig = () => {
14241
14257
  isDevelopment: isDevelopment(env),
14242
14258
  isTesting: env === "testing",
14243
14259
  isStaging: env === "staging",
14260
+ isPreview: env === "preview",
14244
14261
  isProduction: env === "production"
14245
14262
  // Store all environment variables for potential future use
14246
14263
  };
@@ -24857,14 +24874,14 @@ function computeOrdersForTuples(root, tuples = []) {
24857
24874
  }
24858
24875
  const [action, path] = t;
24859
24876
  const p = normalizePath(path);
24860
- if (!Array.isArray(p) || p.length < 3) {
24877
+ if (!Array.isArray(p) || p.length < 2) {
24861
24878
  continue;
24862
24879
  }
24863
24880
  if (p[0] === "schema") {
24864
24881
  continue;
24865
24882
  }
24866
- const [typeName, containerKey, childKey] = p;
24867
- const containerPath = [typeName, containerKey];
24883
+ const containerPath = p.slice(0, -1);
24884
+ const childKey = p[p.length - 1];
24868
24885
  const key = JSON.stringify(containerPath);
24869
24886
  if (!pendingChildrenByContainer.has(key)) {
24870
24887
  pendingChildrenByContainer.set(key, /* @__PURE__ */ new Set());
@@ -24949,12 +24966,47 @@ function computeOrdersForTuples(root, tuples = []) {
24949
24966
  }
24950
24967
  const pending = pendingChildrenByContainer.get(k);
24951
24968
  if (pending && pending.size) {
24952
- const existing = new Set(v.keys);
24969
+ const existingKeys = v.keys;
24970
+ const existingSet = new Set(existingKeys);
24971
+ const META_KEYS = /* @__PURE__ */ new Set([
24972
+ "style",
24973
+ "class",
24974
+ "text",
24975
+ "html",
24976
+ "content",
24977
+ "data",
24978
+ "attr",
24979
+ "state",
24980
+ "scope",
24981
+ "define",
24982
+ "on",
24983
+ "extend",
24984
+ "extends",
24985
+ "childExtend",
24986
+ "childExtends",
24987
+ "children",
24988
+ "component",
24989
+ "context",
24990
+ "tag",
24991
+ "key",
24992
+ "__order",
24993
+ "if"
24994
+ ]);
24995
+ let firstMetaIndex = existingKeys.length;
24996
+ for (let j = 0; j < existingKeys.length; j++) {
24997
+ if (META_KEYS.has(existingKeys[j])) {
24998
+ firstMetaIndex = j;
24999
+ break;
25000
+ }
25001
+ }
24953
25002
  for (const child of pending) {
24954
- if (existing.has(child)) {
25003
+ if (existingSet.has(child)) {
24955
25004
  continue;
24956
25005
  }
24957
- v.keys.push(child);
25006
+ const insertIndex = firstMetaIndex;
25007
+ existingKeys.splice(insertIndex, 0, child);
25008
+ existingSet.add(child);
25009
+ firstMetaIndex++;
24958
25010
  }
24959
25011
  }
24960
25012
  seen.add(k);
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };