Skip to content

Commit dc6dd9b

Browse files
committed
chore(release): v0.6.0
1 parent ef9a507 commit dc6dd9b

File tree

4 files changed

+47
-30
lines changed

4 files changed

+47
-30
lines changed

docs/action.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
11
# Action
22

3-
The action to perform on the destination.
4-
5-
## Properties
6-
7-
| Property | Type | Required | Enum | Default | Description |
8-
| -------- | ---- | -------- | ---- | ------- | ----------- |
9-
| [`merge`](#merge) | string ||| `"concat"` | <p>Determines merge behavior for arrays - either when modifying them directly or when recursively merging objects containing arrays. |
10-
| [`type`](#type) | string ||| `"replace"` | <p>Determines what type of modification to perform. |
11-
12-
### `merge`
13-
14-
| Type | Required | Enum | Default |
15-
| ---- | -------- | ---- | ------- |
16-
| string ||| `"concat"` |
17-
18-
Determines merge behavior for arrays - either when modifying them directly
19-
or when recursively merging objects containing arrays.
20-
21-
Allowed Values:
22-
23-
- `"concat"`: Concatenate source and destination arrays.
24-
- `"upsert"`: Add source array items if not present in the destination.
25-
- `"replace"`: Replace the destination with the source.
26-
27-
### `type`
28-
29-
| Type | Required | Enum | Default |
30-
| ---- | -------- | ---- | ------- |
31-
| string ||| `"replace"` |
32-
333
Determines what type of modification to perform.
344

355
The append/prepend behavior differs slightly depending on

docs/generator.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ stamp add https://example.com/my-generator.tar.gz
6161
| [`name`](#name) | string |||| <p>The generator name. |
6262
| [`tasks`](#tasks) | [Task](task.md#task)[] &#124; null |||| <p>A list of generator tasks. |
6363
| [`values`](#values) | [Value](value.md#value)[] &#124; null |||| <p>A list of generator input values. |
64+
| [`visibility`](#visibility) | string ||| `"public"` | <p>How the generator may be viewed or invoked. |
6465

6566
### `description`
6667

@@ -93,3 +94,17 @@ A list of generator [tasks](https://github.com/twelvelabs/stamp/tree/main/docs/t
9394
| [Value](value.md#value)[] &#124; null ||||
9495

9596
A list of generator input [values](https://github.com/twelvelabs/stamp/tree/main/docs/value.md).
97+
98+
### `visibility`
99+
100+
| Type | Required | Enum | Default |
101+
| ---- | -------- | ---- | ------- |
102+
| string ||| `"public"` |
103+
104+
How the generator may be viewed or invoked.
105+
106+
Allowed Values:
107+
108+
- `"public"`: Callable anywhere.
109+
- `"hidden"`: Public, but hidden in the generator list.
110+
- `"private"`: Only callable as a sub-generator. Never displayed.

docs/stamp.schema.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,22 @@
730730
},
731731
"type": "object",
732732
"markdownDescription": "A generator input value."
733+
},
734+
"VisibilityType": {
735+
"title": "VisibilityType",
736+
"description": "Determines the visibility of the generator.",
737+
"enum": [
738+
"public",
739+
"hidden",
740+
"private"
741+
],
742+
"type": "string",
743+
"enumDescriptions": [
744+
"Callable anywhere.",
745+
"Public, but hidden in the generator list.",
746+
"Only callable as a sub-generator. Never displayed."
747+
],
748+
"markdownDescription": "Determines the visibility of the generator."
733749
}
734750
},
735751
"properties": {
@@ -770,6 +786,13 @@
770786
"null"
771787
],
772788
"markdownDescription": "A list of generator input [values](https://github.com/twelvelabs/stamp/tree/main/docs/value.md)."
789+
},
790+
"visibility": {
791+
"$ref": "#/definitions/VisibilityType",
792+
"title": "Visibility",
793+
"description": "How the generator may be viewed or invoked.",
794+
"default": "public",
795+
"markdownDescription": "How the generator may be viewed or invoked."
773796
}
774797
},
775798
"type": "object",

docs/visibility_type.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# VisibilityType
2+
3+
Determines the visibility of the generator.
4+
5+
Allowed Values:
6+
7+
- `"public"`: Callable anywhere.
8+
- `"hidden"`: Public, but hidden in the generator list.
9+
- `"private"`: Only callable as a sub-generator. Never displayed.

0 commit comments

Comments
 (0)