From 0caa59e07aa03979b46662ef834bf460e60a3faf Mon Sep 17 00:00:00 2001 From: kriptoburak Date: Wed, 1 Jul 2026 19:06:34 +0300 Subject: [PATCH] feat: add Xquik registry entry --- registry/xquik.yaml | 13 +++++++++++++ test/registry.test.ts | 9 +++++++++ 2 files changed, 22 insertions(+) create mode 100644 registry/xquik.yaml diff --git a/registry/xquik.yaml b/registry/xquik.yaml new file mode 100644 index 0000000..bd3c4b7 --- /dev/null +++ b/registry/xquik.yaml @@ -0,0 +1,13 @@ +name: xquik +displayName: Xquik +description: X automation API for search, extraction, compose, events, monitors, and webhooks +specUrl: https://xquik.com/openapi.json +baseUrl: https://xquik.com +authType: apiKey +authEnvVar: X_API_KEY +authHeaderName: x-api-key +tags: + - social + - automation + - extraction + - webhooks diff --git a/test/registry.test.ts b/test/registry.test.ts index 513b650..aaa7730 100644 --- a/test/registry.test.ts +++ b/test/registry.test.ts @@ -10,6 +10,7 @@ describe("Registry", () => { expect(names).toContain("github"); expect(names).toContain("stripe"); expect(names).toContain("petstore"); + expect(names).toContain("xquik"); }); it("each entry has required fields", async () => { @@ -55,6 +56,14 @@ describe("Registry", () => { expect(entry!.authType).toBe("none"); }); + it("gets Xquik API key auth metadata", async () => { + const entry = await getRegistryEntry("xquik"); + expect(entry).toBeDefined(); + expect(entry!.authType).toBe("apiKey"); + expect(entry!.authEnvVar).toBe("X_API_KEY"); + expect(entry!.authHeaderName).toBe("x-api-key"); + }); + it("returns undefined for missing entry", async () => { const entry = await getRegistryEntry("nonexistent"); expect(entry).toBeUndefined();