projectName | extensions |
---|---|
HTTP trigger project |
core,identity,hono,fly,postgresql,github |
export default project(
feature('products', {
tables: {
issues: table({
fields: {
title: field({ type: 'short-text'}),
},
}),
},
workflows: [
workflow('IssueLabeledWorkflow', {
tag: 'github',
trigger: trigger.github({
event: 'issues.labeled',
}),
actions: {
recordIssue: trigger => action.database.insert({
table: useTable('issues'),
columns: [
useField('title', trigger.issue.title),
],
}),
},
});
],
}),
);