File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
/node_modules
2
2
.env
3
3
dist
4
+ .DS_Store
Original file line number Diff line number Diff line change 4
4
"description" : " Client for Glide API" ,
5
5
"main" : " dist/cjs/index.js" ,
6
6
"module" : " dist/es6/index.js" ,
7
- "types" : " dist/index.d.ts" ,
7
+ "types" : " dist/cjs/ index.d.ts" ,
8
8
"scripts" : {
9
9
"build" : " tsc && tsc --build tsconfig.cjs.json" ,
10
10
"test" : " jest"
Original file line number Diff line number Diff line change @@ -18,6 +18,14 @@ const defaultEndpoint = "https://api.glideapp.io/api/function";
18
18
class Table < T extends ColumnSchema > {
19
19
private props : TableProps < T > ;
20
20
21
+ public get app ( ) : string {
22
+ return this . props . app ;
23
+ }
24
+
25
+ public get table ( ) : string {
26
+ return this . props . table ;
27
+ }
28
+
21
29
constructor ( props : TableProps < T > ) {
22
30
this . props = {
23
31
token : process . env . GLIDE_TOKEN ,
You can’t perform that action at this time.
0 commit comments