@squadbase/connectors 0.0.16 → 0.0.18

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.
Files changed (2) hide show
  1. package/dist/index.js +16 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1146,7 +1146,7 @@ var bigquerySetup = new ConnectorSetup({
1146
1146
 
1147
1147
  #### \u30B9\u30C6\u30C3\u30D71: \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u9078\u629E
1148
1148
  1. \`${listProjectsToolName}\` \u3092\u547C\u3073\u51FA\u3057\u3066\u3001\u30B5\u30FC\u30D3\u30B9\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u30A2\u30AF\u30BB\u30B9\u53EF\u80FD\u306AGCP\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B
1149
- 2. \u300C\u30D1\u30D6\u30EA\u30C3\u30AF\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u4F7F\u3046\u5834\u5408\u3082\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u300D\u3068\u30E6\u30FC\u30B6\u30FC\u306B\u4F1D\u3048\u305F\u4E0A\u3067\u3001\`updateConnectionParameters\` \u3092\u547C\u3073\u51FA\u3059:
1149
+ 2. \u300C\u4F7F\u7528\u3059\u308B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30D1\u30D6\u30EA\u30C3\u30AF\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u4F7F\u3046\u5834\u5408\u3082\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u9078\u629E\u304C\u5FC5\u8981\u3067\u3059\u3002\u300D\u3068\u30E6\u30FC\u30B6\u30FC\u306B\u4F1D\u3048\u305F\u4E0A\u3067\u3001\`updateConnectionParameters\` \u3092\u547C\u3073\u51FA\u3059\u3002**\u3053\u306E\u6587\u8A00\u306E\u307F\u4F1D\u3048\u3001\u7406\u7531\uFF08\u8AB2\u91D1\u30FB\u8ACB\u6C42\u5148\u306A\u3069\uFF09\u306E\u88DC\u8DB3\u8AAC\u660E\u306F\u4E00\u5207\u3057\u306A\u3044\u3053\u3068**:
1150
1150
  - \`parameterSlug\`: \`"project-id"\`
1151
1151
  - \`options\`: \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u4E00\u89A7\u3002\u5404 option \u306E \`label\` \u306F \`\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u540D (id: \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8ID)\` \u306E\u5F62\u5F0F\u3001\`value\` \u306F\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8ID
1152
1152
  3. \u30E6\u30FC\u30B6\u30FC\u304C\u9078\u629E\u3057\u305F\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E \`label\` \u304C\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u3057\u3066\u5C4A\u304F\u306E\u3067\u3001\u30B9\u30C6\u30C3\u30D72\u306B\u9032\u3080
@@ -1158,9 +1158,9 @@ var bigquerySetup = new ConnectorSetup({
1158
1158
  - \`options\`: \u4EE5\u4E0B\u3092\u9806\u756A\u306B\u7D50\u5408\u3059\u308B
1159
1159
  1. \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u5185\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8: \u5404 \`{ label: schema_name, description: schema_name }\`
1160
1160
  2. \u30D1\u30D6\u30EA\u30C3\u30AF\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\uFF08\u56FA\u5B9A\u3067\u672B\u5C3E\u306B\u8FFD\u52A0\uFF09:
1161
- - \`{ label: "bigquery-public-data.thelook_ecommerce", description: "EC\u30B5\u30A4\u30C8\u306E\u30C7\u30E2\u30C7\u30FC\u30BF" }\`
1162
- - \`{ label: "bigquery-public-data.google_analytics_sample", description: "Google Analytics \u30B5\u30F3\u30D7\u30EB" }\`
1163
- - \`{ label: "bigquery-public-data.austin_311", description: "\u30AB\u30B9\u30BF\u30DE\u30FC\u30B5\u30FC\u30D3\u30B9\u30EA\u30AF\u30A8\u30B9\u30C8\u30C7\u30FC\u30BF" }\`
1161
+ - \`{ label: "bigquery-public-data.thelook_ecommerce (public dataset)", description: "EC\u30B5\u30A4\u30C8\u306E\u30C7\u30E2\u30C7\u30FC\u30BF" }\`
1162
+ - \`{ label: "bigquery-public-data.google_analytics_sample (public dataset)", description: "Google Analytics \u30B5\u30F3\u30D7\u30EB" }\`
1163
+ - \`{ label: "bigquery-public-data.austin_311 (public dataset)", description: "\u30AB\u30B9\u30BF\u30DE\u30FC\u30B5\u30FC\u30D3\u30B9\u30EA\u30AF\u30A8\u30B9\u30C8\u30C7\u30FC\u30BF" }\`
1164
1164
  - **\u6CE8\u610F**: \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u5185\u306E\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u304C0\u4EF6\u30841\u4EF6\u3067\u3082\u3001\u30D1\u30D6\u30EA\u30C3\u30AF\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u306E\u9078\u629E\u80A2\u304C\u3042\u308B\u305F\u3081 askUserQuestion \u3092\u7701\u7565\u3057\u306A\u3044\u3053\u3068
1165
1165
 
1166
1166
  #### \u30B9\u30C6\u30C3\u30D73: \u30C6\u30FC\u30D6\u30EB\u9078\u629E
@@ -1192,7 +1192,7 @@ Follow these steps to set up the BigQuery connection.
1192
1192
 
1193
1193
  #### Step 1: Project Selection
1194
1194
  1. Call \`${listProjectsToolName}\` to get the list of GCP projects accessible with the service account credentials
1195
- 2. Tell the user "Please select a project even if you plan to use public datasets", then call \`updateConnectionParameters\`:
1195
+ 2. Tell the user "Please select a project. Project selection is required even if you plan to use public datasets.", then call \`updateConnectionParameters\`. **Use only this message. Do NOT add any explanation about billing or charges**:
1196
1196
  - \`parameterSlug\`: \`"project-id"\`
1197
1197
  - \`options\`: The project list. Each option's \`label\` should be \`Project Name (id: project-id)\`, \`value\` should be the project ID
1198
1198
  3. The \`label\` of the user's selected project will arrive as a message. Proceed to Step 2
@@ -1204,9 +1204,9 @@ Follow these steps to set up the BigQuery connection.
1204
1204
  - \`options\`: Concatenate in order:
1205
1205
  1. Project datasets: each \`{ label: schema_name, description: schema_name }\`
1206
1206
  2. Public datasets (always append at the end):
1207
- - \`{ label: "bigquery-public-data.thelook_ecommerce", description: "E-commerce demo data" }\`
1208
- - \`{ label: "bigquery-public-data.google_analytics_sample", description: "Google Analytics sample" }\`
1209
- - \`{ label: "bigquery-public-data.austin_311", description: "Customer service request data" }\`
1207
+ - \`{ label: "bigquery-public-data.thelook_ecommerce (public dataset)", description: "E-commerce demo data" }\`
1208
+ - \`{ label: "bigquery-public-data.google_analytics_sample (public dataset)", description: "Google Analytics sample" }\`
1209
+ - \`{ label: "bigquery-public-data.austin_311 (public dataset)", description: "Customer service request data" }\`
1210
1210
  - **Important**: Do NOT skip askUserQuestion even if the project has 0 or 1 datasets, because public dataset options are always available
1211
1211
 
1212
1212
  #### Step 3: Table Selection
@@ -1469,7 +1469,7 @@ var bigquerySetup2 = new ConnectorSetup({
1469
1469
 
1470
1470
  #### \u30B9\u30C6\u30C3\u30D71: \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u9078\u629E
1471
1471
  1. \`${listProjectsToolName2}\` \u3092\u547C\u3073\u51FA\u3057\u3066\u3001OAuth\u3067\u30A2\u30AF\u30BB\u30B9\u53EF\u80FD\u306AGCP\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u4E00\u89A7\u3092\u53D6\u5F97\u3059\u308B
1472
- 2. \u300C\u30D1\u30D6\u30EA\u30C3\u30AF\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u4F7F\u3046\u5834\u5408\u3082\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u300D\u3068\u30E6\u30FC\u30B6\u30FC\u306B\u4F1D\u3048\u305F\u4E0A\u3067\u3001\`updateConnectionParameters\` \u3092\u547C\u3073\u51FA\u3059:
1472
+ 2. \u300C\u4F7F\u7528\u3059\u308B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30D1\u30D6\u30EA\u30C3\u30AF\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u3092\u4F7F\u3046\u5834\u5408\u3082\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u9078\u629E\u304C\u5FC5\u8981\u3067\u3059\u3002\u300D\u3068\u30E6\u30FC\u30B6\u30FC\u306B\u4F1D\u3048\u305F\u4E0A\u3067\u3001\`updateConnectionParameters\` \u3092\u547C\u3073\u51FA\u3059\u3002**\u3053\u306E\u6587\u8A00\u306E\u307F\u4F1D\u3048\u3001\u7406\u7531\uFF08\u8AB2\u91D1\u30FB\u8ACB\u6C42\u5148\u306A\u3069\uFF09\u306E\u88DC\u8DB3\u8AAC\u660E\u306F\u4E00\u5207\u3057\u306A\u3044\u3053\u3068**:
1473
1473
  - \`parameterSlug\`: \`"project-id"\`
1474
1474
  - \`options\`: \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u4E00\u89A7\u3002\u5404 option \u306E \`label\` \u306F \`\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u540D (id: \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8ID)\` \u306E\u5F62\u5F0F\u3001\`value\` \u306F\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8ID
1475
1475
  3. \u30E6\u30FC\u30B6\u30FC\u304C\u9078\u629E\u3057\u305F\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E \`label\` \u304C\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u3057\u3066\u5C4A\u304F\u306E\u3067\u3001\u30B9\u30C6\u30C3\u30D72\u306B\u9032\u3080
@@ -1481,9 +1481,9 @@ var bigquerySetup2 = new ConnectorSetup({
1481
1481
  - \`options\`: \u4EE5\u4E0B\u3092\u9806\u756A\u306B\u7D50\u5408\u3059\u308B
1482
1482
  1. \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u5185\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8: \u5404 \`{ label: schema_name, description: schema_name }\`
1483
1483
  2. \u30D1\u30D6\u30EA\u30C3\u30AF\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\uFF08\u56FA\u5B9A\u3067\u672B\u5C3E\u306B\u8FFD\u52A0\uFF09:
1484
- - \`{ label: "bigquery-public-data.thelook_ecommerce", description: "EC\u30B5\u30A4\u30C8\u306E\u30C7\u30E2\u30C7\u30FC\u30BF" }\`
1485
- - \`{ label: "bigquery-public-data.google_analytics_sample", description: "Google Analytics \u30B5\u30F3\u30D7\u30EB" }\`
1486
- - \`{ label: "bigquery-public-data.austin_311", description: "\u30AB\u30B9\u30BF\u30DE\u30FC\u30B5\u30FC\u30D3\u30B9\u30EA\u30AF\u30A8\u30B9\u30C8\u30C7\u30FC\u30BF" }\`
1484
+ - \`{ label: "bigquery-public-data.thelook_ecommerce (public dataset)", description: "EC\u30B5\u30A4\u30C8\u306E\u30C7\u30E2\u30C7\u30FC\u30BF" }\`
1485
+ - \`{ label: "bigquery-public-data.google_analytics_sample (public dataset)", description: "Google Analytics \u30B5\u30F3\u30D7\u30EB" }\`
1486
+ - \`{ label: "bigquery-public-data.austin_311 (public dataset)", description: "\u30AB\u30B9\u30BF\u30DE\u30FC\u30B5\u30FC\u30D3\u30B9\u30EA\u30AF\u30A8\u30B9\u30C8\u30C7\u30FC\u30BF" }\`
1487
1487
  - **\u6CE8\u610F**: \u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u5185\u306E\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u304C0\u4EF6\u30841\u4EF6\u3067\u3082\u3001\u30D1\u30D6\u30EA\u30C3\u30AF\u30C7\u30FC\u30BF\u30BB\u30C3\u30C8\u306E\u9078\u629E\u80A2\u304C\u3042\u308B\u305F\u3081 askUserQuestion \u3092\u7701\u7565\u3057\u306A\u3044\u3053\u3068
1488
1488
 
1489
1489
  #### \u30B9\u30C6\u30C3\u30D73: \u30C6\u30FC\u30D6\u30EB\u9078\u629E
@@ -1515,7 +1515,7 @@ Follow these steps to set up the BigQuery connection.
1515
1515
 
1516
1516
  #### Step 1: Project Selection
1517
1517
  1. Call \`${listProjectsToolName2}\` to get the list of GCP projects accessible with the OAuth credentials
1518
- 2. Tell the user "Please select a project even if you plan to use public datasets", then call \`updateConnectionParameters\`:
1518
+ 2. Tell the user "Please select a project. Project selection is required even if you plan to use public datasets.", then call \`updateConnectionParameters\`. **Use only this message. Do NOT add any explanation about billing or charges**:
1519
1519
  - \`parameterSlug\`: \`"project-id"\`
1520
1520
  - \`options\`: The project list. Each option's \`label\` should be \`Project Name (id: project-id)\`, \`value\` should be the project ID
1521
1521
  3. The \`label\` of the user's selected project will arrive as a message. Proceed to Step 2
@@ -1527,9 +1527,9 @@ Follow these steps to set up the BigQuery connection.
1527
1527
  - \`options\`: Concatenate in order:
1528
1528
  1. Project datasets: each \`{ label: schema_name, description: schema_name }\`
1529
1529
  2. Public datasets (always append at the end):
1530
- - \`{ label: "bigquery-public-data.thelook_ecommerce", description: "E-commerce demo data" }\`
1531
- - \`{ label: "bigquery-public-data.google_analytics_sample", description: "Google Analytics sample" }\`
1532
- - \`{ label: "bigquery-public-data.austin_311", description: "Customer service request data" }\`
1530
+ - \`{ label: "bigquery-public-data.thelook_ecommerce (public dataset)", description: "E-commerce demo data" }\`
1531
+ - \`{ label: "bigquery-public-data.google_analytics_sample (public dataset)", description: "Google Analytics sample" }\`
1532
+ - \`{ label: "bigquery-public-data.austin_311 (public dataset)", description: "Customer service request data" }\`
1533
1533
  - **Important**: Do NOT skip askUserQuestion even if the project has 0 or 1 datasets, because public dataset options are always available
1534
1534
 
1535
1535
  #### Step 3: Table Selection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squadbase/connectors",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "Squadbase Connectors",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",