@stacksjs/types 0.53.1 → 0.56.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/cli.mjs +5 -3
  2. package/dist/cron-jobs.mjs +12 -0
  3. package/dist/errors.mjs +7 -1
  4. package/dist/index.mjs +2 -1
  5. package/dist/queue.mjs +0 -0
  6. package/package.json +25 -18
  7. package/dist/app.d.ts +0 -108
  8. package/dist/auto-imports.d.ts +0 -1
  9. package/dist/build.d.ts +0 -2
  10. package/dist/cache.d.ts +0 -69
  11. package/dist/cdn.d.ts +0 -15
  12. package/dist/cli.d.ts +0 -278
  13. package/dist/components.d.ts +0 -60
  14. package/dist/cron-jobs.d.ts +0 -16
  15. package/dist/database.d.ts +0 -32
  16. package/dist/debug.d.ts +0 -6
  17. package/dist/deploy.d.ts +0 -9
  18. package/dist/dns.d.ts +0 -43
  19. package/dist/docs.d.ts +0 -3
  20. package/dist/errors.d.ts +0 -1
  21. package/dist/events.d.ts +0 -22
  22. package/dist/exit-code.d.ts +0 -10
  23. package/dist/fs.d.ts +0 -27
  24. package/dist/git.d.ts +0 -128
  25. package/dist/hashing.d.ts +0 -102
  26. package/dist/i18n.d.ts +0 -19
  27. package/dist/index.d.ts +0 -39
  28. package/dist/inspect.d.ts +0 -9
  29. package/dist/layout.d.ts +0 -7
  30. package/dist/library.d.ts +0 -132
  31. package/dist/manifest.d.ts +0 -9
  32. package/dist/markdown.d.ts +0 -167
  33. package/dist/model.d.ts +0 -40
  34. package/dist/notifications.d.ts +0 -164
  35. package/dist/pages.d.ts +0 -10
  36. package/dist/payments.d.ts +0 -59
  37. package/dist/promise.d.ts +0 -1
  38. package/dist/pwa.d.ts +0 -7
  39. package/dist/reactivity.d.ts +0 -1
  40. package/dist/router.d.ts +0 -42
  41. package/dist/search-engine.d.ts +0 -143
  42. package/dist/ssg.d.ts +0 -2
  43. package/dist/stacks.d.ts +0 -163
  44. package/dist/tables.d.ts +0 -52
  45. package/dist/ui.d.ts +0 -180
  46. package/dist/utils.d.ts +0 -30
  47. /package/dist/{markdown.mjs → money.mjs} +0 -0
