@frogbotai/piece-graphql 0.15.0 → 0.17.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/index.js +4 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PieceFactoryConfig } from
|
|
1
|
+
import { type PieceFactoryConfig } from 'frogbot/pieces';
|
|
2
2
|
export declare const graphqlActions: readonly ["send_request"];
|
|
3
3
|
export declare const graphqlScopes: readonly [];
|
|
4
4
|
export declare function createGraphql(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as module from '@activepieces/piece-graphql';
|
|
2
|
-
import { createActivepiecesPiece } from
|
|
2
|
+
import { createActivepiecesPiece } from 'frogbot/pieces';
|
|
3
3
|
export const graphqlActions = ['send_request'];
|
|
4
4
|
export const graphqlScopes = [];
|
|
5
5
|
export function createGraphql(config) {
|
|
6
6
|
const piece = createActivepiecesPiece({
|
|
7
7
|
module: module,
|
|
8
|
-
service:
|
|
9
|
-
credentialType:
|
|
8
|
+
service: 'graphql',
|
|
9
|
+
credentialType: 'none',
|
|
10
10
|
defaultActions: graphqlActions,
|
|
11
11
|
scopes: graphqlScopes,
|
|
12
12
|
config,
|
|
@@ -14,7 +14,7 @@ export function createGraphql(config) {
|
|
|
14
14
|
});
|
|
15
15
|
return Object.assign(piece, {
|
|
16
16
|
/** Send Request: Makes a GraphQL request. */
|
|
17
|
-
sendRequest: piece.tool(
|
|
17
|
+
sendRequest: piece.tool('send_request'),
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/piece-graphql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "GraphQL tools for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"@activepieces/piece-graphql": "0.0.13"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"frogbot": "0.
|
|
25
|
+
"frogbot": "0.17.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"typescript": "5.6.2",
|
|
29
|
-
"frogbot": "0.
|
|
29
|
+
"frogbot": "0.17.0"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|