@uniformdev/canvas 19.49.0 → 19.50.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 +205 -289
- package/dist/index.d.ts +205 -289
- package/dist/index.esm.js +15 -0
- package/dist/index.js +16 -0
- package/dist/index.mjs +15 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
@@ -1763,6 +1763,20 @@ var createUniformApiEnhancer = ({ apiUrl }) => {
|
|
1763
1763
|
};
|
1764
1764
|
};
|
1765
1765
|
|
1766
|
+
// src/utils/entryConverter.ts
|
1767
|
+
function convertEntryToPutEntry(entry) {
|
1768
|
+
return {
|
1769
|
+
entry: {
|
1770
|
+
type: entry.entry.type,
|
1771
|
+
_dataResources: entry.entry._dataResources,
|
1772
|
+
_id: entry.entry._id,
|
1773
|
+
fields: entry.entry.fields
|
1774
|
+
},
|
1775
|
+
state: entry.state,
|
1776
|
+
projectId: entry.projectId
|
1777
|
+
};
|
1778
|
+
}
|
1779
|
+
|
1766
1780
|
// src/utils/getParameterAttributes.ts
|
1767
1781
|
var ATTRIBUTE_COMPONENT_ID = "data-uniform-component-id";
|
1768
1782
|
var ATTRIBUTE_PARAMETER_ID = "data-uniform-parameter-id";
|
@@ -2062,6 +2076,7 @@ export {
|
|
2062
2076
|
bindVariables,
|
2063
2077
|
bindVariablesToObject,
|
2064
2078
|
compose,
|
2079
|
+
convertEntryToPutEntry,
|
2065
2080
|
createBatchEnhancer,
|
2066
2081
|
createCanvasChannel,
|
2067
2082
|
createEventBus,
|
package/dist/index.js
CHANGED
@@ -331,6 +331,7 @@ __export(src_exports, {
|
|
331
331
|
bindVariables: () => bindVariables,
|
332
332
|
bindVariablesToObject: () => bindVariablesToObject,
|
333
333
|
compose: () => compose,
|
334
|
+
convertEntryToPutEntry: () => convertEntryToPutEntry,
|
334
335
|
createBatchEnhancer: () => createBatchEnhancer,
|
335
336
|
createCanvasChannel: () => createCanvasChannel,
|
336
337
|
createEventBus: () => createEventBus,
|
@@ -1864,6 +1865,20 @@ var createUniformApiEnhancer = ({ apiUrl }) => {
|
|
1864
1865
|
};
|
1865
1866
|
};
|
1866
1867
|
|
1868
|
+
// src/utils/entryConverter.ts
|
1869
|
+
function convertEntryToPutEntry(entry) {
|
1870
|
+
return {
|
1871
|
+
entry: {
|
1872
|
+
type: entry.entry.type,
|
1873
|
+
_dataResources: entry.entry._dataResources,
|
1874
|
+
_id: entry.entry._id,
|
1875
|
+
fields: entry.entry.fields
|
1876
|
+
},
|
1877
|
+
state: entry.state,
|
1878
|
+
projectId: entry.projectId
|
1879
|
+
};
|
1880
|
+
}
|
1881
|
+
|
1867
1882
|
// src/utils/getParameterAttributes.ts
|
1868
1883
|
var ATTRIBUTE_COMPONENT_ID = "data-uniform-component-id";
|
1869
1884
|
var ATTRIBUTE_PARAMETER_ID = "data-uniform-parameter-id";
|
@@ -2164,6 +2179,7 @@ var CanvasClientError = import_api9.ApiClientError;
|
|
2164
2179
|
bindVariables,
|
2165
2180
|
bindVariablesToObject,
|
2166
2181
|
compose,
|
2182
|
+
convertEntryToPutEntry,
|
2167
2183
|
createBatchEnhancer,
|
2168
2184
|
createCanvasChannel,
|
2169
2185
|
createEventBus,
|
package/dist/index.mjs
CHANGED
@@ -1763,6 +1763,20 @@ var createUniformApiEnhancer = ({ apiUrl }) => {
|
|
1763
1763
|
};
|
1764
1764
|
};
|
1765
1765
|
|
1766
|
+
// src/utils/entryConverter.ts
|
1767
|
+
function convertEntryToPutEntry(entry) {
|
1768
|
+
return {
|
1769
|
+
entry: {
|
1770
|
+
type: entry.entry.type,
|
1771
|
+
_dataResources: entry.entry._dataResources,
|
1772
|
+
_id: entry.entry._id,
|
1773
|
+
fields: entry.entry.fields
|
1774
|
+
},
|
1775
|
+
state: entry.state,
|
1776
|
+
projectId: entry.projectId
|
1777
|
+
};
|
1778
|
+
}
|
1779
|
+
|
1766
1780
|
// src/utils/getParameterAttributes.ts
|
1767
1781
|
var ATTRIBUTE_COMPONENT_ID = "data-uniform-component-id";
|
1768
1782
|
var ATTRIBUTE_PARAMETER_ID = "data-uniform-parameter-id";
|
@@ -2062,6 +2076,7 @@ export {
|
|
2062
2076
|
bindVariables,
|
2063
2077
|
bindVariablesToObject,
|
2064
2078
|
compose,
|
2079
|
+
convertEntryToPutEntry,
|
2065
2080
|
createBatchEnhancer,
|
2066
2081
|
createCanvasChannel,
|
2067
2082
|
createEventBus,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.50.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,7 +38,7 @@
|
|
38
38
|
"pusher-js": "8.2.0"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/context": "19.
|
41
|
+
"@uniformdev/context": "19.50.0",
|
42
42
|
"immer": "9.0.21"
|
43
43
|
},
|
44
44
|
"files": [
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"publishConfig": {
|
48
48
|
"access": "public"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "b5591b7986196c3917e9cababafaeeef1871cd47"
|
51
51
|
}
|