Skip to content

Commit

Permalink
Update from 7697284
Browse files Browse the repository at this point in the history
  • Loading branch information
guzhongren committed Oct 30, 2022
1 parent cea9a93 commit d908ccb
Show file tree
Hide file tree
Showing 36 changed files with 6 additions and 449 deletions.
File renamed without changes.
12 changes: 5 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
"use strict";
exports.__esModule = true;
var algoliasearch_1 = require("algoliasearch");
var fs = require("fs");
var process_1 = require("process");
var algoliasearch = require('algoliasearch');
var fs = require('fs');
var exit = require('process').exit;
var APPLICATION_ID = process.env.APPLICATION_ID;
var ADMIN_API_KEY = process.env.ADMIN_API_KEY;
var INDEX_NAME = process.env.INDEX_NAME;
var FILE_PATH = process.env.FILE_PATH;
if (!APPLICATION_ID && !ADMIN_API_KEY && !INDEX_NAME && !FILE_PATH) {
(0, process_1.exit)();
exit();
}
var client = (0, algoliasearch_1["default"])(APPLICATION_ID, ADMIN_API_KEY);
var client = algoliasearch(APPLICATION_ID, ADMIN_API_KEY);
var index = client.initIndex(INDEX_NAME);
try {
console.log("Start to save Objects");
Expand Down
2 changes: 1 addition & 1 deletion node_modules/.modules.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d908ccb

Please sign in to comment.