ballerina-core 1.0.201 → 1.0.202
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/package.json
CHANGED
package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/apis/state.ts
CHANGED
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
isString,
|
|
9
9
|
Renderer,
|
|
10
10
|
ValueOrErrors,
|
|
11
|
-
ValueSumN,
|
|
12
11
|
} from "../../../../../../../../../main";
|
|
13
12
|
import {
|
|
14
13
|
DispatchIsObject,
|
|
@@ -246,16 +245,23 @@ export const TableApis = {
|
|
|
246
245
|
: DispatchParsedType.Operations.ParseRawType(
|
|
247
246
|
"filter",
|
|
248
247
|
value.type as SerializedType<T>,
|
|
249
|
-
Set(),
|
|
248
|
+
Set(types.keys()),
|
|
250
249
|
{},
|
|
251
|
-
|
|
250
|
+
types.map((t) =>
|
|
251
|
+
ValueOrErrors.Default.return(t),
|
|
252
|
+
),
|
|
252
253
|
injectedPrimitives,
|
|
253
254
|
).Then((type) =>
|
|
254
255
|
Renderer.Operations.Deserialize(
|
|
255
256
|
type[0],
|
|
256
257
|
// checked above that this is an object with renderer property
|
|
257
|
-
|
|
258
|
-
|
|
258
|
+
type[0].kind == "primitive"
|
|
259
|
+
? (
|
|
260
|
+
value.display as {
|
|
261
|
+
renderer: string;
|
|
262
|
+
}
|
|
263
|
+
).renderer
|
|
264
|
+
: value.display,
|
|
259
265
|
concreteRenderers,
|
|
260
266
|
types,
|
|
261
267
|
undefined,
|