@uniformdev/canvas 19.156.0 → 19.157.0
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.d.mts +1710 -1856
- package/dist/index.d.ts +1710 -1856
- package/dist/index.esm.js +0 -43
- package/dist/index.js +0 -43
- package/dist/index.mjs +0 -43
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
@@ -2302,49 +2302,6 @@ var RelationshipClient = class extends ApiClient8 {
|
|
2302
2302
|
const url = this.createUrl(RELATIONSHIPS_URL, { ...options, projectId });
|
2303
2303
|
return this.apiClient(url);
|
2304
2304
|
};
|
2305
|
-
this.clearProjectRelationships = async () => {
|
2306
|
-
const { projectId } = this.options;
|
2307
|
-
const url = this.createUrl(RELATIONSHIPS_URL);
|
2308
|
-
return this.apiClient(url, {
|
2309
|
-
method: "POST",
|
2310
|
-
body: JSON.stringify({
|
2311
|
-
action: "clear",
|
2312
|
-
projectId
|
2313
|
-
})
|
2314
|
-
});
|
2315
|
-
};
|
2316
|
-
this.indexRelationships = async ({ state, id, type }) => {
|
2317
|
-
const { projectId } = this.options;
|
2318
|
-
const url = this.createUrl(RELATIONSHIPS_URL);
|
2319
|
-
return this.apiClient(url, {
|
2320
|
-
method: "POST",
|
2321
|
-
body: JSON.stringify({
|
2322
|
-
action: "index",
|
2323
|
-
type,
|
2324
|
-
projectId,
|
2325
|
-
state,
|
2326
|
-
id
|
2327
|
-
})
|
2328
|
-
});
|
2329
|
-
};
|
2330
|
-
this.getVersion = async () => {
|
2331
|
-
const { projectId } = this.options;
|
2332
|
-
const url = this.createUrl("/api/v1/usage-tracking", {
|
2333
|
-
projectId
|
2334
|
-
});
|
2335
|
-
return this.apiClient(url).then((response) => response.version);
|
2336
|
-
};
|
2337
|
-
this.setVersion = async (version) => {
|
2338
|
-
const { projectId } = this.options;
|
2339
|
-
const url = this.createUrl("/api/v1/usage-tracking");
|
2340
|
-
return this.apiClient(url, {
|
2341
|
-
method: "POST",
|
2342
|
-
body: JSON.stringify({
|
2343
|
-
projectId,
|
2344
|
-
version
|
2345
|
-
})
|
2346
|
-
});
|
2347
|
-
};
|
2348
2305
|
}
|
2349
2306
|
};
|
2350
2307
|
|
package/dist/index.js
CHANGED
@@ -2439,49 +2439,6 @@ var RelationshipClient = class extends import_api9.ApiClient {
|
|
2439
2439
|
const url = this.createUrl(RELATIONSHIPS_URL, { ...options, projectId });
|
2440
2440
|
return this.apiClient(url);
|
2441
2441
|
};
|
2442
|
-
this.clearProjectRelationships = async () => {
|
2443
|
-
const { projectId } = this.options;
|
2444
|
-
const url = this.createUrl(RELATIONSHIPS_URL);
|
2445
|
-
return this.apiClient(url, {
|
2446
|
-
method: "POST",
|
2447
|
-
body: JSON.stringify({
|
2448
|
-
action: "clear",
|
2449
|
-
projectId
|
2450
|
-
})
|
2451
|
-
});
|
2452
|
-
};
|
2453
|
-
this.indexRelationships = async ({ state, id, type }) => {
|
2454
|
-
const { projectId } = this.options;
|
2455
|
-
const url = this.createUrl(RELATIONSHIPS_URL);
|
2456
|
-
return this.apiClient(url, {
|
2457
|
-
method: "POST",
|
2458
|
-
body: JSON.stringify({
|
2459
|
-
action: "index",
|
2460
|
-
type,
|
2461
|
-
projectId,
|
2462
|
-
state,
|
2463
|
-
id
|
2464
|
-
})
|
2465
|
-
});
|
2466
|
-
};
|
2467
|
-
this.getVersion = async () => {
|
2468
|
-
const { projectId } = this.options;
|
2469
|
-
const url = this.createUrl("/api/v1/usage-tracking", {
|
2470
|
-
projectId
|
2471
|
-
});
|
2472
|
-
return this.apiClient(url).then((response) => response.version);
|
2473
|
-
};
|
2474
|
-
this.setVersion = async (version) => {
|
2475
|
-
const { projectId } = this.options;
|
2476
|
-
const url = this.createUrl("/api/v1/usage-tracking");
|
2477
|
-
return this.apiClient(url, {
|
2478
|
-
method: "POST",
|
2479
|
-
body: JSON.stringify({
|
2480
|
-
projectId,
|
2481
|
-
version
|
2482
|
-
})
|
2483
|
-
});
|
2484
|
-
};
|
2485
2442
|
}
|
2486
2443
|
};
|
2487
2444
|
|
package/dist/index.mjs
CHANGED
@@ -2302,49 +2302,6 @@ var RelationshipClient = class extends ApiClient8 {
|
|
2302
2302
|
const url = this.createUrl(RELATIONSHIPS_URL, { ...options, projectId });
|
2303
2303
|
return this.apiClient(url);
|
2304
2304
|
};
|
2305
|
-
this.clearProjectRelationships = async () => {
|
2306
|
-
const { projectId } = this.options;
|
2307
|
-
const url = this.createUrl(RELATIONSHIPS_URL);
|
2308
|
-
return this.apiClient(url, {
|
2309
|
-
method: "POST",
|
2310
|
-
body: JSON.stringify({
|
2311
|
-
action: "clear",
|
2312
|
-
projectId
|
2313
|
-
})
|
2314
|
-
});
|
2315
|
-
};
|
2316
|
-
this.indexRelationships = async ({ state, id, type }) => {
|
2317
|
-
const { projectId } = this.options;
|
2318
|
-
const url = this.createUrl(RELATIONSHIPS_URL);
|
2319
|
-
return this.apiClient(url, {
|
2320
|
-
method: "POST",
|
2321
|
-
body: JSON.stringify({
|
2322
|
-
action: "index",
|
2323
|
-
type,
|
2324
|
-
projectId,
|
2325
|
-
state,
|
2326
|
-
id
|
2327
|
-
})
|
2328
|
-
});
|
2329
|
-
};
|
2330
|
-
this.getVersion = async () => {
|
2331
|
-
const { projectId } = this.options;
|
2332
|
-
const url = this.createUrl("/api/v1/usage-tracking", {
|
2333
|
-
projectId
|
2334
|
-
});
|
2335
|
-
return this.apiClient(url).then((response) => response.version);
|
2336
|
-
};
|
2337
|
-
this.setVersion = async (version) => {
|
2338
|
-
const { projectId } = this.options;
|
2339
|
-
const url = this.createUrl("/api/v1/usage-tracking");
|
2340
|
-
return this.apiClient(url, {
|
2341
|
-
method: "POST",
|
2342
|
-
body: JSON.stringify({
|
2343
|
-
projectId,
|
2344
|
-
version
|
2345
|
-
})
|
2346
|
-
});
|
2347
|
-
};
|
2348
2305
|
}
|
2349
2306
|
};
|
2350
2307
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.157.0",
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -38,8 +38,8 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/assets": "19.
|
42
|
-
"@uniformdev/context": "19.
|
41
|
+
"@uniformdev/assets": "19.157.0",
|
42
|
+
"@uniformdev/context": "19.157.0",
|
43
43
|
"immer": "10.0.4"
|
44
44
|
},
|
45
45
|
"files": [
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"publishConfig": {
|
49
49
|
"access": "public"
|
50
50
|
},
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "af204708fe4428d4dfe46f894fb2724a9c00b40a"
|
52
52
|
}
|