@xh/hoist 68.0.0-SNAPSHOT.1726067879775 → 68.0.0-SNAPSHOT.1726237236739

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.
@@ -154,7 +154,8 @@ export const instance: ColumnSpec = {
154
154
  field: {
155
155
  name: 'instance',
156
156
  type: 'string',
157
- displayName: 'Instance'
157
+ isDimension: true,
158
+ aggregator: 'UNIQUE'
158
159
  },
159
160
  width: 100
160
161
  };
@@ -123,6 +123,11 @@ export declare class XHApi {
123
123
  * @see FetchService.fetchJson
124
124
  */
125
125
  fetchJson(opts: FetchOptions): Promise<any>;
126
+ /**
127
+ * Send a POST request with a JSON body and decode the response as JSON.
128
+ * @see FetchService.postJson
129
+ */
130
+ postJson(opts: FetchOptions): Promise<any>;
126
131
  /**
127
132
  * Read soft configuration values.
128
133
  * @see ConfigService.get
package/core/XH.ts CHANGED
@@ -272,6 +272,14 @@ export class XHApi {
272
272
  return this.fetchService.fetchJson(opts);
273
273
  }
274
274
 
275
+ /**
276
+ * Send a POST request with a JSON body and decode the response as JSON.
277
+ * @see FetchService.postJson
278
+ */
279
+ postJson(opts: FetchOptions): Promise<any> {
280
+ return this.fetchService.postJson(opts);
281
+ }
282
+
275
283
  /**
276
284
  * Read soft configuration values.
277
285
  * @see ConfigService.get
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "68.0.0-SNAPSHOT.1726067879775",
3
+ "version": "68.0.0-SNAPSHOT.1726237236739",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",