@vtecx/vtecxnext 2.1.1 → 2.1.3
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/vtecxnext.d.ts +1 -1
- package/dist/vtecxnext.js +2 -1
- package/package.json +1 -1
package/dist/vtecxnext.d.ts
CHANGED
|
@@ -416,7 +416,7 @@ export declare class VtecxNext {
|
|
|
416
416
|
* @param tablenames key:entity's prop name, value:BigQuery table name
|
|
417
417
|
* @return registed entries
|
|
418
418
|
*/
|
|
419
|
-
postBDBQ: (feed: any, uri?: string, tablenames?: any) => Promise<
|
|
419
|
+
postBDBQ: (feed: any, uri?: string, tablenames?: any) => Promise<any>;
|
|
420
420
|
/**
|
|
421
421
|
* put data to bdb and post bigquery
|
|
422
422
|
* @param feed entries (JSON)
|
package/dist/vtecxnext.js
CHANGED
|
@@ -1599,6 +1599,7 @@ class VtecxNext {
|
|
|
1599
1599
|
const reqFeed = 'feed' in feed ? feed : { 'feed': { 'entry': feed } };
|
|
1600
1600
|
// テーブル名の指定がある場合は指定
|
|
1601
1601
|
const tablenamesStr = editBqTableNames(tablenames);
|
|
1602
|
+
//console.log(`[putBDBQ] tableamesStr=${tablenamesStr}`)
|
|
1602
1603
|
if (tablenamesStr) {
|
|
1603
1604
|
reqFeed.feed['title'] = tablenamesStr;
|
|
1604
1605
|
}
|
|
@@ -1607,7 +1608,7 @@ class VtecxNext {
|
|
|
1607
1608
|
const url = `${SERVLETPATH_PROVIDER}${uri ? uri : '/'}?_bdbq`;
|
|
1608
1609
|
let response;
|
|
1609
1610
|
try {
|
|
1610
|
-
response = await this.requestVtecx(method, url, JSON.stringify(
|
|
1611
|
+
response = await this.requestVtecx(method, url, JSON.stringify(reqFeed));
|
|
1611
1612
|
}
|
|
1612
1613
|
catch (e) {
|
|
1613
1614
|
throw newFetchError(e, true);
|