-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from webNeat/develop
Export internal functions
- Loading branch information
Showing
8 changed files
with
16 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { instance } from './instance.js' | ||
import * as blocks from './blocks/index.js' | ||
import * as ansible from './ansible/index.js' | ||
|
||
export * from './types.js' | ||
export * from './services/index.js' | ||
export { server } from './server.js' | ||
export { assert } from './blocks/index.js' | ||
export { instance } | ||
|
||
export const { deploy, destroy, playbook, write, run } = instance() | ||
|
||
export const internals = {ansible, blocks, instance} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export * as app from './app/index.js' | ||
export * from './assertions.js' | ||
export * from './tasks.js' | ||
export * from './command.js' | ||
export * from './container.js' | ||
export * as db from './database/index.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { Tasks } from '../ansible/types.js' | ||
import { TasksService } from '../types.js' | ||
|
||
export function assertions(...tasks: Tasks): TasksService { | ||
return { type: 'tasks', get_deploy_tasks: () => tasks, get_destroy_tasks: () => [] } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters