Skip to content

Commit 4279dc5

Browse files
authored
Merge branch 'main' into feat/flowexample-section
Signed-off-by: Marius Ahsmus <marius.ahsmus@gmail.com>
2 parents e0f5060 + d8d0c22 commit 4279dc5

58 files changed

Lines changed: 73044 additions & 755 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
66
DATABASE_URL=postgresql://user:1234@localhost:5432/payload
77
PAYLOAD_SECRET=secret_key
88
PAYLOAD_USER_PASS=test_password123
9+
ACTIONS_IMPORT_SECRET=secret_import_key
910

1011
# Run-Time
1112
SMTP_HOST=smtp.example.com

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v7
25-
- uses: actions/setup-node@v6
25+
- uses: actions/setup-node@v7
2626
with:
2727
node-version: '24.18.0'
2828
registry-url: 'https://registry.npmjs.org'

media/example-action.json

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
{
2+
"identifier": "example-action",
3+
"name": [
4+
{
5+
"code": "en-US",
6+
"content": "Example Action"
7+
}
8+
],
9+
"documentation": "A simple example action",
10+
"author": "code0-tech",
11+
"icon": "tabler:bolt",
12+
"version": "0.0.0",
13+
"flowTypes": [
14+
{
15+
"identifier": "user_created",
16+
"name": [
17+
{
18+
"code": "en-US",
19+
"content": "User created event"
20+
}
21+
],
22+
"description": [
23+
{
24+
"code": "en-US",
25+
"content": "Triggers on user creation and has a payload including the user database id"
26+
}
27+
],
28+
"displayMessage": [
29+
{
30+
"code": "en-US",
31+
"content": "Triggers on user creation"
32+
}
33+
],
34+
"version": "0.0.0",
35+
"displayIcon": "tabler:note",
36+
"definitionSource": "action",
37+
"signature": "(): {userId: number}",
38+
"runtimeIdentifier": "user_created"
39+
}
40+
],
41+
"runtimeFlowTypes": [
42+
{
43+
"identifier": "user_created",
44+
"name": [
45+
{
46+
"code": "en-US",
47+
"content": "User created event"
48+
}
49+
],
50+
"description": [
51+
{
52+
"code": "en-US",
53+
"content": "Triggers on user creation and has a payload including the user database id"
54+
}
55+
],
56+
"displayMessage": [
57+
{
58+
"code": "en-US",
59+
"content": "Triggers on user creation"
60+
}
61+
],
62+
"version": "0.0.0",
63+
"displayIcon": "tabler:note",
64+
"definitionSource": "action",
65+
"signature": "(): {userId: number}"
66+
}
67+
],
68+
"functionDefinitions": [
69+
{
70+
"runtimeName": "fibonacci",
71+
"parameterDefinitions": [
72+
{
73+
"runtimeName": "test",
74+
"defaultValue": {
75+
"numberValue": {
76+
"integer": "10"
77+
}
78+
},
79+
"optional": false,
80+
"hidden": false,
81+
"name": [
82+
{
83+
"code": "en-US",
84+
"content": "Input Number"
85+
}
86+
],
87+
"description": [
88+
{
89+
"code": "en-US",
90+
"content": "The position in the Fibonacci sequence"
91+
}
92+
],
93+
"runtimeDefinitionName": "test"
94+
}
95+
],
96+
"signature": "(test: number): number",
97+
"name": [
98+
{
99+
"code": "en-US",
100+
"content": "Compute Fibonacci Number"
101+
}
102+
],
103+
"displayMessage": [
104+
{
105+
"code": "en-US",
106+
"content": "Computes the n-th Fibonacci number"
107+
}
108+
],
109+
"version": "0.0.0",
110+
"displayIcon": "tabler:note",
111+
"definitionSource": "action",
112+
"runtimeDefinitionName": "fibonacci_runtime"
113+
}
114+
],
115+
"runtimeFunctionDefinitions": [
116+
{
117+
"runtimeName": "fibonacci_runtime",
118+
"runtimeParameterDefinitions": [
119+
{
120+
"runtimeName": "test",
121+
"optional": false,
122+
"hidden": false,
123+
"name": [
124+
{
125+
"code": "en-US",
126+
"content": "N"
127+
}
128+
]
129+
}
130+
],
131+
"signature": "(test: number): number",
132+
"name": [
133+
{
134+
"code": "en-US",
135+
"content": "Fibonacci (Runtime)"
136+
}
137+
],
138+
"displayMessage": [
139+
{
140+
"code": "en-US",
141+
"content": "Computes the n-th Fibonacci number"
142+
}
143+
],
144+
"version": "0.0.0",
145+
"displayIcon": "tabler:note",
146+
"definitionSource": "action"
147+
}
148+
],
149+
"definitionDataTypes": [
150+
{
151+
"identifier": "email_address",
152+
"name": [
153+
{
154+
"code": "en-US",
155+
"content": "Email Address"
156+
}
157+
],
158+
"rules": [
159+
{
160+
"regex": {
161+
"pattern": "^[^@]+@[^@]+\\.[^@]+$"
162+
}
163+
}
164+
],
165+
"type": "string",
166+
"version": "0.0.0",
167+
"definitionSource": "action"
168+
}
169+
],
170+
"configurations": [
171+
{
172+
"identifier": "EXAMPLE_CONFIG",
173+
"name": [
174+
{
175+
"code": "en-US",
176+
"content": "Example Config"
177+
}
178+
],
179+
"type": "string",
180+
"optional": false,
181+
"hidden": false
182+
}
183+
]
184+
}

0 commit comments

Comments
 (0)