bundleid cn.alanhe.json2ts category Self-Dev connections 4B13A479-666E-442D-8600-8E35A450CACD destinationuid 971A0F7B-A38F-4A8B-BADF-C1E7DA05E5AF modifiers 0 modifiersubtext vitoclose 8A818E6A-8DE0-4DB1-93D6-3C63295704A5 destinationuid C0168EEC-2D9D-4B84-8485-2B6E52EA47AC modifiers 0 modifiersubtext sourceoutputuid D2676AEF-2583-463E-A75B-FB0B5B783EA8 vitoclose destinationuid 37012F37-20C8-4D58-92C0-BE9DC0571345 modifiers 0 modifiersubtext vitoclose 971A0F7B-A38F-4A8B-BADF-C1E7DA05E5AF destinationuid 8A818E6A-8DE0-4DB1-93D6-3C63295704A5 modifiers 0 modifiersubtext vitoclose C0168EEC-2D9D-4B84-8485-2B6E52EA47AC destinationuid C14D2E76-5875-4F6A-9906-C0A1EE902B5A modifiers 0 modifiersubtext vitoclose C14D2E76-5875-4F6A-9906-C0A1EE902B5A destinationuid CF4FB9A4-2544-451A-93E5-75CDE548229A modifiers 0 modifiersubtext sourceoutputuid D2676AEF-2583-463E-A75B-FB0B5B783EA8 vitoclose destinationuid DDECB2AF-5C6E-4720-99AF-EC68301C2A98 modifiers 0 modifiersubtext sourceoutputuid D2676AEF-2583-463E-A75B-FB0B5B783EA8 vitoclose destinationuid F24FF793-EB72-4996-B8E1-C8AFBA67F713 modifiers 0 modifiersubtext vitoclose CF4FB9A4-2544-451A-93E5-75CDE548229A destinationuid 8A45BCE8-EDED-46FB-B48F-6E5F42899948 modifiers 0 modifiersubtext vitoclose DDECB2AF-5C6E-4720-99AF-EC68301C2A98 createdby Alan He description generate TypeScript interfaces from JSON disabled name Json2TS objects config autopaste clipboardtext {query} ignoredynamicplaceholders transient type alfred.workflow.output.clipboard uid CF4FB9A4-2544-451A-93E5-75CDE548229A version 3 config lastpathcomponent onlyshowifquerypopulated removeextension text title Copied to clipboard type alfred.workflow.output.notification uid 8A45BCE8-EDED-46FB-B48F-6E5F42899948 version 1 config concurrently escaping 102 script /usr/local/bin/node ./main.js "{query}" scriptargtype 0 scriptfile type 0 type alfred.workflow.action.script uid C0168EEC-2D9D-4B84-8485-2B6E52EA47AC version 2 config acceptsfiles acceptsmulti 0 acceptstext acceptsurls name json2ts type alfred.workflow.trigger.universalaction uid 4B13A479-666E-442D-8600-8E35A450CACD version 1 config conditions inputstring matchcasesensitive matchmode 1 matchstring 1 outputlabel uid D2676AEF-2583-463E-A75B-FB0B5B783EA8 elselabel else type alfred.workflow.utility.conditional uid C14D2E76-5875-4F6A-9906-C0A1EE902B5A version 1 config type 0 type alfred.workflow.utility.transform uid 971A0F7B-A38F-4A8B-BADF-C1E7DA05E5AF version 1 config alignment 0 backgroundcolor fadespeed 0 fillmode 0 font ignoredynamicplaceholders largetypetext {query} textcolor wrapat 50 type alfred.workflow.output.largetype uid DDECB2AF-5C6E-4720-99AF-EC68301C2A98 version 3 config conditions inputstring matchcasesensitive matchmode 1 matchstring outputlabel uid D2676AEF-2583-463E-A75B-FB0B5B783EA8 elselabel else type alfred.workflow.utility.conditional uid 8A818E6A-8DE0-4DB1-93D6-3C63295704A5 version 1 config lastpathcomponent onlyshowifquerypopulated removeextension text title Empty JSON type alfred.workflow.output.notification uid 37012F37-20C8-4D58-92C0-BE9DC0571345 version 1 config lastpathcomponent onlyshowifquerypopulated removeextension text title Invalid JSON type alfred.workflow.output.notification uid F24FF793-EB72-4996-B8E1-C8AFBA67F713 version 1 readme > generate TypeScript interfaces from JSON. you can choose prefer interface instead of type. thanks json-ts package. ## usage json text select and trigger json2ts universal action. uidata 37012F37-20C8-4D58-92C0-BE9DC0571345 xpos 445 ypos 430 4B13A479-666E-442D-8600-8E35A450CACD xpos 85 ypos 175 8A45BCE8-EDED-46FB-B48F-6E5F42899948 xpos 955 ypos 140 8A818E6A-8DE0-4DB1-93D6-3C63295704A5 xpos 345 ypos 285 971A0F7B-A38F-4A8B-BADF-C1E7DA05E5AF xpos 255 ypos 205 C0168EEC-2D9D-4B84-8485-2B6E52EA47AC colorindex 4 xpos 435 ypos 150 C14D2E76-5875-4F6A-9906-C0A1EE902B5A xpos 585 ypos 200 CF4FB9A4-2544-451A-93E5-75CDE548229A xpos 720 ypos 125 DDECB2AF-5C6E-4720-99AF-EC68301C2A98 xpos 750 ypos 280 F24FF793-EB72-4996-B8E1-C8AFBA67F713 xpos 725 ypos 465 variables ts_namespace ts_prefer_interface true ts_prefix ts_rootname Root variablesdontexport version 1.2 webaddress https://1991421.cn