Dagger
Search

ts

No long description provided.

Installation

dagger install github.com/sipsma/dagger/sdk/typescript/standalone@4c85e5047e9c4a1ed71b82a17fe710e53c1b93d8

Entrypoint

Return Type
Ts
Example
dagger -m github.com/sipsma/dagger/sdk/typescript/standalone@4c85e5047e9c4a1ed71b82a17fe710e53c1b93d8 call \
func (m *myModule) example() *Ts  {
	return dag.
			Ts()
}
@function
def example() -> dag.Ts:
	return (
		dag.ts()
	)
@func()
example(): Ts {
	return dag
		.ts()
}

Types

Ts 🔗

moduleRuntime() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *Container  {
	return dag.
			Ts().
			ModuleRuntime(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dagger.Container:
	return (
		dag.ts()
		.module_runtime(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: string): Container {
	return dag
		.ts()
		.moduleRuntime(modSource, introspectionJson)
}

codegen() 🔗

Returns lines that match a pattern in the files of the provided Directory

Return Type
GeneratedCode !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *GeneratedCode  {
	return dag.
			Ts().
			Codegen(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dag.GeneratedCode:
	return (
		dag.ts()
		.codegen(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: string): GeneratedCode {
	return dag
		.ts()
		.codegen(modSource, introspectionJson)
}

requiredPaths() 🔗

Return Type
[String ! ] !
Example
dagger -m github.com/sipsma/dagger/sdk/typescript/standalone@4c85e5047e9c4a1ed71b82a17fe710e53c1b93d8 call \
 required-paths
func (m *myModule) example(ctx context.Context) []string  {
	return dag.
			Ts().
			RequiredPaths(ctx)
}
@function
async def example() -> List[str]:
	return await (
		dag.ts()
		.required_paths()
	)
@func()
async example(): Promise<string[]> {
	return dag
		.ts()
		.requiredPaths()
}