@periskope/types 0.6.181 → 0.6.182
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.
- package/dist/supabase.types.d.ts +162 -70
- package/dist/types.d.ts +40 -3
- package/mod_json_type.ps1 +108 -108
- package/mod_json_type.sh +22 -22
- package/package.json +1 -1
- package/supabase.types.ts +172 -70
- package/tsconfig.json +105 -105
- package/types.ts +59 -10
- package/update_package.ps1 +21 -21
- package/dist/supabase.columns.d.ts +0 -19
- package/dist/supabase.columns.js +0 -290
package/package.json
CHANGED
package/supabase.types.ts
CHANGED
|
@@ -1,31 +1,6 @@
|
|
|
1
1
|
export type Json = { [key: string]: any } | any
|
|
2
2
|
|
|
3
3
|
export type Database = {
|
|
4
|
-
graphql_public: {
|
|
5
|
-
Tables: {
|
|
6
|
-
[_ in never]: never
|
|
7
|
-
}
|
|
8
|
-
Views: {
|
|
9
|
-
[_ in never]: never
|
|
10
|
-
}
|
|
11
|
-
Functions: {
|
|
12
|
-
graphql: {
|
|
13
|
-
Args: {
|
|
14
|
-
operationName?: string
|
|
15
|
-
query?: string
|
|
16
|
-
variables?: Json
|
|
17
|
-
extensions?: Json
|
|
18
|
-
}
|
|
19
|
-
Returns: Json
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
Enums: {
|
|
23
|
-
[_ in never]: never
|
|
24
|
-
}
|
|
25
|
-
CompositeTypes: {
|
|
26
|
-
[_ in never]: never
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
4
|
internal: {
|
|
30
5
|
Tables: {
|
|
31
6
|
config: {
|
|
@@ -709,6 +684,72 @@ export type Database = {
|
|
|
709
684
|
}
|
|
710
685
|
Relationships: []
|
|
711
686
|
}
|
|
687
|
+
tbl_chat_notes: {
|
|
688
|
+
Row: {
|
|
689
|
+
ack: string | null
|
|
690
|
+
body: string | null
|
|
691
|
+
chat_id: string | null
|
|
692
|
+
from_me: boolean | null
|
|
693
|
+
is_private_note: boolean
|
|
694
|
+
media: Json | null
|
|
695
|
+
mentioned_ids: string[] | null
|
|
696
|
+
message_id: string
|
|
697
|
+
message_type: string | null
|
|
698
|
+
org_id: string
|
|
699
|
+
org_phone: string
|
|
700
|
+
performed_by: string | null
|
|
701
|
+
prev_body: string | null
|
|
702
|
+
quoted_message_id: string | null
|
|
703
|
+
sender_phone: string | null
|
|
704
|
+
sent_message_id: string | null
|
|
705
|
+
timestamp: string | null
|
|
706
|
+
unique_id: string | null
|
|
707
|
+
updated_at: string | null
|
|
708
|
+
}
|
|
709
|
+
Insert: {
|
|
710
|
+
ack?: string | null
|
|
711
|
+
body?: string | null
|
|
712
|
+
chat_id?: string | null
|
|
713
|
+
from_me?: boolean | null
|
|
714
|
+
is_private_note?: boolean
|
|
715
|
+
media?: Json | null
|
|
716
|
+
mentioned_ids?: string[] | null
|
|
717
|
+
message_id: string
|
|
718
|
+
message_type?: string | null
|
|
719
|
+
org_id: string
|
|
720
|
+
org_phone: string
|
|
721
|
+
performed_by?: string | null
|
|
722
|
+
prev_body?: string | null
|
|
723
|
+
quoted_message_id?: string | null
|
|
724
|
+
sender_phone?: string | null
|
|
725
|
+
sent_message_id?: string | null
|
|
726
|
+
timestamp?: string | null
|
|
727
|
+
unique_id?: string | null
|
|
728
|
+
updated_at?: string | null
|
|
729
|
+
}
|
|
730
|
+
Update: {
|
|
731
|
+
ack?: string | null
|
|
732
|
+
body?: string | null
|
|
733
|
+
chat_id?: string | null
|
|
734
|
+
from_me?: boolean | null
|
|
735
|
+
is_private_note?: boolean
|
|
736
|
+
media?: Json | null
|
|
737
|
+
mentioned_ids?: string[] | null
|
|
738
|
+
message_id?: string
|
|
739
|
+
message_type?: string | null
|
|
740
|
+
org_id?: string
|
|
741
|
+
org_phone?: string
|
|
742
|
+
performed_by?: string | null
|
|
743
|
+
prev_body?: string | null
|
|
744
|
+
quoted_message_id?: string | null
|
|
745
|
+
sender_phone?: string | null
|
|
746
|
+
sent_message_id?: string | null
|
|
747
|
+
timestamp?: string | null
|
|
748
|
+
unique_id?: string | null
|
|
749
|
+
updated_at?: string | null
|
|
750
|
+
}
|
|
751
|
+
Relationships: []
|
|
752
|
+
}
|
|
712
753
|
tbl_chat_notifications: {
|
|
713
754
|
Row: {
|
|
714
755
|
author: string | null
|
|
@@ -1519,13 +1560,6 @@ export type Database = {
|
|
|
1519
1560
|
user_id?: string | null
|
|
1520
1561
|
}
|
|
1521
1562
|
Relationships: [
|
|
1522
|
-
{
|
|
1523
|
-
foreignKeyName: "tbl_org_members_fkey_auth_users"
|
|
1524
|
-
columns: ["user_id"]
|
|
1525
|
-
isOneToOne: false
|
|
1526
|
-
referencedRelation: "users"
|
|
1527
|
-
referencedColumns: ["id"]
|
|
1528
|
-
},
|
|
1529
1563
|
{
|
|
1530
1564
|
foreignKeyName: "tbl_org_members_fkey_tbl_org"
|
|
1531
1565
|
columns: ["org_id"]
|
|
@@ -1643,6 +1677,81 @@ export type Database = {
|
|
|
1643
1677
|
},
|
|
1644
1678
|
]
|
|
1645
1679
|
}
|
|
1680
|
+
tbl_org_tasks: {
|
|
1681
|
+
Row: {
|
|
1682
|
+
assignee: string | null
|
|
1683
|
+
associated_object_metadata: Json | null
|
|
1684
|
+
completed_metadata: Json | null
|
|
1685
|
+
created_at: string
|
|
1686
|
+
created_by: string
|
|
1687
|
+
due_date: string | null
|
|
1688
|
+
last_updated_at: string
|
|
1689
|
+
last_updated_by: string
|
|
1690
|
+
notes: string | null
|
|
1691
|
+
org_id: string
|
|
1692
|
+
priority: number
|
|
1693
|
+
remind_at: string | null
|
|
1694
|
+
reminder_setting: Json | null
|
|
1695
|
+
status: string
|
|
1696
|
+
task_id: string
|
|
1697
|
+
title: string
|
|
1698
|
+
type: string
|
|
1699
|
+
}
|
|
1700
|
+
Insert: {
|
|
1701
|
+
assignee?: string | null
|
|
1702
|
+
associated_object_metadata?: Json | null
|
|
1703
|
+
completed_metadata?: Json | null
|
|
1704
|
+
created_at?: string
|
|
1705
|
+
created_by?: string
|
|
1706
|
+
due_date?: string | null
|
|
1707
|
+
last_updated_at?: string
|
|
1708
|
+
last_updated_by: string
|
|
1709
|
+
notes?: string | null
|
|
1710
|
+
org_id: string
|
|
1711
|
+
priority?: number
|
|
1712
|
+
remind_at?: string | null
|
|
1713
|
+
reminder_setting?: Json | null
|
|
1714
|
+
status?: string
|
|
1715
|
+
task_id?: string
|
|
1716
|
+
title: string
|
|
1717
|
+
type: string
|
|
1718
|
+
}
|
|
1719
|
+
Update: {
|
|
1720
|
+
assignee?: string | null
|
|
1721
|
+
associated_object_metadata?: Json | null
|
|
1722
|
+
completed_metadata?: Json | null
|
|
1723
|
+
created_at?: string
|
|
1724
|
+
created_by?: string
|
|
1725
|
+
due_date?: string | null
|
|
1726
|
+
last_updated_at?: string
|
|
1727
|
+
last_updated_by?: string
|
|
1728
|
+
notes?: string | null
|
|
1729
|
+
org_id?: string
|
|
1730
|
+
priority?: number
|
|
1731
|
+
remind_at?: string | null
|
|
1732
|
+
reminder_setting?: Json | null
|
|
1733
|
+
status?: string
|
|
1734
|
+
task_id?: string
|
|
1735
|
+
title?: string
|
|
1736
|
+
type?: string
|
|
1737
|
+
}
|
|
1738
|
+
Relationships: [
|
|
1739
|
+
{
|
|
1740
|
+
foreignKeyName: "tbl_org_task_org_id_fkey"
|
|
1741
|
+
columns: ["org_id"]
|
|
1742
|
+
isOneToOne: false
|
|
1743
|
+
referencedRelation: "tbl_org"
|
|
1744
|
+
referencedColumns: ["org_id"]
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
foreignKeyName: "tbl_org_task_org_id_fkey"
|
|
1748
|
+
columns: ["org_id"]
|
|
1749
|
+
isOneToOne: false
|
|
1750
|
+
referencedRelation: "view_org"
|
|
1751
|
+
referencedColumns: ["org_id"]
|
|
1752
|
+
},
|
|
1753
|
+
]
|
|
1754
|
+
}
|
|
1646
1755
|
tbl_org_transactions: {
|
|
1647
1756
|
Row: {
|
|
1648
1757
|
amount: number
|
|
@@ -1973,30 +2082,6 @@ export type Database = {
|
|
|
1973
2082
|
},
|
|
1974
2083
|
]
|
|
1975
2084
|
}
|
|
1976
|
-
tbl_tools_whatsapp_links: {
|
|
1977
|
-
Row: {
|
|
1978
|
-
created_at: string
|
|
1979
|
-
link_id: string
|
|
1980
|
-
link_name: string
|
|
1981
|
-
message: string | null
|
|
1982
|
-
phone: string
|
|
1983
|
-
}
|
|
1984
|
-
Insert: {
|
|
1985
|
-
created_at?: string
|
|
1986
|
-
link_id?: string
|
|
1987
|
-
link_name: string
|
|
1988
|
-
message?: string | null
|
|
1989
|
-
phone: string
|
|
1990
|
-
}
|
|
1991
|
-
Update: {
|
|
1992
|
-
created_at?: string
|
|
1993
|
-
link_id?: string
|
|
1994
|
-
link_name?: string
|
|
1995
|
-
message?: string | null
|
|
1996
|
-
phone?: string
|
|
1997
|
-
}
|
|
1998
|
-
Relationships: []
|
|
1999
|
-
}
|
|
2000
2085
|
}
|
|
2001
2086
|
Views: {
|
|
2002
2087
|
view_broadcast_logs: {
|
|
@@ -2214,12 +2299,6 @@ export type Database = {
|
|
|
2214
2299
|
}
|
|
2215
2300
|
Returns: boolean
|
|
2216
2301
|
}
|
|
2217
|
-
create_partition: {
|
|
2218
|
-
Args: {
|
|
2219
|
-
org_id_input: string
|
|
2220
|
-
}
|
|
2221
|
-
Returns: boolean
|
|
2222
|
-
}
|
|
2223
2302
|
custom_access_token_hook: {
|
|
2224
2303
|
Args: {
|
|
2225
2304
|
event: Json
|
|
@@ -2432,14 +2511,6 @@ export type Database = {
|
|
|
2432
2511
|
result: Json
|
|
2433
2512
|
}[]
|
|
2434
2513
|
}
|
|
2435
|
-
image_path: {
|
|
2436
|
-
Args: {
|
|
2437
|
-
path_input?: string
|
|
2438
|
-
bucket_name?: string
|
|
2439
|
-
req_base?: boolean
|
|
2440
|
-
}
|
|
2441
|
-
Returns: string
|
|
2442
|
-
}
|
|
2443
2514
|
list_org_from_user: {
|
|
2444
2515
|
Args: Record<PropertyKey, never>
|
|
2445
2516
|
Returns: string[]
|
|
@@ -2448,6 +2519,10 @@ export type Database = {
|
|
|
2448
2519
|
Args: Record<PropertyKey, never>
|
|
2449
2520
|
Returns: Database["public"]["Enums"]["enum_member_role"]
|
|
2450
2521
|
}
|
|
2522
|
+
notify_org_tasks: {
|
|
2523
|
+
Args: Record<PropertyKey, never>
|
|
2524
|
+
Returns: string
|
|
2525
|
+
}
|
|
2451
2526
|
update_chat_properties: {
|
|
2452
2527
|
Args: {
|
|
2453
2528
|
column_name: string
|
|
@@ -2616,6 +2691,7 @@ export type Database = {
|
|
|
2616
2691
|
owner_id: string | null
|
|
2617
2692
|
path_tokens: string[] | null
|
|
2618
2693
|
updated_at: string | null
|
|
2694
|
+
user_metadata: Json | null
|
|
2619
2695
|
version: string | null
|
|
2620
2696
|
}
|
|
2621
2697
|
Insert: {
|
|
@@ -2629,6 +2705,7 @@ export type Database = {
|
|
|
2629
2705
|
owner_id?: string | null
|
|
2630
2706
|
path_tokens?: string[] | null
|
|
2631
2707
|
updated_at?: string | null
|
|
2708
|
+
user_metadata?: Json | null
|
|
2632
2709
|
version?: string | null
|
|
2633
2710
|
}
|
|
2634
2711
|
Update: {
|
|
@@ -2642,6 +2719,7 @@ export type Database = {
|
|
|
2642
2719
|
owner_id?: string | null
|
|
2643
2720
|
path_tokens?: string[] | null
|
|
2644
2721
|
updated_at?: string | null
|
|
2722
|
+
user_metadata?: Json | null
|
|
2645
2723
|
version?: string | null
|
|
2646
2724
|
}
|
|
2647
2725
|
Relationships: [
|
|
@@ -2663,6 +2741,7 @@ export type Database = {
|
|
|
2663
2741
|
key: string
|
|
2664
2742
|
owner_id: string | null
|
|
2665
2743
|
upload_signature: string
|
|
2744
|
+
user_metadata: Json | null
|
|
2666
2745
|
version: string
|
|
2667
2746
|
}
|
|
2668
2747
|
Insert: {
|
|
@@ -2673,6 +2752,7 @@ export type Database = {
|
|
|
2673
2752
|
key: string
|
|
2674
2753
|
owner_id?: string | null
|
|
2675
2754
|
upload_signature: string
|
|
2755
|
+
user_metadata?: Json | null
|
|
2676
2756
|
version: string
|
|
2677
2757
|
}
|
|
2678
2758
|
Update: {
|
|
@@ -2683,6 +2763,7 @@ export type Database = {
|
|
|
2683
2763
|
key?: string
|
|
2684
2764
|
owner_id?: string | null
|
|
2685
2765
|
upload_signature?: string
|
|
2766
|
+
user_metadata?: Json | null
|
|
2686
2767
|
version?: string
|
|
2687
2768
|
}
|
|
2688
2769
|
Relationships: [
|
|
@@ -2819,6 +2900,10 @@ export type Database = {
|
|
|
2819
2900
|
updated_at: string
|
|
2820
2901
|
}[]
|
|
2821
2902
|
}
|
|
2903
|
+
operation: {
|
|
2904
|
+
Args: Record<PropertyKey, never>
|
|
2905
|
+
Returns: string
|
|
2906
|
+
}
|
|
2822
2907
|
search: {
|
|
2823
2908
|
Args: {
|
|
2824
2909
|
prefix: string
|
|
@@ -2930,3 +3015,20 @@ export type Enums<
|
|
|
2930
3015
|
: PublicEnumNameOrOptions extends keyof PublicSchema["Enums"]
|
|
2931
3016
|
? PublicSchema["Enums"][PublicEnumNameOrOptions]
|
|
2932
3017
|
: never
|
|
3018
|
+
|
|
3019
|
+
export type CompositeTypes<
|
|
3020
|
+
PublicCompositeTypeNameOrOptions extends
|
|
3021
|
+
| keyof PublicSchema["CompositeTypes"]
|
|
3022
|
+
| { schema: keyof Database },
|
|
3023
|
+
CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
3024
|
+
schema: keyof Database
|
|
3025
|
+
}
|
|
3026
|
+
? keyof Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"]
|
|
3027
|
+
: never = never,
|
|
3028
|
+
> = PublicCompositeTypeNameOrOptions extends { schema: keyof Database }
|
|
3029
|
+
? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName]
|
|
3030
|
+
: PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"]
|
|
3031
|
+
? PublicSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions]
|
|
3032
|
+
: never
|
|
3033
|
+
|
|
3034
|
+
|
package/tsconfig.json
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
4
|
-
/* Projects */
|
|
5
|
-
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
|
6
|
-
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
|
|
7
|
-
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
|
|
8
|
-
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
|
|
9
|
-
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
|
10
|
-
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
|
11
|
-
/* Language and Environment */
|
|
12
|
-
"target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
13
|
-
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
14
|
-
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
|
15
|
-
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
|
|
16
|
-
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
|
|
17
|
-
// "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
|
|
18
|
-
// "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
|
|
19
|
-
// "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
|
|
20
|
-
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
|
|
21
|
-
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
|
22
|
-
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
|
23
|
-
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
|
24
|
-
/* Modules */
|
|
25
|
-
"module": "CommonJS", /* Specify what module code is generated. */
|
|
26
|
-
// "rootDir": "./", /* Specify the root folder within your source files. */
|
|
27
|
-
// "moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
28
|
-
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
29
|
-
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
30
|
-
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
31
|
-
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
|
32
|
-
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
|
33
|
-
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
|
34
|
-
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
|
35
|
-
// "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
|
|
36
|
-
// "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
|
|
37
|
-
// "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
|
|
38
|
-
// "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
|
|
39
|
-
// "resolveJsonModule": true, /* Enable importing .json files. */
|
|
40
|
-
// "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
|
|
41
|
-
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
|
|
42
|
-
/* JavaScript Support */
|
|
43
|
-
// "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
|
44
|
-
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
|
45
|
-
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
|
46
|
-
/* Emit */
|
|
47
|
-
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
48
|
-
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
|
49
|
-
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
|
50
|
-
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
|
51
|
-
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
|
52
|
-
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
|
53
|
-
"outDir": "dist/", /* Specify an output folder for all emitted files. */
|
|
54
|
-
// "removeComments": true, /* Disable emitting comments. */
|
|
55
|
-
// "noEmit": true, /* Disable emitting files from a compilation. */
|
|
56
|
-
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
57
|
-
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
|
|
58
|
-
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
|
|
59
|
-
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
|
|
60
|
-
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
|
61
|
-
// "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
|
|
62
|
-
// "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
|
|
63
|
-
// "newLine": "crlf", /* Set the newline character for emitting files. */
|
|
64
|
-
// "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
|
|
65
|
-
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
|
|
66
|
-
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
|
67
|
-
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
|
68
|
-
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
|
|
69
|
-
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
|
|
70
|
-
/* Interop Constraints */
|
|
71
|
-
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
|
72
|
-
// "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
|
|
73
|
-
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
74
|
-
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
75
|
-
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
76
|
-
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
77
|
-
/* Type Checking */
|
|
78
|
-
"strict": true, /* Enable all strict type-checking options. */
|
|
79
|
-
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
80
|
-
// "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
|
81
|
-
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
82
|
-
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
|
83
|
-
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
84
|
-
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
85
|
-
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
|
86
|
-
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
|
|
87
|
-
// "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
|
88
|
-
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
|
89
|
-
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
|
|
90
|
-
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
|
91
|
-
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
|
92
|
-
// "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
|
93
|
-
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
|
94
|
-
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
|
95
|
-
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
|
|
96
|
-
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
|
|
97
|
-
/* Completeness */
|
|
98
|
-
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
99
|
-
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
100
|
-
},
|
|
101
|
-
"exclude": [
|
|
102
|
-
"node_modules",
|
|
103
|
-
"dist",
|
|
104
|
-
"scripts"
|
|
105
|
-
]
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
4
|
+
/* Projects */
|
|
5
|
+
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
|
6
|
+
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
|
|
7
|
+
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
|
|
8
|
+
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
|
|
9
|
+
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
|
10
|
+
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
|
11
|
+
/* Language and Environment */
|
|
12
|
+
"target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
13
|
+
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
14
|
+
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
|
15
|
+
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
|
|
16
|
+
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
|
|
17
|
+
// "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
|
|
18
|
+
// "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
|
|
19
|
+
// "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
|
|
20
|
+
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
|
|
21
|
+
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
|
22
|
+
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
|
23
|
+
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
|
24
|
+
/* Modules */
|
|
25
|
+
"module": "CommonJS", /* Specify what module code is generated. */
|
|
26
|
+
// "rootDir": "./", /* Specify the root folder within your source files. */
|
|
27
|
+
// "moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
28
|
+
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
29
|
+
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
30
|
+
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
31
|
+
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
|
32
|
+
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
|
33
|
+
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
|
34
|
+
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
|
35
|
+
// "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
|
|
36
|
+
// "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
|
|
37
|
+
// "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
|
|
38
|
+
// "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
|
|
39
|
+
// "resolveJsonModule": true, /* Enable importing .json files. */
|
|
40
|
+
// "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
|
|
41
|
+
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
|
|
42
|
+
/* JavaScript Support */
|
|
43
|
+
// "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
|
44
|
+
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
|
45
|
+
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
|
46
|
+
/* Emit */
|
|
47
|
+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
48
|
+
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
|
49
|
+
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
|
50
|
+
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
|
51
|
+
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
|
52
|
+
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
|
53
|
+
"outDir": "dist/", /* Specify an output folder for all emitted files. */
|
|
54
|
+
// "removeComments": true, /* Disable emitting comments. */
|
|
55
|
+
// "noEmit": true, /* Disable emitting files from a compilation. */
|
|
56
|
+
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
57
|
+
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
|
|
58
|
+
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
|
|
59
|
+
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
|
|
60
|
+
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
|
61
|
+
// "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
|
|
62
|
+
// "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
|
|
63
|
+
// "newLine": "crlf", /* Set the newline character for emitting files. */
|
|
64
|
+
// "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
|
|
65
|
+
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
|
|
66
|
+
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
|
67
|
+
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
|
68
|
+
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
|
|
69
|
+
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
|
|
70
|
+
/* Interop Constraints */
|
|
71
|
+
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
|
72
|
+
// "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
|
|
73
|
+
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
74
|
+
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
75
|
+
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
76
|
+
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
77
|
+
/* Type Checking */
|
|
78
|
+
"strict": true, /* Enable all strict type-checking options. */
|
|
79
|
+
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
80
|
+
// "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
|
81
|
+
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
82
|
+
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
|
83
|
+
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
84
|
+
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
85
|
+
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
|
86
|
+
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
|
|
87
|
+
// "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
|
88
|
+
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
|
89
|
+
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
|
|
90
|
+
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
|
91
|
+
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
|
92
|
+
// "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
|
93
|
+
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
|
94
|
+
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
|
95
|
+
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
|
|
96
|
+
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
|
|
97
|
+
/* Completeness */
|
|
98
|
+
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
99
|
+
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
100
|
+
},
|
|
101
|
+
"exclude": [
|
|
102
|
+
"node_modules",
|
|
103
|
+
"dist",
|
|
104
|
+
"scripts"
|
|
105
|
+
]
|
|
106
106
|
}
|