We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 289909f commit 11033f5Copy full SHA for 11033f5
src/index.ts
@@ -8,13 +8,17 @@ const client = new Typesense.Client({
8
connectionTimeoutSeconds: 2,
9
});
10
11
+console.log("Creating search index deployment key");
12
+
13
await client.keys().create({
14
description: "Search index deployment key",
15
actions: ["documents:upsert"],
16
collections: ["*"],
17
value: process.env.TYPESENSE_WRITE_API_KEY!,
18
19
20
+console.log("Creating public frontend key");
21
22
23
description: "Frontend search key",
24
actions: ["documents:search"],
0 commit comments