This repository was archived by the owner on Sep 22, 2024. It is now read-only.
File tree 13 files changed +19
-19
lines changed
13 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { clickup } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] clickup" , async ( t ) => {
5
5
const api = clickup ( {
6
- personalApiKey : Deno . env . get ( "CLICKUP_PERSONAL_API_KEY" ) ,
6
+ personalApiKey : Deno . env . get ( "CLICKUP_PERSONAL_API_KEY" ) ! ,
7
7
} ) ;
8
8
9
9
await t . step ( "find lists" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import { facturama } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] facturama" , async ( t ) => {
5
5
const api = facturama ( {
6
- username : Deno . env . get ( "FACTURAMA_USERNAME" ) ,
7
- password : Deno . env . get ( "FACTURAMA_PASSWORD" ) ,
6
+ username : Deno . env . get ( "FACTURAMA_USERNAME" ) ! ,
7
+ password : Deno . env . get ( "FACTURAMA_PASSWORD" ) ! ,
8
8
} ) ;
9
9
10
10
await t . step ( "get product" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { fathomanalytics } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] fathomanalytics" , async ( t ) => {
5
5
const api = fathomanalytics ( {
6
- apiKey : Deno . env . get ( "FATHOMANALYTICS_API_KEY" ) ,
6
+ apiKey : Deno . env . get ( "FATHOMANALYTICS_API_KEY" ) ! ,
7
7
} ) ;
8
8
9
9
await t . step ( "find sites" , async ( ) => {
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ type Result = {
59
59
values : string [ ] [ ] ;
60
60
} ;
61
61
62
- const resultToRows = ( result : Result , headers ?: string [ ] ) => {
62
+ export const resultToRows = ( result : Result , headers ?: string [ ] ) => {
63
63
let keys : string [ ] ;
64
64
let rows : Result [ "values" ] ;
65
65
if ( headers ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { holded } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] holded" , async ( t ) => {
5
5
const api = holded ( {
6
- apiKey : Deno . env . get ( "HOLDED_API_KEY" ) ,
6
+ apiKey : Deno . env . get ( "HOLDED_API_KEY" ) ! ,
7
7
} ) ;
8
8
9
9
await t . step ( "find contacts" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import { mailchimpmarketing } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] mailchimpmarketing" , async ( t ) => {
5
5
const api = mailchimpmarketing ( {
6
- marketingApiKey : Deno . env . get ( "MAILCHIMP_MARKETING_API_KEY" ) ,
7
- dataCenter : Deno . env . get ( "MAILCHIMP_DATA_CENTER" ) ,
6
+ marketingApiKey : Deno . env . get ( "MAILCHIMP_MARKETING_API_KEY" ) ! ,
7
+ dataCenter : Deno . env . get ( "MAILCHIMP_DATA_CENTER" ) ! ,
8
8
} ) ;
9
9
10
10
await t . step ( "find campaigns" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { medium } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] medium" , async ( t ) => {
5
5
const api = medium ( {
6
- accessToken : Deno . env . get ( "MEDIUM_ACCESS_TOKEN" ) ,
6
+ accessToken : Deno . env . get ( "MEDIUM_ACCESS_TOKEN" ) ! ,
7
7
} ) ;
8
8
9
9
await t . step ( "find publications" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import { mongodbatlasdata } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] mongodbatlasdata" , async ( t ) => {
5
5
const api = mongodbatlasdata ( {
6
- apiKey : Deno . env . get ( "MONGODBATLASDATA_API_KEY" ) ,
7
- dataApiAppId : Deno . env . get ( "MONGODBATLASDATA_DATA_API_APP_ID" ) ,
6
+ apiKey : Deno . env . get ( "MONGODBATLASDATA_API_KEY" ) ! ,
7
+ dataApiAppId : Deno . env . get ( "MONGODBATLASDATA_DATA_API_APP_ID" ) ! ,
8
8
} ) ;
9
9
10
10
await t . step ( "find documents" , async ( ) => {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { openai } from "./mod.ts";
4
4
5
5
Deno . test ( "[apis] openai" , async ( t ) => {
6
6
const api = openai ( {
7
- apiKey : Deno . env . get ( "OPENAI_API_KEY" ) ,
7
+ apiKey : Deno . env . get ( "OPENAI_API_KEY" ) ! ,
8
8
} ) ;
9
9
10
10
await t . step ( "create chat completion" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { pandadoc } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] pandadoc" , async ( t ) => {
5
5
const api = pandadoc ( {
6
- apiKey : Deno . env . get ( "PANDADOC_API_KEY" ) ,
6
+ apiKey : Deno . env . get ( "PANDADOC_API_KEY" ) ! ,
7
7
} ) ;
8
8
9
9
await t . step ( "find documents" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { sendgrid } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] sendgrid" , async ( t ) => {
5
5
const api = sendgrid ( {
6
- apiKey : Deno . env . get ( "SENDGRID_API_KEY" ) ,
6
+ apiKey : Deno . env . get ( "SENDGRID_API_KEY" ) ! ,
7
7
} ) ;
8
8
9
9
await t . step ( "find lists" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import { whatsappbusiness } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] whatsappbusiness" , async ( t ) => {
5
5
const api = whatsappbusiness ( {
6
- businessAccountId : Deno . env . get ( "WHATSAPPBUSINESS_BUSINESS_ACCOUNT_ID" ) ,
7
- permanentToken : Deno . env . get ( "WHATSAPPBUSINESS_PERMANENT_TOKEN" ) ,
6
+ businessAccountId : Deno . env . get ( "WHATSAPPBUSINESS_BUSINESS_ACCOUNT_ID" ) ! ,
7
+ permanentToken : Deno . env . get ( "WHATSAPPBUSINESS_PERMANENT_TOKEN" ) ! ,
8
8
} ) ;
9
9
10
10
await t . step ( "get business profile" , async ( ) => {
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import { wix } from "./mod.ts";
3
3
4
4
Deno . test ( "[apis] wix" , async ( t ) => {
5
5
const api = wix ( {
6
- accountId : Deno . env . get ( "WIX_ACCOUNT_ID" ) ,
7
- siteId : Deno . env . get ( "WIX_SITE_ID" ) ,
8
- apiKey : Deno . env . get ( "WIX_API_KEY" ) ,
6
+ accountId : Deno . env . get ( "WIX_ACCOUNT_ID" ) ! ,
7
+ siteId : Deno . env . get ( "WIX_SITE_ID" ) ! ,
8
+ apiKey : Deno . env . get ( "WIX_API_KEY" ) ! ,
9
9
} ) ;
10
10
11
11
await t . step ( "get site properties" , async ( ) => {
You can’t perform that action at this time.
0 commit comments