@aiqadam/qadam-manual-trigger 0.0.0-stage → 0.0.5
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 +22 -0
- package/NOTICE +6 -0
- package/README.md +4 -2
- package/package.json +20 -3
- package/src/i18n/de.json +6 -0
- package/src/i18n/es.json +6 -0
- package/src/i18n/fr.json +6 -0
- package/src/i18n/ja.json +6 -0
- package/src/i18n/nl.json +6 -0
- package/src/i18n/pt.json +6 -0
- package/src/i18n/translation.json +6 -0
- package/src/i18n/zh.json +6 -0
- package/src/index.d.ts +2 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.js +17 -0
- package/src/index.js.map +1 -0
- package/src/lib/triggers/manual-trigger.d.ts +11 -0
- package/src/lib/triggers/manual-trigger.d.ts.map +1 -0
- package/src/lib/triggers/manual-trigger.js +40 -0
- package/src/lib/triggers/manual-trigger.js.map +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020-2024 Activepieces Inc.
|
|
4
|
+
Copyright (c) 2026 The Qadam Flow Authors
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Qadam Flow is a derivative work of Activepieces
|
|
2
|
+
(https://github.com/activepieces/activepieces).
|
|
3
|
+
|
|
4
|
+
The "packages/ee/" enterprise-licensed components of the upstream project have
|
|
5
|
+
been removed; all remaining code is distributed under the MIT (Expat) license
|
|
6
|
+
in the LICENSE file.
|
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @aiqadam/qadam-manual-trigger
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Part of the [Qadam Flow](https://github.com/aiqadam/qadam-flow) monorepo. See the repository for documentation. Licensed under MIT.
|
package/package.json
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiqadam/qadam-manual-trigger",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"type": "commonjs",
|
|
5
|
+
"main": "./src/index.js",
|
|
6
|
+
"types": "./src/index.d.ts",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@aiqadam/qadams-common": "0.17.0",
|
|
9
|
+
"@aiqadam/qadams-framework": "0.35.0",
|
|
10
|
+
"@aiqadam/shared": "0.155.0",
|
|
11
|
+
"tslib": "2.8.1"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc -p tsconfig.lib.json && cp package.json dist/",
|
|
15
|
+
"lint": "eslint 'src/**/*.ts'"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/aiqadam/qadam-flow.git",
|
|
21
|
+
"directory": "packages/qadams/core/manual-trigger"
|
|
22
|
+
}
|
|
6
23
|
}
|
package/src/i18n/de.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Manual Trigger": "Manueller Auslöser",
|
|
3
|
+
"Manually start your own flow without any extra configurations": "Starte deinen eigenen Fluss ohne zusätzliche Konfigurationen manuell",
|
|
4
|
+
"Markdown": "Markdown",
|
|
5
|
+
"Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.": "Manuelle Trigger werden verwendet, um einen Fluss bei Bedarf zu starten, deinen Fluss zu veröffentlichen und zu Beginn des Flusses auf (Run Flow) zu klicken."
|
|
6
|
+
}
|
package/src/i18n/es.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Manual Trigger": "Disparador manual",
|
|
3
|
+
"Manually start your own flow without any extra configurations": "Iniciar manualmente su propio flujo sin ninguna configuración adicional",
|
|
4
|
+
"Markdown": "Markdown",
|
|
5
|
+
"Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.": "Los activadores manuales se utilizan para iniciar un flujo bajo demanda, publicar su flujo y hacer clic en Ejecutar Flow) al inicio del flujo."
|
|
6
|
+
}
|
package/src/i18n/fr.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Manual Trigger": "Déclencheur manuel",
|
|
3
|
+
"Manually start your own flow without any extra configurations": "Démarrez manuellement votre propre flux sans configuration supplémentaire",
|
|
4
|
+
"Markdown": "Markdown",
|
|
5
|
+
"Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.": "Les déclencheurs manuels sont utilisés pour démarrer un flux à la demande, publier votre flux et cliquer sur (Run Flow) au début du flux."
|
|
6
|
+
}
|
package/src/i18n/ja.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Manual Trigger": "手動トリガー",
|
|
3
|
+
"Manually start your own flow without any extra configurations": "追加設定なしで手動でフローを開始する",
|
|
4
|
+
"Markdown": "Markdown",
|
|
5
|
+
"Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.": "手動トリガーは、フローをオンデマンドで開始し、フローを公開し、フローの開始時にformat@@0をクリックします。"
|
|
6
|
+
}
|
package/src/i18n/nl.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Manual Trigger": "Handmatige Trigger",
|
|
3
|
+
"Manually start your own flow without any extra configurations": "Start handmatig je eigen flow zonder extra configuraties",
|
|
4
|
+
"Markdown": "Markdown",
|
|
5
|
+
"Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.": "Handmatige triggers worden gebruikt om een stroom op aanvraag te starten, uw stroom publiceren en klikken (Run Flow) aan het begin van de flow."
|
|
6
|
+
}
|
package/src/i18n/pt.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Manual Trigger": "Gatilho manual",
|
|
3
|
+
"Manually start your own flow without any extra configurations": "Iniciar manualmente o seu próprio fluxo sem quaisquer configurações extras",
|
|
4
|
+
"Markdown": "Markdown",
|
|
5
|
+
"Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.": "Os gatilhos manuais são usados para iniciar um fluxo à demanda, publicar seu fluxo e clicar (Executar Fluxo) no início do fluxo."
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Manual Trigger": "Manual Trigger",
|
|
3
|
+
"Manually start your own flow without any extra configurations": "Manually start your own flow without any extra configurations",
|
|
4
|
+
"Markdown": "Markdown",
|
|
5
|
+
"Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.": "Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow."
|
|
6
|
+
}
|
package/src/i18n/zh.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Manual Trigger": "Manual Trigger",
|
|
3
|
+
"Manually start your own flow without any extra configurations": "Manually start your own flow without any extra configurations",
|
|
4
|
+
"Markdown": "Markdown",
|
|
5
|
+
"Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.": "Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow."
|
|
6
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB,sDASzB,CAAC"}
|
package/src/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.manualTriggerPiece = void 0;
|
|
4
|
+
const qadams_framework_1 = require("@aiqadam/qadams-framework");
|
|
5
|
+
const manual_trigger_1 = require("./lib/triggers/manual-trigger");
|
|
6
|
+
const shared_1 = require("@aiqadam/shared");
|
|
7
|
+
exports.manualTriggerPiece = (0, qadams_framework_1.createQadam)({
|
|
8
|
+
displayName: "Manual Trigger",
|
|
9
|
+
auth: qadams_framework_1.QadamAuth.None(),
|
|
10
|
+
minimumSupportedRelease: '0.0.0',
|
|
11
|
+
logoUrl: "/assets/qadams/new-core/manual-trigger.svg",
|
|
12
|
+
authors: ['AbdulTheActivePiecer'],
|
|
13
|
+
actions: [],
|
|
14
|
+
triggers: [manual_trigger_1.manualTrigger],
|
|
15
|
+
categories: [shared_1.QadamCategory.CORE]
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AACI,gEAAmE;AACvE,kEAA8D;AAC9D,4CAAgD;AAEnC,QAAA,kBAAkB,GAAG,IAAA,8BAAW,EAAC;IACxC,WAAW,EAAE,gBAAgB;IAC7B,IAAI,EAAE,4BAAS,CAAC,IAAI,EAAE;IACtB,uBAAuB,EAAE,OAAO;IAChC,OAAO,EAAE,4CAA4C;IACrD,OAAO,EAAE,CAAC,sBAAsB,CAAC;IACjC,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,CAAC,8BAAa,CAAC;IACzB,UAAU,EAAC,CAAC,sBAAa,CAAC,IAAI,CAAC;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TriggerStrategy } from '@aiqadam/qadams-framework';
|
|
2
|
+
export declare const manualTrigger: import("@aiqadam/qadams-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@aiqadam/qadams-framework").QadamAuthProperty | import("@aiqadam/qadams-framework").QadamAuthProperty[] | undefined, {
|
|
3
|
+
markdown: import("@aiqadam/qadams-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
4
|
+
}> | import("@aiqadam/qadams-framework").ITrigger<TriggerStrategy.POLLING, import("@aiqadam/qadams-framework").QadamAuthProperty | import("@aiqadam/qadams-framework").QadamAuthProperty[] | undefined, {
|
|
5
|
+
markdown: import("@aiqadam/qadams-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
6
|
+
}> | import("@aiqadam/qadams-framework").ITrigger<TriggerStrategy.MANUAL, import("@aiqadam/qadams-framework").QadamAuthProperty | import("@aiqadam/qadams-framework").QadamAuthProperty[] | undefined, {
|
|
7
|
+
markdown: import("@aiqadam/qadams-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
8
|
+
}> | import("@aiqadam/qadams-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@aiqadam/qadams-framework").QadamAuthProperty | import("@aiqadam/qadams-framework").QadamAuthProperty[] | undefined, {
|
|
9
|
+
markdown: import("@aiqadam/qadams-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
|
+
}>;
|
|
11
|
+
//# sourceMappingURL=manual-trigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manual-trigger.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/manual-trigger.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,eAAe,EAAG,MAAM,2BAA2B,CAAC;AAGtF,eAAO,MAAM,aAAa;;;;;;;;EAwBxB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.manualTrigger = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const qadams_framework_1 = require("@aiqadam/qadams-framework");
|
|
6
|
+
const shared_1 = require("@aiqadam/shared");
|
|
7
|
+
exports.manualTrigger = (0, qadams_framework_1.createTrigger)({
|
|
8
|
+
name: 'manual_trigger',
|
|
9
|
+
displayName: 'Manual Trigger',
|
|
10
|
+
description: 'Manually start your own flow without any extra configurations',
|
|
11
|
+
props: {
|
|
12
|
+
markdown: qadams_framework_1.Property.MarkDown({
|
|
13
|
+
value: `Manual triggers are used to start a flow on demand, publish your flow and click (Run Flow) at the start of the flow.`,
|
|
14
|
+
variant: shared_1.MarkdownVariant.INFO,
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
sampleData: {},
|
|
18
|
+
type: qadams_framework_1.TriggerStrategy.MANUAL,
|
|
19
|
+
test() {
|
|
20
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
return [{}];
|
|
22
|
+
});
|
|
23
|
+
},
|
|
24
|
+
onEnable() {
|
|
25
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
return void 0;
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
onDisable() {
|
|
30
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
return void 0;
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
run() {
|
|
35
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
return [{}];
|
|
37
|
+
});
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=manual-trigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manual-trigger.js","sourceRoot":"","sources":["../../../../src/lib/triggers/manual-trigger.ts"],"names":[],"mappings":";;;;AACA,gEAAsF;AACtF,4CAAkD;AAErC,QAAA,aAAa,GAAG,IAAA,gCAAa,EAAC;IAC3C,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,+DAA+D;IAC5E,KAAK,EAAE;QACH,QAAQ,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACxB,KAAK,EAAE,sHAAsH;YAC7H,OAAO,EAAE,wBAAe,CAAC,IAAI;SAChC,CAAC;KACL;IACD,UAAU,EAAE,EAAE;IACd,IAAI,EAAE,kCAAe,CAAC,MAAM;IACtB,IAAI;;YACN,OAAO,CAAC,EAAE,CAAC,CAAC;QAChB,CAAC;KAAA;IACK,QAAQ;;YACV,OAAO,KAAK,CAAC,CAAC;QAClB,CAAC;KAAA;IACK,SAAS;;YACX,OAAO,KAAK,CAAC,CAAC;QAClB,CAAC;KAAA;IACK,GAAG;;YACL,OAAO,CAAC,EAAE,CAAC,CAAA;QACf,CAAC;KAAA;CACA,CAAC,CAAC"}
|