@frogbotai/piece-trello 0.5.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/LICENSE +21 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +35 -0
- package/dist/index.js.map +1 -0
- package/package.json +39 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 FrogBot
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type PieceFactoryConfig } from "frogbot/pieces";
|
|
2
|
+
export declare const trelloActions: readonly ["create_card", "get_card", "update_card", "delete_card", "get_card_attachments", "add_card_attachment"];
|
|
3
|
+
export declare const trelloScopes: readonly [];
|
|
4
|
+
export declare function createTrello(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
|
|
5
|
+
/** Create Card: Create a new card in Trello */
|
|
6
|
+
createCard: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
7
|
+
/** Get Card: Gets a card by ID. */
|
|
8
|
+
getCard: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
9
|
+
/** Update Card: Updates an existing card. */
|
|
10
|
+
updateCard: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
11
|
+
/** Delete Card: Deletes an existing card. */
|
|
12
|
+
deleteCard: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
13
|
+
/** Get All Card Attachments: Gets all attachments on a card. */
|
|
14
|
+
getCardAttachments: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
15
|
+
/** Add Card Attachment: Adds an attachment to a card. */
|
|
16
|
+
addCardAttachment: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
17
|
+
/** Get Card Attachment: Gets a specific attachment on a card. */
|
|
18
|
+
getCardAttachment: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
19
|
+
/** Delete Card Attachment: Deletes an attachment from a card. */
|
|
20
|
+
deleteCardAttachment: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
21
|
+
/** Custom API Call: Make a custom API call to a specific endpoint */
|
|
22
|
+
customApiCall: import("node_modules/frogbot/dist/types/tool").AnyTool;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAElF,eAAO,MAAM,aAAa,mHAAoH,CAAC;AAC/I,eAAO,MAAM,YAAY,aAAc,CAAC;AAExC,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,kBAAkB;IAUpD,+CAA+C;;IAE/C,mCAAmC;;IAEnC,6CAA6C;;IAE7C,6CAA6C;;IAE7C,gEAAgE;;IAEhE,yDAAyD;;IAEzD,iEAAiE;;IAEjE,iEAAiE;;IAEjE,qEAAqE;;EAGxE"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as module from '@activepieces/piece-trello';
|
|
2
|
+
import { createActivepiecesPiece } from "frogbot/pieces";
|
|
3
|
+
export const trelloActions = ['create_card', 'get_card', 'update_card', 'delete_card', 'get_card_attachments', 'add_card_attachment'];
|
|
4
|
+
export const trelloScopes = [];
|
|
5
|
+
export function createTrello(config) {
|
|
6
|
+
const piece = createActivepiecesPiece({
|
|
7
|
+
module: module,
|
|
8
|
+
service: "trello",
|
|
9
|
+
credentialType: "basic_auth",
|
|
10
|
+
defaultActions: trelloActions,
|
|
11
|
+
scopes: trelloScopes,
|
|
12
|
+
config,
|
|
13
|
+
});
|
|
14
|
+
return Object.assign(piece, {
|
|
15
|
+
/** Create Card: Create a new card in Trello */
|
|
16
|
+
createCard: piece.tool("create_card"),
|
|
17
|
+
/** Get Card: Gets a card by ID. */
|
|
18
|
+
getCard: piece.tool("get_card"),
|
|
19
|
+
/** Update Card: Updates an existing card. */
|
|
20
|
+
updateCard: piece.tool("update_card"),
|
|
21
|
+
/** Delete Card: Deletes an existing card. */
|
|
22
|
+
deleteCard: piece.tool("delete_card"),
|
|
23
|
+
/** Get All Card Attachments: Gets all attachments on a card. */
|
|
24
|
+
getCardAttachments: piece.tool("get_card_attachments"),
|
|
25
|
+
/** Add Card Attachment: Adds an attachment to a card. */
|
|
26
|
+
addCardAttachment: piece.tool("add_card_attachment"),
|
|
27
|
+
/** Get Card Attachment: Gets a specific attachment on a card. */
|
|
28
|
+
getCardAttachment: piece.tool("get_card_attachment"),
|
|
29
|
+
/** Delete Card Attachment: Deletes an attachment from a card. */
|
|
30
|
+
deleteCardAttachment: piece.tool("delete_card_attachment"),
|
|
31
|
+
/** Custom API Call: Make a custom API call to a specific endpoint */
|
|
32
|
+
customApiCall: piece.tool("custom_api_call"),
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAA2B,MAAM,gBAAgB,CAAC;AAElF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,sBAAsB,EAAE,qBAAqB,CAAU,CAAC;AAC/I,MAAM,CAAC,MAAM,YAAY,GAAG,EAAW,CAAC;AAExC,MAAM,UAAU,YAAY,CAAC,MAA2B;IACtD,MAAM,KAAK,GAAG,uBAAuB,CAAC;QACpC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,QAAQ;QACjB,cAAc,EAAE,YAAY;QAC5B,cAAc,EAAE,aAAa;QAC7B,MAAM,EAAE,YAAY;QACpB,MAAM;KACP,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;QAC1B,+CAA+C;QAC/C,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC;QACrC,mCAAmC;QACnC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC;QAC/B,6CAA6C;QAC7C,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC;QACrC,6CAA6C;QAC7C,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC;QACrC,gEAAgE;QAChE,kBAAkB,EAAE,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC;QACtD,yDAAyD;QACzD,iBAAiB,EAAE,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC;QACpD,iEAAiE;QACjE,iBAAiB,EAAE,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC;QACpD,iEAAiE;QACjE,oBAAoB,EAAE,KAAK,CAAC,IAAI,CAAC,wBAAwB,CAAC;QAC1D,qEAAqE;QACrE,aAAa,EAAE,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC;KAC7C,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@frogbotai/piece-trello",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Trello tools for FrogBot.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Colby Gilbert",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"sideEffects": false,
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@activepieces/piece-trello": "0.4.10"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"frogbot": "0.5.0"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"typescript": "5.6.2",
|
|
29
|
+
"frogbot": "0.5.0"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "tsc -p tsconfig.json",
|
|
36
|
+
"clean": "rm -rf dist",
|
|
37
|
+
"typecheck": "tsc --noEmit"
|
|
38
|
+
}
|
|
39
|
+
}
|