diff --git a/lib/init/index.ts b/lib/init/index.ts index b28a1f0..6132790 100644 --- a/lib/init/index.ts +++ b/lib/init/index.ts @@ -4,12 +4,15 @@ declare const ActionProof: unique symbol; export type ActionReceipt = { [ActionProof]: never; }; +export function noActions(): ActionReceipt { + return {} as ActionReceipt; +} declare const MigrationProof: unique symbol; export type MigrationReceipt = { [MigrationProof]: never; }; -export function noMigration(): MigrationReceipt { +export function noMigrationsUp(): MigrationReceipt { return {} as MigrationReceipt; } export function migrationUp(fn: () => Promise): MigrationReceipt { @@ -21,7 +24,7 @@ declare const MigrationDownProof: unique symbol; export type MigrationDownReceipt = { [MigrationDownProof]: never; }; -export function noMigrationDown(): MigrationDownReceipt { +export function noMigrationsDown(): MigrationDownReceipt { return {} as MigrationDownReceipt; } export function migrationDown( diff --git a/package-lock.json b/package-lock.json index b5b183d..c2a2c04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "start-sdk", - "version": "0.4.0-lib0.charlie21", + "version": "0.4.0-lib0.charlie22", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "start-sdk", - "version": "0.4.0-lib0.charlie21", + "version": "0.4.0-lib0.charlie22", "license": "MIT", "dependencies": { "@iarna/toml": "^2.2.5", diff --git a/package.json b/package.json index 53f8d05..4683089 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "start-sdk", - "version": "0.4.0-lib0.charlie21", + "version": "0.4.0-lib0.charlie22", "description": "For making the patterns that are wanted in making services for the startOS.", "main": "./lib/index.js", "types": "./lib/index.d.ts",