chore(deps): update dependency spark to v1.1.55 #37
1 changed files with 20 additions and 11 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
<!--
|
||||||
|
This file was generated by Spark. Do not edit it by hand.
|
||||||
|
-->
|
||||||
# DSL: Smokestack.Dsl
|
# DSL: Smokestack.Dsl
|
||||||
|
|
||||||
The DSL definition for the Smokestack DSL.
|
The DSL definition for the Smokestack DSL.
|
||||||
|
@ -83,15 +86,16 @@ Define factories for a resource
|
||||||
|
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Docs |
|
| Name | Type | Default | Docs |
|
||||||
| --- | --- | --- | --- |
|
|------|------|---------|------|
|
||||||
| `api` | `module` | | The default Ash API to use when evaluating loads |
|
| [`api`](#smokestack-api){: #smokestack-api } | `module` | | The default Ash API to use when evaluating loads |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## smokestack.factory
|
## smokestack.factory
|
||||||
```elixir
|
```elixir
|
||||||
factory resource, variant \ :default
|
factory resource, variant \\ :default
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -104,14 +108,16 @@ Define factories for a resource
|
||||||
|
|
||||||
|
|
||||||
### Arguments
|
### Arguments
|
||||||
|
|
||||||
| Name | Type | Default | Docs |
|
| Name | Type | Default | Docs |
|
||||||
| --- | --- | --- | --- |
|
|------|------|---------|------|
|
||||||
| `resource`* | `module` | | An Ash Resource |
|
| [`resource`](#smokestack-factory-resource){: #smokestack-factory-resource .spark-required} | `module` | | An Ash Resource |
|
||||||
| `variant` | `atom` | `:default` | The name of a factory variant |
|
| [`variant`](#smokestack-factory-variant){: #smokestack-factory-variant } | `atom` | `:default` | The name of a factory variant |
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Docs |
|
| Name | Type | Default | Docs |
|
||||||
| --- | --- | --- | --- |
|
|------|------|---------|------|
|
||||||
| `api` | `module` | | The Ash API to use when evaluating loads |
|
| [`api`](#smokestack-factory-api){: #smokestack-factory-api } | `module` | | The Ash API to use when evaluating loads |
|
||||||
|
|
||||||
|
|
||||||
## smokestack.factory.attribute
|
## smokestack.factory.attribute
|
||||||
|
@ -127,10 +133,11 @@ attribute name, generator
|
||||||
|
|
||||||
|
|
||||||
### Arguments
|
### Arguments
|
||||||
|
|
||||||
| Name | Type | Default | Docs |
|
| Name | Type | Default | Docs |
|
||||||
| --- | --- | --- | --- |
|
|------|------|---------|------|
|
||||||
| `name`* | `atom` | | The name of the target attribute |
|
| [`name`](#smokestack-factory-attribute-name){: #smokestack-factory-attribute-name .spark-required} | `atom` | | The name of the target attribute |
|
||||||
| `generator`* | `(-> any) \| mfa \| (any -> any) \| mfa \| (any, any -> any) \| mfa` | | A function which can generate an appropriate value for the attribute.œ |
|
| [`generator`](#smokestack-factory-attribute-generator){: #smokestack-factory-attribute-generator .spark-required} | `(-> any) \| mfa \| (any -> any) \| mfa \| (any, any -> any) \| mfa` | | A function which can generate an appropriate value for the attribute.œ |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -151,3 +158,5 @@ Target: `Smokestack.Dsl.Factory`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<style type="text/css">.spark-required::after { content: "*"; color: red !important; }</style>
|
Loading…
Reference in a new issue