mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Merge branch 'develop' into rc
This commit is contained in:
4
src/components/CodeEditor/extensions.d.ts
vendored
4
src/components/CodeEditor/extensions.d.ts
vendored
@@ -131,9 +131,7 @@ type PushNotificationBody = (
|
||||
|
||||
type TaskBody = (context: ExtensionContext) => Promise<any>;
|
||||
|
||||
type BuildshipAuthenticatedTriggerBody = (
|
||||
context: ExtensionContext
|
||||
) => Promise<{
|
||||
type BuildshipTriggerBody = (context: ExtensionContext) => Promise<{
|
||||
buildshipConfig: {
|
||||
projectId: string;
|
||||
workflowId: string;
|
||||
|
||||
@@ -16,7 +16,7 @@ export const extensionTypes = [
|
||||
export type ExtensionType = typeof extensionTypes[number];
|
||||
|
||||
export const extensionNames: Record<ExtensionType, string> = {
|
||||
buildshipAuthenticatedTrigger: "BuildShip Authenticated Trigger",
|
||||
buildshipAuthenticatedTrigger: "Buildship Trigger",
|
||||
task: "Task",
|
||||
docSync: "Doc Sync",
|
||||
historySnapshot: "History Snapshot",
|
||||
@@ -63,7 +63,7 @@ export interface IRuntimeOptions {
|
||||
export const triggerTypes: ExtensionTrigger[] = ["create", "update", "delete"];
|
||||
|
||||
const extensionBodyTemplate = {
|
||||
buildshipAuthenticatedTrigger: `const extensionBody: BuildshipAuthenticatedTriggerBody = async({row, db, change, ref, logging}) => {
|
||||
buildshipAuthenticatedTrigger: `const extensionBody: BuildshipTriggerBody = async({row, db, change, ref, logging}) => {
|
||||
logging.log("extensionBody started")
|
||||
|
||||
// Put your endpoint URL and request body below.
|
||||
|
||||
Reference in New Issue
Block a user