@periskope/types 0.6.181 → 0.6.183
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/rules.types.js +7 -1
- package/dist/supabase.types.d.ts +170 -84
- package/dist/types.d.ts +44 -3
- package/mod_json_type.ps1 +108 -108
- package/mod_json_type.sh +22 -22
- package/package.json +1 -1
- package/rules.types.ts +8 -1
- package/supabase.types.ts +180 -84
- package/tsconfig.json +105 -105
- package/types.ts +71 -12
- package/update_package.ps1 +21 -21
- package/dist/supabase.columns.d.ts +0 -19
- package/dist/supabase.columns.js +0 -290
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
|
|
@@ -1880,20 +1989,6 @@ export type Database = {
|
|
|
1880
1989
|
sent_message_id?: string | null
|
|
1881
1990
|
}
|
|
1882
1991
|
Relationships: [
|
|
1883
|
-
{
|
|
1884
|
-
foreignKeyName: "tbl_scheduled_logs_scheduled_id_fkey"
|
|
1885
|
-
columns: ["scheduled_id"]
|
|
1886
|
-
isOneToOne: false
|
|
1887
|
-
referencedRelation: "tbl_recurring_messages"
|
|
1888
|
-
referencedColumns: ["scheduled_id"]
|
|
1889
|
-
},
|
|
1890
|
-
{
|
|
1891
|
-
foreignKeyName: "tbl_scheduled_logs_scheduled_id_fkey"
|
|
1892
|
-
columns: ["scheduled_id"]
|
|
1893
|
-
isOneToOne: false
|
|
1894
|
-
referencedRelation: "view_scheduled_logs"
|
|
1895
|
-
referencedColumns: ["scheduled_id"]
|
|
1896
|
-
},
|
|
1897
1992
|
{
|
|
1898
1993
|
foreignKeyName: "tbl_scheduled_message_logs_org_id_fkey"
|
|
1899
1994
|
columns: ["org_id"]
|
|
@@ -1973,30 +2068,6 @@ export type Database = {
|
|
|
1973
2068
|
},
|
|
1974
2069
|
]
|
|
1975
2070
|
}
|
|
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
2071
|
}
|
|
2001
2072
|
Views: {
|
|
2002
2073
|
view_broadcast_logs: {
|
|
@@ -2214,12 +2285,6 @@ export type Database = {
|
|
|
2214
2285
|
}
|
|
2215
2286
|
Returns: boolean
|
|
2216
2287
|
}
|
|
2217
|
-
create_partition: {
|
|
2218
|
-
Args: {
|
|
2219
|
-
org_id_input: string
|
|
2220
|
-
}
|
|
2221
|
-
Returns: boolean
|
|
2222
|
-
}
|
|
2223
2288
|
custom_access_token_hook: {
|
|
2224
2289
|
Args: {
|
|
2225
2290
|
event: Json
|
|
@@ -2260,6 +2325,7 @@ export type Database = {
|
|
|
2260
2325
|
name_input?: string
|
|
2261
2326
|
type_input?: Database["public"]["Enums"]["enum_integration_type"]
|
|
2262
2327
|
org_id_input?: string
|
|
2328
|
+
metadata_input?: Json
|
|
2263
2329
|
}
|
|
2264
2330
|
Returns: Json
|
|
2265
2331
|
}
|
|
@@ -2323,6 +2389,9 @@ export type Database = {
|
|
|
2323
2389
|
Args: {
|
|
2324
2390
|
org_id_input: string
|
|
2325
2391
|
chat_id_input?: string[]
|
|
2392
|
+
chat_type_input?: string
|
|
2393
|
+
start_date_input?: string
|
|
2394
|
+
end_date_input?: string
|
|
2326
2395
|
}
|
|
2327
2396
|
Returns: Json
|
|
2328
2397
|
}
|
|
@@ -2330,6 +2399,10 @@ export type Database = {
|
|
|
2330
2399
|
Args: {
|
|
2331
2400
|
org_id_input: string
|
|
2332
2401
|
ticket_id_input?: string[]
|
|
2402
|
+
start_date_input?: string
|
|
2403
|
+
end_date_input?: string
|
|
2404
|
+
status_input?: Database["public"]["Enums"]["enum_chat_tickets_status"]
|
|
2405
|
+
priority_input?: number
|
|
2333
2406
|
}
|
|
2334
2407
|
Returns: Json
|
|
2335
2408
|
}
|
|
@@ -2432,14 +2505,6 @@ export type Database = {
|
|
|
2432
2505
|
result: Json
|
|
2433
2506
|
}[]
|
|
2434
2507
|
}
|
|
2435
|
-
image_path: {
|
|
2436
|
-
Args: {
|
|
2437
|
-
path_input?: string
|
|
2438
|
-
bucket_name?: string
|
|
2439
|
-
req_base?: boolean
|
|
2440
|
-
}
|
|
2441
|
-
Returns: string
|
|
2442
|
-
}
|
|
2443
2508
|
list_org_from_user: {
|
|
2444
2509
|
Args: Record<PropertyKey, never>
|
|
2445
2510
|
Returns: string[]
|
|
@@ -2448,6 +2513,10 @@ export type Database = {
|
|
|
2448
2513
|
Args: Record<PropertyKey, never>
|
|
2449
2514
|
Returns: Database["public"]["Enums"]["enum_member_role"]
|
|
2450
2515
|
}
|
|
2516
|
+
notify_org_tasks: {
|
|
2517
|
+
Args: Record<PropertyKey, never>
|
|
2518
|
+
Returns: string
|
|
2519
|
+
}
|
|
2451
2520
|
update_chat_properties: {
|
|
2452
2521
|
Args: {
|
|
2453
2522
|
column_name: string
|
|
@@ -2616,6 +2685,7 @@ export type Database = {
|
|
|
2616
2685
|
owner_id: string | null
|
|
2617
2686
|
path_tokens: string[] | null
|
|
2618
2687
|
updated_at: string | null
|
|
2688
|
+
user_metadata: Json | null
|
|
2619
2689
|
version: string | null
|
|
2620
2690
|
}
|
|
2621
2691
|
Insert: {
|
|
@@ -2629,6 +2699,7 @@ export type Database = {
|
|
|
2629
2699
|
owner_id?: string | null
|
|
2630
2700
|
path_tokens?: string[] | null
|
|
2631
2701
|
updated_at?: string | null
|
|
2702
|
+
user_metadata?: Json | null
|
|
2632
2703
|
version?: string | null
|
|
2633
2704
|
}
|
|
2634
2705
|
Update: {
|
|
@@ -2642,6 +2713,7 @@ export type Database = {
|
|
|
2642
2713
|
owner_id?: string | null
|
|
2643
2714
|
path_tokens?: string[] | null
|
|
2644
2715
|
updated_at?: string | null
|
|
2716
|
+
user_metadata?: Json | null
|
|
2645
2717
|
version?: string | null
|
|
2646
2718
|
}
|
|
2647
2719
|
Relationships: [
|
|
@@ -2663,6 +2735,7 @@ export type Database = {
|
|
|
2663
2735
|
key: string
|
|
2664
2736
|
owner_id: string | null
|
|
2665
2737
|
upload_signature: string
|
|
2738
|
+
user_metadata: Json | null
|
|
2666
2739
|
version: string
|
|
2667
2740
|
}
|
|
2668
2741
|
Insert: {
|
|
@@ -2673,6 +2746,7 @@ export type Database = {
|
|
|
2673
2746
|
key: string
|
|
2674
2747
|
owner_id?: string | null
|
|
2675
2748
|
upload_signature: string
|
|
2749
|
+
user_metadata?: Json | null
|
|
2676
2750
|
version: string
|
|
2677
2751
|
}
|
|
2678
2752
|
Update: {
|
|
@@ -2683,6 +2757,7 @@ export type Database = {
|
|
|
2683
2757
|
key?: string
|
|
2684
2758
|
owner_id?: string | null
|
|
2685
2759
|
upload_signature?: string
|
|
2760
|
+
user_metadata?: Json | null
|
|
2686
2761
|
version?: string
|
|
2687
2762
|
}
|
|
2688
2763
|
Relationships: [
|
|
@@ -2819,6 +2894,10 @@ export type Database = {
|
|
|
2819
2894
|
updated_at: string
|
|
2820
2895
|
}[]
|
|
2821
2896
|
}
|
|
2897
|
+
operation: {
|
|
2898
|
+
Args: Record<PropertyKey, never>
|
|
2899
|
+
Returns: string
|
|
2900
|
+
}
|
|
2822
2901
|
search: {
|
|
2823
2902
|
Args: {
|
|
2824
2903
|
prefix: string
|
|
@@ -2930,3 +3009,20 @@ export type Enums<
|
|
|
2930
3009
|
: PublicEnumNameOrOptions extends keyof PublicSchema["Enums"]
|
|
2931
3010
|
? PublicSchema["Enums"][PublicEnumNameOrOptions]
|
|
2932
3011
|
: never
|
|
3012
|
+
|
|
3013
|
+
export type CompositeTypes<
|
|
3014
|
+
PublicCompositeTypeNameOrOptions extends
|
|
3015
|
+
| keyof PublicSchema["CompositeTypes"]
|
|
3016
|
+
| { schema: keyof Database },
|
|
3017
|
+
CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
3018
|
+
schema: keyof Database
|
|
3019
|
+
}
|
|
3020
|
+
? keyof Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"]
|
|
3021
|
+
: never = never,
|
|
3022
|
+
> = PublicCompositeTypeNameOrOptions extends { schema: keyof Database }
|
|
3023
|
+
? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName]
|
|
3024
|
+
: PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"]
|
|
3025
|
+
? PublicSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions]
|
|
3026
|
+
: never
|
|
3027
|
+
|
|
3028
|
+
|
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
|
}
|