package/dist/library.d.ts DELETED
@@ -1,132 +0,0 @@
1
- import type { TagsOptions } from './components';
2
- /**
3
- * **Library Options**
4
- *
5
- * This configuration defines all of your library options. Because Stacks is fully-typed, you
6
- * may hover any of the options below and the definitions will be provided. In case you
7
- * have any questions, feel free to reach out via Discord or GitHub Discussions.
8
- */
9
- export interface LibraryOptions {
10
- /**
11
- * The base name of your library/libraries.
12
- */
13
- name: string;
14
- /**
15
- * The name of your organization (parent).
16
- */
17
- parentName: string | null;
18
- /**
19
- * The package registry to use.
20
- */
21
- packageRegistry: 'npm';
22
- /**
23
- * The path of your repository.
24
- *
25
- * @example
26
- * "your-org/your-repo"
27
- */
28
- repository: string;
29
- /**
30
- * The list of accepted SPDX licenses.
31
- * When developing OS packages, you may want to utilize an OSI approved license.
32
- *
33
- * @example
34
- * "MIT"
35
- * @see https://opensource.org/licenses
36
- */
37
- license: LicenseType;
38
- /**
39
- * The author's name of the library.
40
- */
41
- author: string;
42
- /**
43
- * A list of all the contributors.
44
- */
45
- contributors: string[];
46
- /**
47
- * The default language used within your stack.
48
- */
49
- defaultLanguage: LanguageCode;
50
- /**
51
- * The Vue component library options.
52
- */
53
- vueComponents: LibraryBuildOptions;
54
- /**
55
- * The Web Component library options.
56
- */
57
- webComponents: LibraryBuildOptions;
58
- /**
59
- * The Web Component library options.
60
- */
61
- functions: LibraryBuildOptions;
62
- }
63
- /**
64
- * The list of available options to build your library.
65
- */
66
- export interface LibraryBuildOptions {
67
- /**
68
- * The name of your library as published to npm.
69
- */
70
- name: string;
71
- /**
72
- * The description of your library as published to npm.
73
- */
74
- description: string;
75
- /**
76
- * The keywords of your library as published to npm.
77
- */
78
- keywords: string[];
79
- /**
80
- * Should your library include an IIFE build?
81
- * (Immediately Invoked Function Expression)
82
- * @default false
83
- */
84
- shouldBuildIife?: boolean;
85
- /**
86
- * Should your library generate a sourcemap?
87
- * @default false
88
- */
89
- shouldGenerateSourcemap?: boolean;
90
- /**
91
- * This is where you define the functions/composables that need to be included
92
- * in your library. For example, including your `counter` function to be
93
- * built would require `../functions/counter.ts` to be present.
94
- */
95
- functions?: string[];
96
- /**
97
- * This is where you define the components that need to be included in
98
- * your library. For example, including your `HelloWorld` to be built
99
- * would require `../components/HelloWorld.vue` to be present.
100
- *
101
- * @example
102
- * {
103
- * tags: [{
104
- * name: 'HelloWorld' // export { default as HelloWorld } from './components/HelloWorld.vue'
105
- * }]
106
- * }
107
- *
108
- * @example
109
- * {
110
- * tags: [{
111
- * name: ['HelloWorld', 'AppHelloWorld'] // export { default as AppHelloWorld } from './components/HelloWorld.vue'
112
- * }]
113
- * }
114
- */
115
- tags?: TagsOptions;
116
- }
117
- /**
118
- * The name of your "Stack" which generally is your library name
119
- * or a concatenation of your organization & library name.
120
- */
121
- export type StackName = string;
122
- /**
123
- * The list of accepted SPDX licenses.
124
- * When developing OS packages, you may want to utilize an OSI approved license.
125
- * @see https://opensource.org/licenses
126
- */
127
- export type LicenseType = 'CC-BY-NC-ND-2.0' | 'SGI-B-2.0' | 'LPPL-1.3c' | 'NIST-PD-fallback' | 'libtiff' | 'XSkat' | 'PDDL-1.0' | 'KiCad-libraries-exception' | 'CC-BY-NC-SA-1.0' | 'GFDL-1.1-no-invariants-only' | 'Xerox' | 'LPPL-1.1' | 'VOSTROM' | 'UCL-1.0' | 'ADSL' | 'OSL-2.0' | 'AAL' | 'FDK-AAC' | 'W3C-20150513' | 'AFL-1.1' | 'W3C' | 'Sleepycat' | 'CECILL-1.1' | 'mpich2' | 'SISSL' | 'NLOD-1.0' | 'ANTLR-PD' | 'GPL-3.0-only' | 'gnuplot' | 'NLOD-2.0' | 'BSD-3-Clause-Open-MPI' | 'LiLiQ-P-1.1' | 'BSD-3-Clause-Clear' | 'FSFUL' | 'CC-BY-NC-SA-2.0-UK' | 'CERN-OHL-S-2.0' | 'Spencer-94' | 'CERN-OHL-1.2' | 'GFDL-1.1-or-later' | 'AGPL-1.0-or-later' | 'Wsuipa' | 'AML' | 'BSD-2-Clause' | 'DSDP' | 'CC-BY-2.5' | 'MIT-CMU' | 'Beerware' | 'Sendmail' | 'TU-Berlin-1.0' | 'CNRI-Jython' | 'mplus' | 'CPOL-1.02' | 'BSD-3-Clause-No-Nuclear-License-2014' | 'ISC' | 'CC-BY-SA-4.0' | 'Eurosym' | 'LGPL-3.0-only' | 'OLDAP-1.3' | 'GFDL-1.1-invariants-or-later' | 'Glulxe' | 'SimPL-2.0' | 'CDLA-Permissive-2.0' | 'GPL-2.0-with-font-exception' | 'OGL-UK-2.0' | 'CC-BY-SA-3.0-DE' | 'CC-BY-ND-1.0' | 'GFDL-1.1' | 'CC-BY-4.0' | 'OpenSSL' | 'TU-Berlin-2.0' | 'DOC' | 'GFDL-1.2-no-invariants-or-later' | 'QPL-1.0' | 'OLDAP-2.8' | 'OML' | 'OLDAP-2.7' | 'NIST-PD' | 'Bitstream-Vera' | 'GFDL-1.2-or-later' | 'OFL-1.1-RFN' | 'Bahyph' | 'Barr' | 'COIL-1.0' | 'GFDL-1.3' | 'CECILL-B' | 'JPNIC' | 'Zed' | 'ICU' | 'CC-BY-NC-SA-2.5' | 'CC-BY-ND-3.0-DE' | 'bzip2-1.0.5' | 'SPL-1.0' | 'YPL-1.0' | 'OSET-PL-2.1' | 'Noweb' | 'RPSL-1.0' | 'BSD-3-Clause-LBNL' | 'CDLA-Sharing-1.0' | 'CECILL-1.0' | 'AMPAS' | 'APAFML' | 'CC-BY-ND-3.0' | 'D-FSL-1.0' | 'CC-BY-NC-3.0' | 'libpng-2.0' | 'PolyForm-Noncommercial-1.0.0' | 'dvipdfm' | 'GFDL-1.3-or-later' | 'OGTSL' | 'NPL-1.1' | 'GPL-3.0' | 'CERN-OHL-P-2.0' | 'BlueOak-1.0.0' | 'AGPL-3.0-or-later' | 'blessing' | 'ImageMagick' | 'APSL-2.0' | 'MIT-advertising' | 'curl' | 'CC0-1.0' | 'Zimbra-1.4' | 'SSPL-1.0' | 'psutils' | 'CC-BY-SA-2.0-UK' | 'PSF-2.0' | 'Net-SNMP' | 'NAIST-2003' | 'GFDL-1.2-invariants-or-later' | 'SGI-B-1.0' | 'NBPL-1.0' | 'GFDL-1.2-invariants-only' | 'W3C-19980720' | 'OFL-1.0-no-RFN' | 'NetCDF' | 'TMate' | 'NOSL' | 'CNRI-Python-GPL-Compatible' | 'BSD-1-Clause' | 'CC-BY-NC-SA-3.0-DE' | 'BSD-3-Clause-Modification' | 'GLWTPL' | 'GFDL-1.3-only' | 'OLDAP-2.2' | 'CC-BY-ND-4.0' | 'CC-BY-NC-ND-3.0-DE' | 'EUPL-1.0' | 'Linux-OpenIB' | 'LGPL-2.0-or-later' | 'OSL-1.1' | 'Spencer-86' | 'LGPL-2.0' | 'CC-PDDC' | 'CC-BY-NC-ND-3.0' | 'CDL-1.0' | 'Elastic-2.0' | 'CC-BY-2.0' | 'BSD-3-Clause-No-Military-License' | 'IJG' | 'LPPL-1.3a' | 'SAX-PD' | 'BitTorrent-1.0' | 'OLDAP-2.0' | 'Giftware' | 'C-UDA-1.0' | 'LGPL-2.0+' | 'Rdisc' | 'GPL-2.0-with-classpath-exception' | 'CC-BY-3.0-US' | 'CDDL-1.0' | 'Xnet' | 'CPL-1.0' | 'LGPL-3.0-or-later' | 'NASA-1.3' | 'BUSL-1.1' | 'etalab-2.0' | 'MIT-open-group' | 'OLDAP-1.4' | 'GFDL-1.1-invariants-only' | 'RPL-1.1' | 'CC-BY-NC-ND-2.5' | 'FSFULLR' | 'Saxpath' | 'NTP-0' | 'SISSL-1.2' | 'GPL-3.0-or-later' | 'Apache-1.1' | 'CC-BY-SA-2.1-JP' | 'AGPL-3.0-only' | 'GPL-2.0-with-autoconf-exception' | 'Artistic-2.0' | 'App-s2p' | 'Unicode-DFS-2015' | 'diffmark' | 'SNIA' | 'CC-BY-SA-2.5' | 'Linux-man-pages-copyleft' | 'HPND-sell-variant' | 'ZPL-2.1' | 'BSD-4-Clause-UC' | 'LAL-1.2' | 'AGPL-1.0-only' | 'MIT-enna' | 'Condor-1.1' | 'Naumen' | 'GFDL-1.3-no-invariants-or-later' | 'RPL-1.5' | 'PolyForm-Small-Business-1.0.0' | 'EFL-1.0' | 'MirOS' | 'CC-BY-2.5-AU' | 'Afmparse' | 'MPL-2.0-no-copyleft-exception' | 'LiLiQ-Rplus-1.1' | 'AFL-1.2' | 'OSL-1.0' | 'GPL-1.0-only' | 'APSL-1.0' | 'OGL-Canada-2.0' | 'CPAL-1.0' | 'Latex2e' | 'Zend-2.0' | 'Unlicense' | 'xpp' | 'CC-BY-NC-1.0' | 'GPL-3.0-with-autoconf-exception' | 'CC-BY-NC-SA-3.0' | 'TCP-wrappers' | 'SCEA' | 'SSH-short' | 'CC-BY-3.0-NL' | 'SchemeReport' | 'CC-BY-3.0' | 'MPL-2.0' | 'Unicode-TOU' | 'CC-BY-NC-ND-1.0' | 'Entessa' | 'BSD-3-Clause-No-Nuclear-License' | 'SWL' | 'GFDL-1.2-no-invariants-only' | 'Parity-7.0.0' | 'OLDAP-2.2.1' | 'SGI-B-1.1' | 'FTL' | 'OLDAP-2.4' | 'CC-BY-NC-4.0' | 'bzip2-1.0.6' | 'copyleft-next-0.3.0' | 'MakeIndex' | 'NRL' | 'GFDL-1.3-invariants-or-later' | 'CC-BY-NC-2.0' | 'SugarCRM-1.1.3' | 'AFL-2.1' | 'GPL-2.0-only' | 'GFDL-1.3-invariants-only' | 'TORQUE-1.1' | 'Ruby' | 'X11' | 'Borceux' | 'Libpng' | 'X11-distribute-modifications-variant' | 'Frameworx-1.0' | 'NCGL-UK-2.0' | 'CECILL-2.1' | 'CC-BY-3.0-AT' | 'CNRI-Python' | 'NCSA' | 'gSOAP-1.3b' | 'EUPL-1.1' | 'AMDPLPA' | 'Imlib2' | 'CDDL-1.1' | 'WTFPL' | 'LPL-1.0' | 'EPL-1.0' | 'BSD-3-Clause-Attribution' | 'OSL-3.0' | 'RHeCos-1.1' | 'PHP-3.0' | 'BSD-Protection' | 'CC-BY-NC-3.0-DE' | 'APL-1.0' | 'EUDatagrid' | 'GPL-1.0' | 'SHL-0.5' | 'CC-BY-SA-2.0' | 'CC-BY-SA-3.0-AT' | 'CC-BY-NC-SA-3.0-IGO' | 'Adobe-2006' | 'Newsletr' | 'Nunit' | 'Multics' | 'OGL-UK-1.0' | 'Vim' | 'eCos-2.0' | 'Zimbra-1.3' | 'eGenix' | 'IBM-pibs' | 'BitTorrent-1.1' | 'OFL-1.1-no-RFN' | 'psfrag' | 'CC-BY-ND-2.0' | 'SHL-0.51' | 'FreeBSD-DOC' | 'Python-2.0' | 'Mup' | 'BSD-4-Clause-Shortened' | 'CC-BY-NC-SA-4.0' | 'HPND' | 'OLDAP-2.6' | 'MPL-1.1' | 'GPL-2.0-with-GCC-exception' | 'HaskellReport' | 'ECL-1.0' | 'LGPL-2.1-or-later' | 'OFL-1.0' | 'APSL-1.1' | 'MITNFA' | 'CECILL-2.0' | 'Crossword' | 'Aladdin' | 'Baekmuk' | 'XFree86-1.1' | 'GPL-1.0-or-later' | 'CERN-OHL-W-2.0' | 'CC-BY-SA-1.0' | 'NTP' | 'PHP-3.01' | 'OCLC-2.0' | 'CC-BY-3.0-DE' | 'CC-BY-NC-2.5' | 'Zlib' | 'CATOSL-1.1' | 'LGPL-3.0+' | 'CAL-1.0' | 'NPL-1.0' | 'SMLNJ' | 'GPL-2.0+' | 'OLDAP-2.5' | 'JasPer-2.0' | 'GPL-2.0-or-later' | 'BSD-2-Clause-Patent' | 'MS-RL' | 'CUA-OPL-1.0' | 'IPA' | 'NLPL' | 'O-UDA-1.0' | 'MIT-Modern-Variant' | 'OLDAP-1.2' | 'BSD-2-Clause-FreeBSD' | 'Info-ZIP' | 'CC-BY-NC-SA-2.0-FR' | '0BSD' | 'Unicode-DFS-2016' | 'OFL-1.0-RFN' | 'Intel' | 'AFL-2.0' | 'GL2PS' | 'TAPR-OHL-1.0' | 'Apache-1.0' | 'MTLL' | 'Motosoto' | 'RSA-MD' | 'Community-Spec-1.0' | 'ODC-By-1.0' | 'zlib-acknowledgement' | 'DL-DE-BY-2.0' | 'VSL-1.0' | 'LiLiQ-R-1.1' | 'OPL-1.0' | 'GPL-3.0+' | 'MulanPSL-2.0' | 'APSL-1.2' | 'OGDL-Taiwan-1.0' | 'RSCPL' | 'OGC-1.0' | 'EFL-2.0' | 'CAL-1.0-Combined-Work-Exception' | 'MS-PL' | 'Plexus' | 'Sendmail-8.23' | 'Cube' | 'JSON' | 'EUPL-1.2' | 'Adobe-Glyph' | 'FreeImage' | 'Watcom-1.0' | 'Jam' | 'Hippocratic-2.1' | 'OLDAP-2.0.1' | 'CC-BY-NC-SA-2.0' | 'Nokia' | 'OCCT-PL' | 'ErlPL-1.1' | 'TOSL' | 'OSL-2.1' | 'ClArtistic' | 'xinetd' | 'GPL-3.0-with-GCC-exception' | 'ODbL-1.0' | 'MIT' | 'LGPL-2.1+' | 'LGPL-2.1-only' | 'CrystalStacker' | 'ECL-2.0' | 'LPPL-1.0' | 'iMatix' | 'CC-BY-NC-ND-3.0-IGO' | 'BSD-Source-Code' | 'Parity-6.0.0' | 'TCL' | 'Arphic-1999' | 'CC-BY-SA-3.0' | 'Caldera' | 'AGPL-1.0' | 'IPL-1.0' | 'LAL-1.3' | 'EPICS' | 'NGPL' | 'DRL-1.0' | 'BSD-2-Clause-NetBSD' | 'ZPL-1.1' | 'GD' | 'LPPL-1.2' | 'Dotseqn' | 'Spencer-99' | 'OLDAP-2.3' | 'YPL-1.1' | 'Fair' | 'Qhull' | 'GFDL-1.1-no-invariants-or-later' | 'CECILL-C' | 'MulanPSL-1.0' | 'OLDAP-1.1' | 'OLDAP-2.1' | 'LPL-1.02' | 'UPL-1.0' | 'Abstyles' | 'ZPL-2.0' | 'MIT-0' | 'LGPL-2.0-only' | 'GFDL-1.3-no-invariants-only' | 'AGPL-3.0' | 'EPL-2.0' | 'AFL-3.0' | 'CDLA-Permissive-1.0' | 'Artistic-1.0' | 'CC-BY-NC-ND-4.0' | 'HTMLTIDY' | 'Glide' | 'FSFAP' | 'LGPLLR' | 'OGL-UK-3.0' | 'GFDL-1.2' | 'SSH-OpenSSH' | 'GFDL-1.1-only' | 'MIT-feh' | 'MPL-1.0' | 'PostgreSQL' | 'OLDAP-2.2.2' | 'SMPPL' | 'OFL-1.1' | 'Leptonica' | 'CERN-OHL-1.1' | 'BSD-3-Clause-No-Nuclear-Warranty' | 'CC-BY-ND-2.5' | 'CC-BY-1.0' | 'GFDL-1.2-only' | 'OPUBL-1.0' | 'libselinux-1.0' | 'BSD-3-Clause' | 'ANTLR-PD-fallback' | 'copyleft-next-0.3.1' | 'GPL-1.0+' | 'wxWindows' | 'LGPL-3.0' | 'LGPL-2.1' | 'StandardML-NJ' | 'BSD-4-Clause' | 'GPL-2.0-with-bison-exception' | 'Apache-2.0' | 'Artistic-1.0-cl8' | 'GPL-2.0' | 'Intel-ACPI' | 'BSL-1.0' | 'Artistic-1.0-Perl' | 'BSD-2-Clause-Views' | 'Interbase-1.0' | 'NPOSL-3.0';
128
- /**
129
- * The list of accepted language codes.
130
- * @see https://meta.wikimedia.org/wiki/Template:List_of_language_names_ordered_by_code
131
- */
132
- export type LanguageCode = 'aa' | 'ab' | 'af' | 'ak' | 'als' | 'am' | 'an' | 'ang' | 'ang' | 'ar' | 'arc' | 'as' | 'ast' | 'av' | 'awa' | 'ay' | 'az' | 'ba' | 'bar' | 'bat-smg' | 'bcl' | 'be' | 'be-x-old' | 'bg' | 'bh' | 'bi' | 'bm' | 'bn' | 'bo' | 'bpy' | 'br' | 'brx' | 'bs' | 'bug' | 'bxr' | 'ca' | 'cdo' | 'ce' | 'ceb' | 'ch' | 'cho' | 'chr' | 'chy' | 'ckb' | 'co' | 'cr' | 'cs' | 'csb' | 'cu' | 'cv' | 'cy' | 'da' | 'de' | 'diq' | 'dsb' | 'dv' | 'dz' | 'ee' | 'el' | 'en' | 'eo' | 'es' | 'et' | 'eu' | 'ext' | 'fa' | 'ff' | 'fi' | 'fiu-vro' | 'fj' | 'fo' | 'fr' | 'frp' | 'fur' | 'fy' | 'ga' | 'gan' | 'gbm' | 'gd' | 'gil' | 'gl' | 'gn' | 'got' | 'gu' | 'gv' | 'ha' | 'hak' | 'haw' | 'he' | 'hi' | 'ho' | 'hr' | 'ht' | 'hu' | 'hy' | 'hz' | 'ia' | 'id' | 'ie' | 'ig' | 'ii' | 'ik' | 'ilo' | 'inh' | 'io' | 'is' | 'it' | 'iu' | 'ja' | 'jbo' | 'jv' | 'ka' | 'kg' | 'ki' | 'kj' | 'kk' | 'kl' | 'km' | 'kn' | 'khw' | 'ko' | 'kr' | 'ks' | 'ksh' | 'ku' | 'kv' | 'kw' | 'ky' | 'la' | 'lad' | 'lan' | 'lb' | 'lg' | 'li' | 'lij' | 'lmo' | 'ln' | 'lo' | 'lzz' | 'lt' | 'lv' | 'map-bms' | 'mg' | 'man' | 'mh' | 'mi' | 'min' | 'mk' | 'ml' | 'mn' | 'mo' | 'mr' | 'mrh' | 'ms' | 'mt' | 'mus' | 'mwl' | 'my' | 'na' | 'nah' | 'nap' | 'nd' | 'nds' | 'nds-nl' | 'ne' | 'new' | 'ng' | 'nl' | 'nn' | 'no' | 'nr' | 'nso' | 'nrm' | 'nv' | 'ny' | 'oc' | 'oj' | 'om' | 'or' | 'os' | 'pa' | 'pag' | 'pam' | 'pap' | 'pdc' | 'pi' | 'pih' | 'pl' | 'pms' | 'ps' | 'pt' | 'qu' | 'rm' | 'rmy' | 'rn' | 'ro' | 'roa-rup' | 'ru' | 'rw' | 'sa' | 'sc' | 'scn' | 'sco' | 'sd' | 'se' | 'sg' | 'sh' | 'si' | 'sk' | 'sl' | 'sm' | 'sn' | 'so' | 'sq' | 'sr' | 'ss' | 'st' | 'su' | 'sv' | 'sw' | 'ta' | 'te' | 'tet' | 'tg' | 'th' | 'ti' | 'tk' | 'tl' | 'tlh' | 'tn' | 'to' | 'tpi' | 'tr' | 'ts' | 'tt' | 'tum' | 'tw' | 'ty' | 'udm' | 'ug' | 'uk' | 'ur' | 'uz' | 'uz_AF' | 've' | 'vi' | 'vec' | 'vls' | 'vo' | 'wa' | 'war' | 'wo' | 'xal' | 'xh' | 'xmf' | 'yi' | 'yo' | 'za' | 'zh' | 'zh-classical' | 'zh-min-nan' | 'zh-yue' | 'zu';
@@ -1,9 +0,0 @@
1
- /**
2
- * The npm package manifest (package.json)
3
- */
4
- export interface Manifest {
5
- name: string;
6
- version: string;
7
- description: string;
8
- [key: string]: unknown;
9
- }
@@ -1,167 +0,0 @@
1
- import type MarkdownIt from 'markdown-it';
2
- import type { ComponentPluginOptions } from '@mdit-vue/plugin-component';
3
- import type { FrontmatterPluginOptions } from '@mdit-vue/plugin-frontmatter';
4
- import type { MarkdownItEnv } from '@mdit-vue/types';
5
- import type { FilterPattern } from '@rollup/pluginutils';
6
- /** a `<meta />` property in HTML is defined with the following name/values */
7
- export interface MetaProperty {
8
- key?: string;
9
- /**
10
- * the "name" property used by Facebook and other providers who
11
- * use the Open Graph standards
12
- */
13
- property?: string;
14
- /**
15
- * used by google to identify the "name" of the name/value pair
16
- */
17
- itemprop?: string;
18
- /**
19
- * used by Twitter to indicate the "name" field in a meta properties
20
- * name/value pairing
21
- */
22
- name?: string;
23
- /**
24
- * The value of the meta property
25
- */
26
- content?: any;
27
- [key: string]: unknown;
28
- }
29
- /**
30
- * Frontmatter content is represented as key/value dictionary
31
- */
32
- export interface Frontmatter {
33
- title?: string;
34
- name?: string;
35
- description?: string;
36
- meta?: MetaProperty[];
37
- [key: string]: unknown;
38
- }
39
- export interface Options {
40
- /**
41
- * Explicitly set the Vue version
42
- *
43
- * @default auto detected
44
- */
45
- vueVersion?: string;
46
- /**
47
- * Enable head support, need to install @vueuse/head and register to App in main.js
48
- *
49
- * @default false
50
- */
51
- headEnabled?: boolean;
52
- /**
53
- * The head field in frontmatter used to be used for @vueuse/head
54
- *
55
- * When an empty string is passed, it will use the root properties of the frontmatter
56
- *
57
- * @default ''
58
- */
59
- headField?: string;
60
- /**
61
- * Parse for frontmatter
62
- *
63
- * @default true
64
- */
65
- frontmatter?: boolean;
66
- /**
67
- * Parse for excerpt
68
- *
69
- * If `true`, it will be passed to `frontmatterPreprocess` as `frontmatter.excerpt`, replacing the `excerpt` key in frontmatter, if there's any
70
- *
71
- * @default false
72
- */
73
- excerpt?: boolean;
74
- /**
75
- * Remove custom SFC block
76
- *
77
- * @default ['route']
78
- */
79
- customSfcBlocks?: string[];
80
- /**
81
- * Options passed to [@mdit-vue/plugin-component](https://github.com/mdit-vue/mdit-vue/tree/main/packages/plugin-component)
82
- */
83
- componentOptions?: ComponentPluginOptions;
84
- /**
85
- * Options passed to [@mdit-vue/plugin-frontmatter](https://github.com/mdit-vue/mdit-vue/tree/main/packages/plugin-frontmatter)
86
- */
87
- frontmatterOptions?: FrontmatterPluginOptions;
88
- /**
89
- * Custom function to provide defaults to the frontmatter and
90
- * move certain attributes into the "meta" category.
91
- *
92
- * Note: _overriding this will remove built-in functionality setting
93
- * "meta" properties and the built-in "head" support. Do this only
94
- * if you know what you're doing._
95
- */
96
- frontmatterPreprocess?: (frontmatter: Frontmatter, options: ResolvedOptions) => {
97
- head: Record<string, any>;
98
- frontmatter: Frontmatter;
99
- };
100
- /**
101
- * Expose frontmatter via expose API
102
- *
103
- * @default true
104
- */
105
- exposeFrontmatter?: boolean;
106
- /**
107
- * Expose excerpt via expose API
108
- *
109
- * @default false
110
- */
111
- exposeExcerpt?: boolean;
112
- /**
113
- * Add `v-pre` to `<code>` tag to escape curly brackets interpolation
114
- *
115
- * @see https://github.com/antfu/vite-plugin-vue-markdown/issues/14
116
- * @default true
117
- */
118
- escapeCodeTagInterpolation?: boolean;
119
- /**
120
- * Options passed to Markdown It
121
- */
122
- markdownItOptions?: MarkdownIt.Options;
123
- /**
124
- * Plugins for Markdown It
125
- */
126
- markdownItUses?: (MarkdownIt.PluginSimple | [MarkdownIt.PluginSimple | MarkdownIt.PluginWithOptions<any>, any] | any)[];
127
- /**
128
- * A function providing the Markdown It instance gets the ability to apply custom
129
- * settings/plugins
130
- */
131
- markdownItSetup?: (MarkdownIt: MarkdownIt) => void;
132
- /**
133
- * Class names for wrapper div
134
- *
135
- * @default 'markdown-body'
136
- */
137
- wrapperClasses?: string | string[];
138
- /**
139
- * Component name to wrapper with
140
- *
141
- * @default undefined
142
- */
143
- wrapperComponent?: string | undefined | null;
144
- /**
145
- * Custom transformations apply before and after the markdown transformation
146
- */
147
- transforms?: {
148
- before?: (code: string, id: string) => string;
149
- after?: (code: string, id: string) => string;
150
- };
151
- include?: FilterPattern;
152
- exclude?: FilterPattern;
153
- }
154
- export interface ResolvedOptions extends Required<Options> {
155
- wrapperClasses: string;
156
- }
157
- export interface MarkdownEnv extends MarkdownItEnv {
158
- id: string;
159
- }
160
- /**
161
- * **Markdown Options**
162
- *
163
- * The Markdown options.
164
- *
165
- * @see https://github.com/mdit-vue/vite-plugin-vue-markdown/blob/main/src/types.ts
166
- */
167
- export type MarkdownOptions = Options;
package/dist/model.d.ts DELETED
@@ -1,40 +0,0 @@
1
- import type { ZodBoolean as Boolean, ZodDate as Date, ZodNumber as Number, ZodString as String } from 'zod';
2
- import type { SearchIndexSettings } from './search-engine';
3
- export interface SeedOptions {
4
- count: number;
5
- }
6
- export interface TimestampOptions {
7
- createdAt?: string;
8
- updatedAt?: string;
9
- deletedAt?: string;
10
- }
11
- /**
12
- * Model.
13
- */
14
- export interface Model {
15
- name?: string;
16
- table?: string;
17
- fields: Fields;
18
- hasOne?: string;
19
- hasMany?: string;
20
- belongsToMany?: string;
21
- hasThrough?: {
22
- model: string;
23
- through: string;
24
- using: string;
25
- };
26
- seedable?: boolean | SeedOptions;
27
- useSeed?: boolean | SeedOptions;
28
- searchable?: boolean | SearchIndexSettings;
29
- useSearch?: boolean | SearchIndexSettings;
30
- useTimestamps?: boolean | TimestampOptions;
31
- }
32
- export interface Fields {
33
- [key: string]: {
34
- default?: boolean;
35
- unique?: boolean;
36
- required?: boolean;
37
- factory?: () => any;
38
- validation?: String | Number | Boolean | Date;
39
- };
40
- }
@@ -1,164 +0,0 @@
1
- import type { IEmailOptions } from '@novu/stateless';
2
- export interface NotificationOptions {
3
- default: 'email' | 'sms' | 'chat' | string;
4
- email: {
5
- default: 'emailjs' | 'mailgun' | 'mailjet' | 'mandrill' | 'netcore' | 'nodemailer' | 'postmark' | 'sendgrid' | 'ses' | string;
6
- from: string;
7
- to: string;
8
- drivers: {
9
- smtp: {
10
- host: string;
11
- port: number;
12
- secure: boolean;
13
- auth: {
14
- user: string;
15
- pass: string;
16
- };
17
- };
18
- sendgrid: {
19
- key: string;
20
- senderName: string;
21
- };
22
- emailjs: {
23
- host: string;
24
- user: string;
25
- password: string;
26
- port: number;
27
- secure: boolean;
28
- };
29
- mailgun: {
30
- key: string;
31
- domain: string;
32
- username: string;
33
- };
34
- mailjet: {
35
- key: string;
36
- secret: string;
37
- };
38
- mandrill: {
39
- key: string;
40
- };
41
- netcore: {
42
- key: string;
43
- };
44
- nodemailer: {
45
- host: string;
46
- user: string;
47
- password: string;
48
- port: number;
49
- secure: boolean;
50
- };
51
- postmark: {
52
- key: string;
53
- };
54
- ses: {
55
- region: string;
56
- key: string;
57
- secret: string;
58
- };
59
- };
60
- };
61
- sms: {
62
- default: 'twilio' | 'nexmo' | 'gupshup' | 'plivo' | 'sms77' | 'sns' | 'telnyx' | 'termii' | string;
63
- from: string;
64
- to: string;
65
- drivers: {
66
- twilio: {
67
- sid: string;
68
- authToken: string;
69
- };
70
- nexmo: {
71
- key: string;
72
- secret: string;
73
- };
74
- gupshup: {
75
- user: string;
76
- password: string;
77
- };
78
- plivo: {
79
- sid: string;
80
- authToken: string;
81
- };
82
- sms77: {
83
- key: string;
84
- };
85
- sns: {
86
- region: string;
87
- key: string;
88
- secret: string;
89
- };
90
- telnyx: {
91
- key: string;
92
- messageProfileId: string;
93
- };
94
- termii: {
95
- key: string;
96
- };
97
- };
98
- };
99
- chat: {
100
- default: 'slack' | 'msTeams' | 'discord' | string;
101
- from: string;
102
- to: string;
103
- drivers: {
104
- slack?: {
105
- appId: string;
106
- clientId: string;
107
- secret: string;
108
- };
109
- msTeams?: {
110
- appId: string;
111
- clientId: string;
112
- secret: string;
113
- };
114
- discord?: {};
115
- };
116
- };
117
- }
118
- export interface FCMPushNotificationOptions {
119
- eventName: string;
120
- to: {
121
- subscriberId: string;
122
- };
123
- payload: {
124
- deviceTokens: Array<string>;
125
- badge: boolean;
126
- clickAction: string;
127
- color: string;
128
- icon: string;
129
- sound: string;
130
- };
131
- }
132
- export interface ExpoPushNotificationOptions {
133
- eventName: string;
134
- to: {
135
- subscriberId: string;
136
- };
137
- payload: {
138
- to: string[];
139
- data: Object;
140
- title: string;
141
- body: string;
142
- ttl: number;
143
- expiration: number;
144
- priority: 'default' | 'normal' | 'high';
145
- subtitle: string;
146
- sound: 'default' | null;
147
- badge: number;
148
- channelId: string;
149
- categoryId: string;
150
- mutableContent: boolean;
151
- };
152
- }
153
- export type { IChatOptions as ChatOptions, ISendMessageSuccessResponse as SendMessageSuccessResponse, ISmsOptions as SmsOptions, } from '@novu/stateless';
154
- export type EmailOptions = Omit<IEmailOptions, 'from'> & {
155
- from: {
156
- name?: string;
157
- address?: string;
158
- };
159
- domain?: string;
160
- mailboxes?: {
161
- 'username': string;
162
- 'forwardTo': string;
163
- }[];
164
- };
package/dist/pages.d.ts DELETED
@@ -1,10 +0,0 @@
1
- export interface PagesOption {
2
- onboarding: {
3
- path: string;
4
- pages: string[];
5
- };
6
- settings: {
7
- path: string;
8
- pages: string[];
9
- };
10
- }
@@ -1,59 +0,0 @@
1
- export interface PaymentOptions {
2
- driver: 'stripe';
3
- }
4
- export interface ChargeOptions {
5
- currency?: string;
6
- source?: string;
7
- description?: string;
8
- chargeId?: string;
9
- limit?: number;
10
- metadata?: object;
11
- searchOptions: {
12
- query?: string;
13
- limit?: number;
14
- };
15
- }
16
- export interface CustomerOptions {
17
- description?: string;
18
- address?: string;
19
- email?: string;
20
- metadata?: object;
21
- name?: string;
22
- payment_method?: string;
23
- shipping: string;
24
- listOptions?: {
25
- created?: object;
26
- ending_before?: string;
27
- limit?: number;
28
- starting_after?: string;
29
- test_clock?: string;
30
- };
31
- searchOptions?: {
32
- query?: string;
33
- limit?: number;
34
- page?: number;
35
- };
36
- }
37
- export interface DisputeOptions {
38
- dp_id?: string;
39
- metadata?: object;
40
- listOptions?: {
41
- charge?: string;
42
- payment_intent?: string;
43
- created?: string;
44
- ending_before?: string;
45
- limit?: number;
46
- starting_after?: string;
47
- };
48
- }
49
- export interface EventOptions {
50
- event_id?: string;
51
- listOptions?: {
52
- created?: object;
53
- delivery_success?: boolean;
54
- ending_before?: string;
55
- limit?: number;
56
- starting_after?: string;
57
- type?: string;
58
- };
59
- }
package/dist/promise.d.ts DELETED
@@ -1 +0,0 @@
1
- export type MaybePromise<T> = T | Promise<T>;
package/dist/pwa.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { Options } from 'vite-plugin-pwa';
2
- /**
3
- * **PWA Options**
4
- *
5
- * The PWA options.
6
- */
7
- export type PwaOptions = Options;
@@ -1 +0,0 @@
1
- export type { Ref } from 'vue';
package/dist/router.d.ts DELETED
@@ -1,42 +0,0 @@
1
- export interface NitroEventHandler {
2
- /**
3
- * Path prefix or route
4
- *
5
- * If an empty string used, will be used as a middleware
6
- */
7
- route?: string;
8
- /**
9
- * Specifies this is a middleware handler.
10
- * Middleware are called on every route and should normally return nothing to pass to the next handlers
11
- */
12
- middleware?: boolean;
13
- /**
14
- * Use lazy loading to import handler
15
- */
16
- lazy?: boolean;
17
- /**
18
- * Path to event handler
19
- *
20
- */
21
- handler: string;
22
- /**
23
- * Router method matcher
24
- */
25
- method?: string;
26
- }
27
- export type HttpMethod = 'get' | 'post' | 'put' | 'patch' | 'delete' | 'before' | 'after' | 'view';
28
- export type RouteCallback = (params: Record<string, any>) => any;
29
- export interface Route {
30
- method: HttpMethod;
31
- pattern: RegExp;
32
- callback: RouteCallback;
33
- paramNames: string[];
34
- }
35
- export interface Middleware {
36
- before?: RouteCallback;
37
- after?: RouteCallback;
38
- }
39
- export interface RouteGroupOptions {
40
- prefix?: string;
41
- middleware?: Middleware[];
42
- }