-
-
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.
begin reffactoring folder structure so i can see whats happening
- Loading branch information
1 parent
28bc35a
commit 7670fae
Showing
95 changed files
with
2,677 additions
and
2,743 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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
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,40 @@ | ||
import { Form } from '@termsurf/form' | ||
|
||
export const archive_with_rar: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'I' } }, | ||
path: { like: 'string' }, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'O' } }, | ||
file: { | ||
link: { path: { like: 'string' } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
export const archive_with_zip: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
path: { like: 'string', name: { mark: 'i' } }, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'O' } }, | ||
file: { | ||
link: { path: { like: 'string', name: { mark: 'o' } } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
File renamed without changes.
File renamed without changes.
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,32 @@ | ||
import { Form } from '@termsurf/form' | ||
|
||
export const convert_archive: Form = { | ||
form: 'form', | ||
link: { | ||
temporary: { | ||
link: { | ||
directory: { | ||
link: { | ||
path: { like: 'string', name: { mark: 'm' } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
input: { | ||
link: { | ||
format: { like: 'unarchiver_format', name: { mark: 'I' } }, | ||
file: { | ||
link: { path: { like: 'string' } }, | ||
}, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'O' } }, | ||
file: { | ||
link: { path: { like: 'string' } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
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,212 @@ | ||
import { Form } from '@termsurf/form' | ||
|
||
export const convert_document_with_jupyter: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'I' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'O' } }, | ||
file: { | ||
link: { | ||
format: { like: 'string' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
export const convert_document_with_libre_office: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
format: { | ||
like: 'libre_office_input_format', | ||
name: { mark: 'I' }, | ||
}, | ||
file: { | ||
link: { | ||
path: { like: 'string', name: { mark: 'i' } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
format: { | ||
like: 'libre_office_output_format', | ||
name: { mark: 'O' }, | ||
}, | ||
directory: { | ||
link: { | ||
path: { like: 'string', name: { mark: 'b' } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
export const convert_latex_to_pdf_with_pdf_latex: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'I' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
directory: { | ||
link: { | ||
path: { like: 'string' }, | ||
}, | ||
}, | ||
file: { | ||
link: { | ||
name: { like: 'string' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
export const convert_document_with_calibre: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
format: { like: 'calibre_input_format', name: { mark: 'I' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string', name: { mark: 'i' } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
format: { like: 'calibre_output_format', name: { mark: 'O' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string', name: { mark: 'o' } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
export const convert_html_to_pdf_with_puppeteer: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'I' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'O' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
viewport: { | ||
link: { | ||
width: { like: 'natural_number', need: false }, | ||
height: { like: 'natural_number', need: false }, | ||
}, | ||
}, | ||
proxy: { like: 'string', need: false }, | ||
waitUntil: { like: 'puppeteer_life_cycle_event', need: false }, | ||
}, | ||
} | ||
|
||
export const convert_html_to_png_with_puppeteer: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'I' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
format: { like: 'string', name: { mark: 'O' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
viewport: { | ||
link: { | ||
width: { like: 'natural_number', need: false }, | ||
height: { like: 'natural_number', need: false }, | ||
}, | ||
}, | ||
proxy: { like: 'string', need: false }, | ||
waitUntil: { like: 'puppeteer_life_cycle_event', need: false }, | ||
}, | ||
} | ||
|
||
export const convert_document_with_pandoc: Form = { | ||
form: 'form', | ||
link: { | ||
input: { | ||
link: { | ||
format: { like: 'pandoc_input_format', name: { mark: 'I' } }, | ||
file: { | ||
link: { | ||
path: { like: 'string', name: { mark: 'i' } }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
output: { | ||
link: { | ||
file: { | ||
link: { | ||
path: { like: 'string', name: { mark: 'o' } }, | ||
}, | ||
}, | ||
format: { | ||
like: 'pandoc_output_format', | ||
name: { mark: 'O' }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
Oops, something went wrong.