forked from tsai/budibase
22 changed files with 87 additions and 13 deletions
@ -1,6 +1,6 @@ |
|||
{ |
|||
"watch": ["src", "../backend-core", "../../../budibase-pro/packages/pro"], |
|||
"ext": "js,ts,json", |
|||
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js"], |
|||
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js", "../backend-core/dist/**/*"], |
|||
"exec": "ts-node src/index.ts" |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
// TODO: Add migrations to account portal
|
|||
|
|||
// ACCOUNT_CREATED = "account:created",
|
|||
// ACCOUNT_VERIFIED = "account:verified",
|
|||
@ -0,0 +1,10 @@ |
|||
export const backfillAppCreated = () => {} |
|||
|
|||
export const backfillAppPublished = () => {} |
|||
|
|||
// APP_CREATED = "app:created",
|
|||
// APP_PUBLISHED = "app:published",
|
|||
|
|||
// Maybe
|
|||
// APP_TEMPLATE_IMPORTED = "app:template:imported",
|
|||
// APP_FILE_IMPORTED = "app:file:imported",
|
|||
@ -0,0 +1,2 @@ |
|||
// AUTOMATION_CREATED = "automation:created",
|
|||
// AUTOMATION_STEP_CREATED = "automation:step:created",
|
|||
@ -0,0 +1 @@ |
|||
// DATASOURCE_CREATED = "datasource:created",
|
|||
@ -0,0 +1 @@ |
|||
// LAYOUT_CREATED = "layout:created",
|
|||
@ -0,0 +1,3 @@ |
|||
// QUERY_CREATED = "query:created",
|
|||
// <!-- maybe -->
|
|||
// QUERY_IMPORT = "query:import",
|
|||
@ -0,0 +1,2 @@ |
|||
// ROLE_CREATED = "role:created",
|
|||
// ROLE_ASSIGNED = "role:assigned",
|
|||
@ -0,0 +1 @@ |
|||
// ROW_IMPORT = "row:import",
|
|||
@ -0,0 +1 @@ |
|||
// SCREEN_CREATED = "screen:created",
|
|||
@ -0,0 +1,3 @@ |
|||
// TABLE_CREATED = "table:created",
|
|||
// <!-- maybe -->
|
|||
// TABLE_DATA_IMPORTED = "table:data:imported",
|
|||
@ -0,0 +1,3 @@ |
|||
// VIEW_CREATED = "view:created",
|
|||
// VIEW_FILTER_CREATED = "view:filter:created",
|
|||
// VIEW_CALCULATION_CREATED = "view:calculation:created",
|
|||
@ -0,0 +1,11 @@ |
|||
import * as app from "./app/app" |
|||
|
|||
/** |
|||
* Date: |
|||
* May 2022 |
|||
* |
|||
* Description: |
|||
* Backfill app events. |
|||
*/ |
|||
|
|||
export const run = async (db: any) => {} |
|||
@ -0,0 +1,11 @@ |
|||
import * as syncPublishedApps from "../usageQuotas/syncPublishedApps" |
|||
|
|||
/** |
|||
* Date: |
|||
* May 2022 |
|||
* |
|||
* Description: |
|||
* Backfill global events. |
|||
*/ |
|||
|
|||
export const run = async (db: any) => {} |
|||
@ -0,0 +1,7 @@ |
|||
// EMAIL_SMTP_CREATED = "email:smtp:created",
|
|||
// AUTH_SSO_CREATED = "auth:sso:created",
|
|||
// AUTH_SSO_ACTIVATED = "auth:sso:activated",
|
|||
// AUTH_SSO_DEACTIVATED = "auth:sso:deactivated",
|
|||
// ORG_NAME_UPDATED = "org:info:name:updated",
|
|||
// ORG_LOGO_UPDATED = "org:info:logo:updated",
|
|||
// ORG_PLATFORM_URL_UPDATED = "org:platformurl:updated",
|
|||
@ -0,0 +1,3 @@ |
|||
// USER_CREATED = "user:created",
|
|||
// USER_PERMISSION_ADMIN_ASSIGNED = "user:admin:assigned",
|
|||
// USER_PERMISSION_BUILDER_ASSIGNED = "user:builder:assigned",
|
|||
@ -1,6 +1,6 @@ |
|||
{ |
|||
"watch": ["src", "../backend-core", "../../../budibase-pro/packages/pro"], |
|||
"ext": "js,ts,json", |
|||
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js"], |
|||
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js", "../backend-core/dist/**/*"], |
|||
"exec": "ts-node src/index.ts" |
|||
} |
|||
|
|||
Loading…
Reference in new issue