-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
192 additions
and
583 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
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
29 changes: 29 additions & 0 deletions
29
packages/@pufflig/ps-nodes-config/src/modifiers/template/template_text_v2.ts
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,29 @@ | ||
import { NodeConfig } from "@pufflig/ps-types"; | ||
|
||
export const templateTextNodeTypeV2 = "modifier/template_text_v2" as const; | ||
|
||
export const templateTextV2: NodeConfig = { | ||
name: "Text Template", | ||
description: "Write text with variables", | ||
tags: ["modifier", "text"], | ||
status: "stable", | ||
customSchema: "input", | ||
outputs: [ | ||
{ | ||
id: "text", | ||
name: "Text", | ||
description: "Text with variables filled in", | ||
type: "text", | ||
defaultValue: "", | ||
}, | ||
], | ||
inputs: [ | ||
{ | ||
id: "template", | ||
name: "Template", | ||
description: "Template to fill in", | ||
type: "text", | ||
defaultValue: "", | ||
}, | ||
], | ||
}; |
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
Oops, something went wrong.