@prismatic-io/spectral 10.11.3 → 10.11.4
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.
|
@@ -34,7 +34,7 @@ const fetchComponentDataForManifest = (_a) => __awaiter(void 0, [_a], void 0, fu
|
|
|
34
34
|
description
|
|
35
35
|
signature
|
|
36
36
|
key
|
|
37
|
-
connections {
|
|
37
|
+
connections(sortBy: {direction: ASC, field: KEY}) {
|
|
38
38
|
nodes {
|
|
39
39
|
key
|
|
40
40
|
label
|
|
@@ -200,6 +200,6 @@ function getComponentActions(componentId, prismaticUrl, accessToken) {
|
|
|
200
200
|
hasNextPage = (_a = response.data.data.actions.pageInfo) === null || _a === void 0 ? void 0 : _a.hasNextPage;
|
|
201
201
|
cursor = (_b = response.data.data.actions.pageInfo) === null || _b === void 0 ? void 0 : _b.endCursor;
|
|
202
202
|
}
|
|
203
|
-
return actions;
|
|
203
|
+
return actions.sort((a, b) => a.key.localeCompare(b.key));
|
|
204
204
|
});
|
|
205
205
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { JSONForm, ObjectFieldMap, ObjectSelection } from "./Inputs";
|
|
1
|
+
import type { Element, JSONForm, ObjectFieldMap, ObjectSelection } from "./Inputs";
|
|
2
2
|
/** The type of field that is appropriate for rendering the data that is the result of the data source perform function. */
|
|
3
3
|
type DataSourceTypeMap = {
|
|
4
4
|
string: string;
|
package/package.json
CHANGED