Skip to content

Commit 11c813c

Browse files
fix app file
1 parent 8d6a215 commit 11c813c

File tree

2 files changed

+24
-35
lines changed

2 files changed

+24
-35
lines changed
Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,33 @@
1+
import { DATE_FORMAT_OPTIONS } from "./common/date-time/dateFormats.mjs";
2+
13
export default {
24
type: "app",
35
app: "pipedream_utils",
4-
propDefinitions: {},
6+
propDefinitions: {
7+
inputDate: {
8+
label: "Input Date",
9+
description: "A valid date string, in the format selected in `Input Format`. If the format is not set, Pipedream will attempt to infer it from the input. If the input is an integer, it will be treated as a unix timestamp in seconds.",
10+
type: "string",
11+
},
12+
inputFormat: {
13+
label: "Input Format",
14+
type: "string",
15+
options: DATE_FORMAT_OPTIONS,
16+
description: "The format of the provided date.",
17+
optional: true,
18+
},
19+
outputFormat: {
20+
label: "Output Format",
21+
type: "string",
22+
options: DATE_FORMAT_OPTIONS,
23+
description: "The format of the output date. If not provided, the input format will be used (default is ISO 8601).",
24+
optional: true,
25+
},
26+
},
527
methods: {
628
// this.$auth contains connected account data
729
authKeys() {
830
console.log(Object.keys(this.$auth));
931
},
1032
},
11-
};
33+
};

components/pipedream_utils/pipedream_utils.mjs

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)