@prismatic-io/spectral 8.1.0-preview4 → 8.1.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.ts +1 -1
- package/dist/util.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { convertIntegration } from "./serverTypes/convertIntegration";
|
|
|
14
14
|
* @param definition An IntegrationDefinition type object.
|
|
15
15
|
* @returns This function returns an integration object that has the shape the Prismatic API expects.
|
|
16
16
|
*/
|
|
17
|
-
export declare const integration: <
|
|
17
|
+
export declare const integration: <T extends IntegrationDefinition<any, any> = IntegrationDefinition<any, any>>(definition: T) => ReturnType<typeof convertIntegration>;
|
|
18
18
|
/**
|
|
19
19
|
* For information on writing Code Native Integrations, see
|
|
20
20
|
* https://prismatic.io/docs/code-native-integrations/#adding-flows.
|
package/dist/util.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ declare const _default: {
|
|
|
58
58
|
isConnection: (value: unknown) => value is ConnectionDefinition;
|
|
59
59
|
isElement: (value: unknown) => value is Element;
|
|
60
60
|
toObject: (value: unknown) => object;
|
|
61
|
-
cleanObject: (obj: Record<string, unknown>, predicate?: ((v: any) => boolean) | undefined) =>
|
|
61
|
+
cleanObject: (obj: Record<string, unknown>, predicate?: ((v: any) => boolean) | undefined) => Record<string, unknown>;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismatic-io/spectral",
|
|
3
|
-
"version": "8.1.0
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "Utility library for building Prismatic components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"prismatic"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/jest": "29.5.12",
|
|
57
|
-
"@types/lodash": "4.
|
|
57
|
+
"@types/lodash": "4.17.0",
|
|
58
58
|
"@types/node": "14.14.35",
|
|
59
59
|
"@types/sax": "1.2.4",
|
|
60
60
|
"@types/url-join": "4.0.1",
|