@perpetualsystems/connector-registry 202606.2.2 → 202606.2.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/build-registry.d.ts +8 -11
- package/dist/build-registry.d.ts.map +1 -1
- package/dist/build-registry.js +36 -12
- package/dist/build-registry.js.map +1 -1
- package/dist/bundled-icons.d.ts +9 -0
- package/dist/bundled-icons.d.ts.map +1 -0
- package/dist/bundled-icons.js +26 -0
- package/dist/bundled-icons.js.map +1 -0
- package/dist/icons/atlassian-org-audit.svg +3 -0
- package/dist/icons/azure-event-hub.svg +23 -0
- package/dist/icons/bitwarden.svg +11 -0
- package/dist/icons/gcp-pubsub.svg +8 -0
- package/dist/icons/one-password.svg +7 -0
- package/dist/icons/slack.svg +6 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +123 -64
- package/dist/schemas.d.ts +64 -169
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +2 -1
- package/dist/schemas.js.map +1 -1
- package/package.json +3 -4
package/dist/build-registry.d.ts
CHANGED
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
import { type AnyConnectorHandler } from "@perpetualsystems/connector-sdk";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import { type ConnectorRegistryManifest } from "./schemas.js";
|
|
3
|
+
import { type ConnectorIconExtension, type ConnectorRegistryManifest } from "./schemas.js";
|
|
4
4
|
export declare const defaultRepoRoot: string;
|
|
5
5
|
declare const perpetualRegistrySchema: z.ZodObject<{
|
|
6
6
|
displayName: z.ZodString;
|
|
7
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
-
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
displayName: string;
|
|
11
|
-
description?: string | undefined;
|
|
12
|
-
iconUrl?: string | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
displayName: string;
|
|
15
|
-
description?: string | undefined;
|
|
16
|
-
iconUrl?: string | undefined;
|
|
17
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
18
9
|
export type PerpetualRegistryMetadata = z.infer<typeof perpetualRegistrySchema>;
|
|
19
10
|
/** Default Perpetual connectors ECR registry (override with CONNECTORS_ECR_REGISTRY). */
|
|
20
11
|
export declare const DEFAULT_CONNECTORS_ECR_REGISTRY = "718287746078.dkr.ecr.us-east-2.amazonaws.com";
|
|
@@ -30,6 +21,12 @@ export declare function resolveEcrImageUrl(args: {
|
|
|
30
21
|
}): string;
|
|
31
22
|
export declare function readPerpetualRegistryMetadata(packageName: string, repoRoot?: string): Promise<PerpetualRegistryMetadata>;
|
|
32
23
|
export declare function settingsSchemaFromZod(config: z.ZodType): Record<string, unknown>;
|
|
24
|
+
export declare function resolveConnectorIconExtension(packageName: string, repoRoot?: string): Promise<ConnectorIconExtension | undefined>;
|
|
25
|
+
export declare function copyConnectorIconToRegistryDist(args: {
|
|
26
|
+
packageName: string;
|
|
27
|
+
kind: string;
|
|
28
|
+
repoRoot?: string;
|
|
29
|
+
}): Promise<ConnectorIconExtension | undefined>;
|
|
33
30
|
export declare function loadConnectorHandler(packageName: string, repoRoot?: string): Promise<AnyConnectorHandler>;
|
|
34
31
|
export declare function buildConnectorRegistryManifest(repoRoot?: string): Promise<ConnectorRegistryManifest>;
|
|
35
32
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-registry.d.ts","sourceRoot":"","sources":["../src/build-registry.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"build-registry.d.ts","sourceRoot":"","sources":["../src/build-registry.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,iCAAiC,CAAA;AACxC,OAAO,E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AW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,GAAG,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAiB9C;AAED,wBAAsB,oBAAoB,CACxC,WAAW,EAAE,MAAM,EACnB,QAAQ,GAAE,MAAwB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CA6B9B;AAED,wBAAsB,8BAA8B,CAClD,QAAQ,GAAE,MAAwB,GACjC,OAAO,CAAC,yBAAyB,CAAC,CAqDpC"}
|
package/dist/build-registry.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { readdir, readFile } from "node:fs/promises";
|
|
1
|
+
import { access, copyFile, mkdir, readdir, readFile } from "node:fs/promises";
|
|
2
2
|
import { dirname, join, resolve } from "node:path";
|
|
3
3
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
4
4
|
import { isStreamingConnectorHandler, registryCredentialSlotsFromDefinition, } from "@perpetualsystems/connector-sdk";
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
import {
|
|
7
|
-
import { connectorRegistryManifestSchema, DRAFT_07_SCHEMA_URI, } from "./schemas.js";
|
|
6
|
+
import { connectorRegistryManifestSchema, } from "./schemas.js";
|
|
8
7
|
const packageDir = dirname(fileURLToPath(import.meta.url));
|
|
9
8
|
export const defaultRepoRoot = resolve(packageDir, "../../..");
|
|
10
9
|
const PUBLISH_EXCLUDED_PACKAGES = new Set([
|
|
@@ -15,7 +14,6 @@ const PUBLISH_EXCLUDED_PACKAGES = new Set([
|
|
|
15
14
|
const perpetualRegistrySchema = z.object({
|
|
16
15
|
displayName: z.string().min(1),
|
|
17
16
|
description: z.string().optional(),
|
|
18
|
-
iconUrl: z.string().url().optional(),
|
|
19
17
|
});
|
|
20
18
|
/** Default Perpetual connectors ECR registry (override with CONNECTORS_ECR_REGISTRY). */
|
|
21
19
|
export const DEFAULT_CONNECTORS_ECR_REGISTRY = "718287746078.dkr.ecr.us-east-2.amazonaws.com";
|
|
@@ -85,14 +83,35 @@ export async function readPerpetualRegistryMetadata(packageName, repoRoot = defa
|
|
|
85
83
|
return parsed.data;
|
|
86
84
|
}
|
|
87
85
|
export function settingsSchemaFromZod(config) {
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
return z.toJSONSchema(config, {
|
|
87
|
+
target: "draft-07",
|
|
88
|
+
io: "output",
|
|
90
89
|
});
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
90
|
+
}
|
|
91
|
+
export async function resolveConnectorIconExtension(packageName, repoRoot = defaultRepoRoot) {
|
|
92
|
+
const packageDirPath = join(repoRoot, "packages", packageName);
|
|
93
|
+
for (const ext of ["svg", "png"]) {
|
|
94
|
+
try {
|
|
95
|
+
await access(join(packageDirPath, `icon.${ext}`));
|
|
96
|
+
return ext;
|
|
97
|
+
}
|
|
98
|
+
catch {
|
|
99
|
+
// try next extension
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return undefined;
|
|
103
|
+
}
|
|
104
|
+
export async function copyConnectorIconToRegistryDist(args) {
|
|
105
|
+
const repoRoot = args.repoRoot ?? defaultRepoRoot;
|
|
106
|
+
const ext = await resolveConnectorIconExtension(args.packageName, repoRoot);
|
|
107
|
+
if (!ext) {
|
|
108
|
+
console.warn(`packages/${args.packageName}: no icon.svg or icon.png found (connector kind "${args.kind}")`);
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
const iconsOutDir = join(packageDir, "icons");
|
|
112
|
+
await mkdir(iconsOutDir, { recursive: true });
|
|
113
|
+
await copyFile(join(repoRoot, "packages", args.packageName, `icon.${ext}`), join(iconsOutDir, `${args.kind}.${ext}`));
|
|
114
|
+
return ext;
|
|
96
115
|
}
|
|
97
116
|
export async function loadConnectorHandler(packageName, repoRoot = defaultRepoRoot) {
|
|
98
117
|
const entryPath = join(repoRoot, "packages", packageName, "dist/index.js");
|
|
@@ -121,6 +140,11 @@ export async function buildConnectorRegistryManifest(repoRoot = defaultRepoRoot)
|
|
|
121
140
|
readPerpetualRegistryMetadata(packageName, repoRoot),
|
|
122
141
|
readConnectorPackageVersion(packageName, repoRoot),
|
|
123
142
|
]);
|
|
143
|
+
const iconExt = await copyConnectorIconToRegistryDist({
|
|
144
|
+
packageName,
|
|
145
|
+
kind: handler.id,
|
|
146
|
+
repoRoot,
|
|
147
|
+
});
|
|
124
148
|
connectors.push({
|
|
125
149
|
kind: handler.id,
|
|
126
150
|
displayName: metadata.displayName,
|
|
@@ -138,7 +162,7 @@ export async function buildConnectorRegistryManifest(repoRoot = defaultRepoRoot)
|
|
|
138
162
|
...(metadata.description !== undefined
|
|
139
163
|
? { description: metadata.description }
|
|
140
164
|
: {}),
|
|
141
|
-
...(
|
|
165
|
+
...(iconExt !== undefined ? { iconExt } : {}),
|
|
142
166
|
settingsSchema: settingsSchemaFromZod(handler.config),
|
|
143
167
|
credentials: registryCredentialSlotsFromDefinition(handler.credentials).map((slot) => {
|
|
144
168
|
const slotDef = handler.credentials[slot.id];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-registry.js","sourceRoot":"","sources":["../src/build-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"build-registry.js","sourceRoot":"","sources":["../src/build-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACvD,OAAO,EAEL,2BAA2B,EAC3B,qCAAqC,GACtC,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,CAAC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C;oBACb,MAAM,IAAI,KAAK,CACb,cAAc,OAAO,CAAC,EAAE,8BAA8B,IAAI,CAAC,EAAE,GAAG,CACjE,CAAA;gBACH,CAAC;gBACD,OAAO;oBACL,GAAG,IAAI;oBACP,gBAAgB,EAAE,qBAAqB,CAAC,OAAO,CAAC,MAAM,CAAC;iBACxD,CAAA;YACH,CAAC,CAAC;SACH,CAAC,CAAA;IACJ,CAAC;IAED,OAAO,+BAA+B,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC,CAAA;AAC9D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ConnectorIconExtension } from "./schemas.js";
|
|
2
|
+
/** Directory containing bundled connector icon files (`dist/icons/`). */
|
|
3
|
+
export declare function getBundledConnectorIconsDir(): string;
|
|
4
|
+
export declare function connectorIconContentType(ext: ConnectorIconExtension): string;
|
|
5
|
+
export declare function resolveBundledConnectorIconPath(args: {
|
|
6
|
+
kind: string;
|
|
7
|
+
ext: ConnectorIconExtension;
|
|
8
|
+
}): string | undefined;
|
|
9
|
+
//# sourceMappingURL=bundled-icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundled-icons.d.ts","sourceRoot":"","sources":["../src/bundled-icons.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAO1D,yEAAyE;AACzE,wBAAgB,2BAA2B,IAAI,MAAM,CAEpD;AAOD,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,sBAAsB,GAC1B,MAAM,CAER;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE;IACpD,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,sBAAsB,CAAA;CAC5B,GAAG,MAAM,GAAG,SAAS,CAQrB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { accessSync, constants } from "node:fs";
|
|
2
|
+
import { join } from "node:path";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
const iconsDir = join(fileURLToPath(new URL(".", import.meta.url)), "icons");
|
|
5
|
+
/** Directory containing bundled connector icon files (`dist/icons/`). */
|
|
6
|
+
export function getBundledConnectorIconsDir() {
|
|
7
|
+
return iconsDir;
|
|
8
|
+
}
|
|
9
|
+
const CONTENT_TYPES = {
|
|
10
|
+
svg: "image/svg+xml",
|
|
11
|
+
png: "image/png",
|
|
12
|
+
};
|
|
13
|
+
export function connectorIconContentType(ext) {
|
|
14
|
+
return CONTENT_TYPES[ext];
|
|
15
|
+
}
|
|
16
|
+
export function resolveBundledConnectorIconPath(args) {
|
|
17
|
+
const filePath = join(iconsDir, `${args.kind}.${args.ext}`);
|
|
18
|
+
try {
|
|
19
|
+
accessSync(filePath, constants.R_OK);
|
|
20
|
+
return filePath;
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=bundled-icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundled-icons.js","sourceRoot":"","sources":["../src/bundled-icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,MAAM,QAAQ,GAAG,IAAI,CACnB,aAAa,CAAC,IAAI,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAC5C,OAAO,CACR,CAAA;AAED,yEAAyE;AACzE,MAAM,UAAU,2BAA2B;IACzC,OAAO,QAAQ,CAAA;AACjB,CAAC;AAED,MAAM,aAAa,GAA2C;IAC5D,GAAG,EAAE,eAAe;IACpB,GAAG,EAAE,WAAW;CACjB,CAAA;AAED,MAAM,UAAU,wBAAwB,CACtC,GAA2B;IAE3B,OAAO,aAAa,CAAC,GAAG,CAAC,CAAA;AAC3B,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAG/C;IACC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC,CAAA;IAC3D,IAAI,CAAC;QACH,UAAU,CAAC,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;QACpC,OAAO,QAAQ,CAAA;IACjB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAA;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-label="Atlassian">
|
|
2
|
+
<path fill="#0052CC" d="M7.12 11.084a.683.683 0 0 0-1.16.126L.075 22.974a.703.703 0 0 0 .63 1.018h8.19a.678.678 0 0 0 .63-.39c1.767-3.65.696-9.203-2.406-12.52zM11.434.386a15.515 15.515 0 0 0-.906 15.317l3.95 7.9a.703.703 0 0 0 .628.388h8.19a.703.703 0 0 0 .63-1.017L12.63.38a.664.664 0 0 0-1.196.006z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<svg width="150" height="150" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="e399c19f-b68f-429d-b176-18c2117ff73c" x1="-1032.172" x2="-1059.213" y1="145.312" y2="65.426" gradientTransform="matrix(1 0 0 -1 1075 158)" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0" stop-color="#114a8b"/>
|
|
5
|
+
<stop offset="1" stop-color="#0669bc"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="ac2a6fc2-ca48-4327-9a3c-d4dcc3256e15" x1="-1023.725" x2="-1029.98" y1="108.083" y2="105.968" gradientTransform="matrix(1 0 0 -1 1075 158)" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop offset="0" stop-opacity=".3"/>
|
|
9
|
+
<stop offset=".071" stop-opacity=".2"/>
|
|
10
|
+
<stop offset=".321" stop-opacity=".1"/>
|
|
11
|
+
<stop offset=".623" stop-opacity=".05"/>
|
|
12
|
+
<stop offset="1" stop-opacity="0"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<linearGradient id="a7fee970-a784-4bb1-af8d-63d18e5f7db9" x1="-1027.165" x2="-997.482" y1="147.642" y2="68.561" gradientTransform="matrix(1 0 0 -1 1075 158)" gradientUnits="userSpaceOnUse">
|
|
15
|
+
<stop offset="0" stop-color="#3ccbf4"/>
|
|
16
|
+
<stop offset="1" stop-color="#2892df"/>
|
|
17
|
+
</linearGradient>
|
|
18
|
+
</defs>
|
|
19
|
+
<path fill="url(#e399c19f-b68f-429d-b176-18c2117ff73c)" d="M33.338 6.544h26.038l-27.03 80.087a4.152 4.152 0 0 1-3.933 2.824H8.149a4.145 4.145 0 0 1-3.928-5.47L29.404 9.368a4.152 4.152 0 0 1 3.934-2.825z"/>
|
|
20
|
+
<path fill="#0078d4" d="M71.175 60.261h-41.29a1.911 1.911 0 0 0-1.305 3.309l26.532 24.764a4.171 4.171 0 0 0 2.846 1.121h23.38z"/>
|
|
21
|
+
<path fill="url(#ac2a6fc2-ca48-4327-9a3c-d4dcc3256e15)" d="M33.338 6.544a4.118 4.118 0 0 0-3.943 2.879L4.252 83.917a4.14 4.14 0 0 0 3.908 5.538h20.787a4.443 4.443 0 0 0 3.41-2.9l5.014-14.777 17.91 16.705a4.237 4.237 0 0 0 2.666.972H81.24L71.024 60.261l-29.781.007L59.47 6.544z"/>
|
|
22
|
+
<path fill="url(#a7fee970-a784-4bb1-af8d-63d18e5f7db9)" d="M66.595 9.364a4.145 4.145 0 0 0-3.928-2.82H33.648a4.146 4.146 0 0 1 3.928 2.82l25.184 74.62a4.146 4.146 0 0 1-3.928 5.472h29.02a4.146 4.146 0 0 0 3.927-5.472z"/>
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="300" height="300" viewBox="0 0 300 300" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_68_61)">
|
|
3
|
+
<path d="M300 253.125C300 279.023 279.023 300 253.125 300H46.875C20.9766 300 0 279.023 0 253.125V46.875C0 20.9766 20.9766 0 46.875 0H253.125C279.023 0 300 20.9766 300 46.875V253.125Z" fill="#175DDC"/>
|
|
4
|
+
<path d="M243.105 37.6758C241.201 35.7715 238.945 34.834 236.367 34.834H63.6328C61.0254 34.834 58.7988 35.7715 56.8945 37.6758C54.9902 39.5801 54.0527 41.8359 54.0527 44.4141V159.58C54.0527 168.164 55.7227 176.689 59.0625 185.156C62.4023 193.594 66.5625 201.094 71.5137 207.656C76.4648 214.189 82.3535 220.576 89.209 226.787C96.0645 232.998 102.393 238.125 108.164 242.227C113.965 246.328 120 250.195 126.299 253.857C132.598 257.52 137.08 259.98 139.717 261.27C142.354 262.559 144.492 263.584 146.074 264.258C147.275 264.844 148.564 265.166 149.971 265.166C151.377 265.166 152.666 264.873 153.867 264.258C155.479 263.555 157.588 262.559 160.254 261.27C162.891 259.98 167.373 257.49 173.672 253.857C179.971 250.195 186.006 246.328 191.807 242.227C197.607 238.125 203.936 232.969 210.791 226.787C217.646 220.576 223.535 214.219 228.486 207.656C233.438 201.094 237.568 193.623 240.938 185.156C244.277 176.719 245.947 168.193 245.947 159.58V44.4434C245.977 41.8359 245.01 39.5801 243.105 37.6758ZM220.84 160.664C220.84 202.354 150 238.271 150 238.271V59.502H220.84C220.84 59.502 220.84 118.975 220.84 160.664Z" fill="white"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_68_61">
|
|
8
|
+
<rect width="300" height="300" fill="white"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-label="Google Cloud">
|
|
2
|
+
<g transform="translate(12 12) scale(0.58) translate(-17.2 -16.5)">
|
|
3
|
+
<path fill="#EA4335" d="M21.85 7.41l1 0 2.85-2.85.14-1.21A12.81 12.81 0 0 0 5 9.6a1.55 1.55 0 0 1 1-.06l5.7-.94s.29-.48.44-.45a7.11 7.11 0 0 1 9.73-.74Z"/>
|
|
4
|
+
<path fill="#4285F4" d="M29.76 9.6a12.84 12.84 0 0 0-3.87-6.24l-4 4A7.11 7.11 0 0 1 24.5 13v.71a3.56 3.56 0 1 1 0 7.12H17.38l-.71.72v4.27l.71.71H24.5A9.26 9.26 0 0 0 29.76 9.6Z"/>
|
|
5
|
+
<path fill="#34A853" d="M10.25 26.49h7.12v-5.7H10.25a3.54 3.54 0 0 1-1.47-.32l-1 .31L4.91 23.63l-.25 1A9.21 9.21 0 0 0 10.25 26.49Z"/>
|
|
6
|
+
<path fill="#FBBC05" d="M10.25 8A9.26 9.26 0 0 0 4.66 24.6l4.13-4.13a3.56 3.56 0 1 1 4.71-4.71l4.13-4.13A9.25 9.25 0 0 0 10.25 8Z"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-label="1Password">
|
|
2
|
+
<rect width="24" height="24" rx="5.5" fill="#0572ED"/>
|
|
3
|
+
<path
|
|
4
|
+
fill="#FFFFFF"
|
|
5
|
+
d="M12 4.25c-4.27 0-7.75 3.48-7.75 7.75s3.48 7.75 7.75 7.75 7.75-3.48 7.75-7.75S16.27 4.25 12 4.25zm-.97 1.61h1.94c.33 0 .49 0 .61.06a.58.58 0 0 1 .25.25c.06.12.06.29.06.61v5.29c0 .08 0 .12-.01.16a.29.29 0 0 1-.04.09c-.02.03-.05.06-.12.11l-.68.55c-.07.06-.11.09-.13.13a.15.15 0 0 0 0 .1c.01.04.05.07.13.13l.67.55a.64.64 0 0 1 .12.11.29.29 0 0 1 .05.09.6.6 0 0 1 .01.16v2.57c0 .32 0 .49-.06.61a.58.58 0 0 1-.26.26c-.12.06-.29.06-.61.06h-1.94c-.33 0-.49 0-.61-.06a.58.58 0 0 1-.26-.26c-.06-.12-.06-.29-.06-.61v-2.57c0-.08 0-.12.01-.16a.29.29 0 0 1 .04-.09c.03-.03.06-.06.12-.11l.68-.55c.07-.06.11-.09.13-.13a.15.15 0 0 0 0-.1c-.01-.04-.05-.07-.13-.13l-.67-.55a.64.64 0 0 1-.12-.11.29.29 0 0 1-.05-.09.6.6 0 0 1-.01-.16V7.73c0-.32 0-.49.06-.61a.58.58 0 0 1 .26-.25c.12-.06.29-.07.61-.07z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127 127" role="img" aria-label="Slack">
|
|
2
|
+
<path fill="#E01E5A" d="M27.2 80c0 7.3-5.9 13.2-13.2 13.2C6.7 93.2.8 87.3.8 80c0-7.3 5.9-13.2 13.2-13.2h13.2V80zm6.6 0c0-7.3 5.9-13.2 13.2-13.2 7.3 0 13.2 5.9 13.2 13.2v33c0 7.3-5.9 13.2-13.2 13.2-7.3 0-13.2-5.9-13.2-13.2V80z"/>
|
|
3
|
+
<path fill="#36C5F0" d="M47 27c-7.3 0-13.2-5.9-13.2-13.2C33.8 6.5 39.7.6 47 .6c7.3 0 13.2 5.9 13.2 13.2V27H47zm0 6.7c7.3 0 13.2 5.9 13.2 13.2 0 7.3-5.9 13.2-13.2 13.2H13.9C6.6 60.1.7 54.2.7 46.9c0-7.3 5.9-13.2 13.2-13.2H47z"/>
|
|
4
|
+
<path fill="#2EB67D" d="M99.9 46.9c0-7.3 5.9-13.2 13.2-13.2 7.3 0 13.2 5.9 13.2 13.2 0 7.3-5.9 13.2-13.2 13.2H99.9V46.9zm-6.6 0c0 7.3-5.9 13.2-13.2 13.2-7.3 0-13.2-5.9-13.2-13.2V13.8C66.9 6.5 72.8.6 80.1.6c7.3 0 13.2 5.9 13.2 13.2v33.1z"/>
|
|
5
|
+
<path fill="#ECB22E" d="M80.1 99.8c7.3 0 13.2 5.9 13.2 13.2 0 7.3-5.9 13.2-13.2 13.2-7.3 0-13.2-5.9-13.2-13.2V99.8h13.2zm0-6.6c-7.3 0-13.2-5.9-13.2-13.2 0-7.3 5.9-13.2 13.2-13.2h33.1c7.3 0 13.2 5.9 13.2 13.2 0 7.3-5.9 13.2-13.2 13.2H80.1z"/>
|
|
6
|
+
</svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { getBundledConnectorRegistry, getBundledConnectorRegistryManifest, } from "./bundled-manifest.js";
|
|
2
|
-
export {
|
|
2
|
+
export { connectorIconContentType, getBundledConnectorIconsDir, resolveBundledConnectorIconPath, } from "./bundled-icons.js";
|
|
3
|
+
export { type ConnectorRegistry, type ConnectorRegistryCredentialSlot, type ConnectorRegistryEntry, type ConnectorRegistryManifest, type ConnectorIconExtension, connectorRegistryCredentialSlotSchema, connectorRegistryEntrySchema, connectorRegistryManifestSchema, createConnectorRegistry, DRAFT_07_SCHEMA_URI, parseConnectorRegistryManifest, type PerpetualCredentialType, zConnectorIconExtension, zPerpetualCredentialType, } from "./schemas.js";
|
|
3
4
|
export { assertEcrImageUrlImmutable, assertSettingsSchemaInlined, validateConnectorRegistry, } from "./validate.js";
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,mCAAmC,GACpC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,qCAAqC,EACrC,4BAA4B,EAC5B,+BAA+B,EAC/B,uBAAuB,EACvB,mBAAmB,EACnB,8BAA8B,EAC9B,KAAK,uBAAuB,EAC5B,wBAAwB,GACzB,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,mCAAmC,GACpC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,wBAAwB,EACxB,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,qCAAqC,EACrC,4BAA4B,EAC5B,+BAA+B,EAC/B,uBAAuB,EACvB,mBAAmB,EACnB,8BAA8B,EAC9B,KAAK,uBAAuB,EAC5B,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,eAAe,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { getBundledConnectorRegistry, getBundledConnectorRegistryManifest, } from "./bundled-manifest.js";
|
|
2
|
-
export {
|
|
2
|
+
export { connectorIconContentType, getBundledConnectorIconsDir, resolveBundledConnectorIconPath, } from "./bundled-icons.js";
|
|
3
|
+
export { connectorRegistryCredentialSlotSchema, connectorRegistryEntrySchema, connectorRegistryManifestSchema, createConnectorRegistry, DRAFT_07_SCHEMA_URI, parseConnectorRegistryManifest, zConnectorIconExtension, zPerpetualCredentialType, } from "./schemas.js";
|
|
3
4
|
export { assertEcrImageUrlImmutable, assertSettingsSchemaInlined, validateConnectorRegistry, } from "./validate.js";
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,mCAAmC,GACpC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,mCAAmC,GACpC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,wBAAwB,EACxB,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAML,qCAAqC,EACrC,4BAA4B,EAC5B,+BAA+B,EAC/B,uBAAuB,EACvB,mBAAmB,EACnB,8BAA8B,EAE9B,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,eAAe,CAAA"}
|
package/dist/manifest.json
CHANGED
|
@@ -6,18 +6,19 @@
|
|
|
6
6
|
"ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/atlassian-org-audit:0.0.1",
|
|
7
7
|
"connectorType": "polling",
|
|
8
8
|
"settingsSchema": {
|
|
9
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
9
10
|
"type": "object",
|
|
10
11
|
"properties": {
|
|
11
12
|
"orgId": {
|
|
12
13
|
"type": "string",
|
|
13
|
-
"minLength": 1
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"title": "Organization ID"
|
|
14
16
|
}
|
|
15
17
|
},
|
|
16
18
|
"required": [
|
|
17
19
|
"orgId"
|
|
18
20
|
],
|
|
19
|
-
"additionalProperties": false
|
|
20
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
21
|
+
"additionalProperties": false
|
|
21
22
|
},
|
|
22
23
|
"credentials": [
|
|
23
24
|
{
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
"Text"
|
|
29
30
|
],
|
|
30
31
|
"credentialSchema": {
|
|
32
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
31
33
|
"type": "object",
|
|
32
34
|
"properties": {
|
|
33
35
|
"type": {
|
|
@@ -43,11 +45,11 @@
|
|
|
43
45
|
"type",
|
|
44
46
|
"value"
|
|
45
47
|
],
|
|
46
|
-
"additionalProperties": false
|
|
47
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
48
|
+
"additionalProperties": false
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
],
|
|
52
|
+
"iconExt": "svg",
|
|
51
53
|
"description": "Polls Atlassian organization audit logs."
|
|
52
54
|
},
|
|
53
55
|
{
|
|
@@ -57,22 +59,26 @@
|
|
|
57
59
|
"connectorType": "streaming",
|
|
58
60
|
"lagUnit": "milliseconds",
|
|
59
61
|
"settingsSchema": {
|
|
62
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
60
63
|
"type": "object",
|
|
61
64
|
"properties": {
|
|
62
65
|
"eventHubName": {
|
|
63
66
|
"type": "string",
|
|
64
|
-
"minLength": 1
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"title": "Event Hub name"
|
|
65
69
|
},
|
|
66
70
|
"consumerGroup": {
|
|
67
|
-
"
|
|
68
|
-
"
|
|
71
|
+
"default": "$Default",
|
|
72
|
+
"title": "Consumer group",
|
|
73
|
+
"description": "Event Hubs consumer group used for partition ownership and checkpoints.",
|
|
74
|
+
"type": "string"
|
|
69
75
|
}
|
|
70
76
|
},
|
|
71
77
|
"required": [
|
|
72
|
-
"eventHubName"
|
|
78
|
+
"eventHubName",
|
|
79
|
+
"consumerGroup"
|
|
73
80
|
],
|
|
74
|
-
"additionalProperties": false
|
|
75
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
81
|
+
"additionalProperties": false
|
|
76
82
|
},
|
|
77
83
|
"credentials": [
|
|
78
84
|
{
|
|
@@ -84,6 +90,7 @@
|
|
|
84
90
|
"Text"
|
|
85
91
|
],
|
|
86
92
|
"credentialSchema": {
|
|
93
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
87
94
|
"type": "object",
|
|
88
95
|
"properties": {
|
|
89
96
|
"type": {
|
|
@@ -99,11 +106,11 @@
|
|
|
99
106
|
"type",
|
|
100
107
|
"value"
|
|
101
108
|
],
|
|
102
|
-
"additionalProperties": false
|
|
103
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
109
|
+
"additionalProperties": false
|
|
104
110
|
}
|
|
105
111
|
}
|
|
106
112
|
],
|
|
113
|
+
"iconExt": "svg",
|
|
107
114
|
"description": "Consume events from an Azure Event Hub."
|
|
108
115
|
},
|
|
109
116
|
{
|
|
@@ -112,6 +119,7 @@
|
|
|
112
119
|
"ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/bitwarden:0.0.1",
|
|
113
120
|
"connectorType": "polling",
|
|
114
121
|
"settingsSchema": {
|
|
122
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
115
123
|
"type": "object",
|
|
116
124
|
"properties": {
|
|
117
125
|
"region": {
|
|
@@ -119,14 +127,14 @@
|
|
|
119
127
|
"enum": [
|
|
120
128
|
"global",
|
|
121
129
|
"eu"
|
|
122
|
-
]
|
|
130
|
+
],
|
|
131
|
+
"title": "Region"
|
|
123
132
|
}
|
|
124
133
|
},
|
|
125
134
|
"required": [
|
|
126
135
|
"region"
|
|
127
136
|
],
|
|
128
|
-
"additionalProperties": false
|
|
129
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
137
|
+
"additionalProperties": false
|
|
130
138
|
},
|
|
131
139
|
"credentials": [
|
|
132
140
|
{
|
|
@@ -137,6 +145,7 @@
|
|
|
137
145
|
"OAuth2ClientCredentials"
|
|
138
146
|
],
|
|
139
147
|
"credentialSchema": {
|
|
148
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
140
149
|
"type": "object",
|
|
141
150
|
"properties": {
|
|
142
151
|
"type": {
|
|
@@ -152,11 +161,11 @@
|
|
|
152
161
|
"type",
|
|
153
162
|
"accessToken"
|
|
154
163
|
],
|
|
155
|
-
"additionalProperties": false
|
|
156
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
164
|
+
"additionalProperties": false
|
|
157
165
|
}
|
|
158
166
|
}
|
|
159
167
|
],
|
|
168
|
+
"iconExt": "svg",
|
|
160
169
|
"description": "Poll Bitwarden organization event logs."
|
|
161
170
|
},
|
|
162
171
|
{
|
|
@@ -166,27 +175,39 @@
|
|
|
166
175
|
"connectorType": "streaming",
|
|
167
176
|
"lagUnit": "milliseconds",
|
|
168
177
|
"settingsSchema": {
|
|
178
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
169
179
|
"type": "object",
|
|
170
180
|
"properties": {
|
|
171
181
|
"projectId": {
|
|
172
182
|
"type": "string",
|
|
173
|
-
"minLength": 1
|
|
183
|
+
"minLength": 1,
|
|
184
|
+
"title": "Project ID"
|
|
174
185
|
},
|
|
175
186
|
"subscriptionId": {
|
|
176
187
|
"type": "string",
|
|
177
|
-
"minLength": 1
|
|
188
|
+
"minLength": 1,
|
|
189
|
+
"title": "Subscription ID"
|
|
178
190
|
},
|
|
179
191
|
"serviceAccountEmail": {
|
|
180
192
|
"type": "string",
|
|
181
|
-
"format": "email"
|
|
193
|
+
"format": "email",
|
|
194
|
+
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
|
|
195
|
+
"title": "Service account email",
|
|
196
|
+
"description": "Email of the GCP service account that can pull from the subscription."
|
|
182
197
|
},
|
|
183
198
|
"maxMessages": {
|
|
199
|
+
"title": "Max messages per batch",
|
|
200
|
+
"description": "Optional cap on Pub/Sub messages pulled per receive call.",
|
|
184
201
|
"type": "integer",
|
|
185
|
-
"exclusiveMinimum": 0
|
|
202
|
+
"exclusiveMinimum": 0,
|
|
203
|
+
"maximum": 9007199254740991
|
|
186
204
|
},
|
|
187
205
|
"maxBytes": {
|
|
206
|
+
"title": "Max bytes per batch",
|
|
207
|
+
"description": "Optional cap on total message bytes pulled per receive call.",
|
|
188
208
|
"type": "integer",
|
|
189
|
-
"exclusiveMinimum": 0
|
|
209
|
+
"exclusiveMinimum": 0,
|
|
210
|
+
"maximum": 9007199254740991
|
|
190
211
|
}
|
|
191
212
|
},
|
|
192
213
|
"required": [
|
|
@@ -194,8 +215,7 @@
|
|
|
194
215
|
"subscriptionId",
|
|
195
216
|
"serviceAccountEmail"
|
|
196
217
|
],
|
|
197
|
-
"additionalProperties": false
|
|
198
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
218
|
+
"additionalProperties": false
|
|
199
219
|
},
|
|
200
220
|
"credentials": [
|
|
201
221
|
{
|
|
@@ -207,6 +227,7 @@
|
|
|
207
227
|
"Text"
|
|
208
228
|
],
|
|
209
229
|
"credentialSchema": {
|
|
230
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
210
231
|
"type": "object",
|
|
211
232
|
"properties": {
|
|
212
233
|
"type": {
|
|
@@ -222,11 +243,11 @@
|
|
|
222
243
|
"type",
|
|
223
244
|
"value"
|
|
224
245
|
],
|
|
225
|
-
"additionalProperties": false
|
|
226
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
246
|
+
"additionalProperties": false
|
|
227
247
|
}
|
|
228
248
|
}
|
|
229
249
|
],
|
|
250
|
+
"iconExt": "svg",
|
|
230
251
|
"description": "Consume messages from a GCP Pub/Sub subscription."
|
|
231
252
|
},
|
|
232
253
|
{
|
|
@@ -235,6 +256,7 @@
|
|
|
235
256
|
"ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/one-password:0.0.1",
|
|
236
257
|
"connectorType": "polling",
|
|
237
258
|
"settingsSchema": {
|
|
259
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
238
260
|
"type": "object",
|
|
239
261
|
"properties": {
|
|
240
262
|
"region": {
|
|
@@ -243,26 +265,35 @@
|
|
|
243
265
|
"us",
|
|
244
266
|
"eu",
|
|
245
267
|
"ca"
|
|
246
|
-
]
|
|
268
|
+
],
|
|
269
|
+
"title": "Region"
|
|
247
270
|
},
|
|
248
271
|
"signinAttempts": {
|
|
249
|
-
"
|
|
250
|
-
"
|
|
272
|
+
"default": true,
|
|
273
|
+
"title": "Sign-in attempts",
|
|
274
|
+
"description": "Sign-in attempts to 1Password, including success or failure, client, and location.",
|
|
275
|
+
"type": "boolean"
|
|
251
276
|
},
|
|
252
277
|
"itemUsages": {
|
|
253
|
-
"
|
|
254
|
-
"
|
|
278
|
+
"default": true,
|
|
279
|
+
"title": "Item usages",
|
|
280
|
+
"description": "When shared vault items are viewed, copied, edited, or otherwise accessed.",
|
|
281
|
+
"type": "boolean"
|
|
255
282
|
},
|
|
256
283
|
"auditEvents": {
|
|
257
|
-
"
|
|
258
|
-
"
|
|
284
|
+
"default": true,
|
|
285
|
+
"title": "Audit events",
|
|
286
|
+
"description": "Account activity such as vault, group, user, and integration changes.",
|
|
287
|
+
"type": "boolean"
|
|
259
288
|
}
|
|
260
289
|
},
|
|
261
290
|
"required": [
|
|
262
|
-
"region"
|
|
291
|
+
"region",
|
|
292
|
+
"signinAttempts",
|
|
293
|
+
"itemUsages",
|
|
294
|
+
"auditEvents"
|
|
263
295
|
],
|
|
264
|
-
"additionalProperties": false
|
|
265
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
296
|
+
"additionalProperties": false
|
|
266
297
|
},
|
|
267
298
|
"credentials": [
|
|
268
299
|
{
|
|
@@ -273,6 +304,7 @@
|
|
|
273
304
|
"Text"
|
|
274
305
|
],
|
|
275
306
|
"credentialSchema": {
|
|
307
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
276
308
|
"type": "object",
|
|
277
309
|
"properties": {
|
|
278
310
|
"type": {
|
|
@@ -288,11 +320,11 @@
|
|
|
288
320
|
"type",
|
|
289
321
|
"value"
|
|
290
322
|
],
|
|
291
|
-
"additionalProperties": false
|
|
292
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
323
|
+
"additionalProperties": false
|
|
293
324
|
}
|
|
294
325
|
}
|
|
295
326
|
],
|
|
327
|
+
"iconExt": "svg",
|
|
296
328
|
"description": "Polls 1Password Events API v2 for sign-in attempts, item usages, and audit events."
|
|
297
329
|
},
|
|
298
330
|
{
|
|
@@ -301,43 +333,69 @@
|
|
|
301
333
|
"ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/slack:0.0.1",
|
|
302
334
|
"connectorType": "polling",
|
|
303
335
|
"settingsSchema": {
|
|
336
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
304
337
|
"type": "object",
|
|
305
338
|
"properties": {
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"
|
|
339
|
+
"messages": {
|
|
340
|
+
"default": true,
|
|
341
|
+
"title": "Messages",
|
|
342
|
+
"description": "Channel message history and thread replies from public and private channels the token can access. Excludes DMs and archived channels.",
|
|
343
|
+
"type": "boolean"
|
|
309
344
|
},
|
|
310
345
|
"accessLogs": {
|
|
311
|
-
"
|
|
312
|
-
"
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
"type": "boolean",
|
|
316
|
-
"default": true
|
|
346
|
+
"default": true,
|
|
347
|
+
"title": "Access logs",
|
|
348
|
+
"description": "Team access logins.",
|
|
349
|
+
"type": "boolean"
|
|
317
350
|
},
|
|
318
351
|
"teamInfo": {
|
|
319
|
-
"
|
|
320
|
-
"
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
"type": "boolean",
|
|
324
|
-
"default": true
|
|
352
|
+
"default": true,
|
|
353
|
+
"title": "Team info",
|
|
354
|
+
"description": "Daily snapshot of workspace metadata from team.info (name, domain, enterprise ID, etc.).",
|
|
355
|
+
"type": "boolean"
|
|
325
356
|
},
|
|
326
357
|
"usersList": {
|
|
327
|
-
"
|
|
328
|
-
"
|
|
358
|
+
"default": true,
|
|
359
|
+
"title": "Users list",
|
|
360
|
+
"description": "Daily paginated roster of workspace members from users.list.",
|
|
361
|
+
"type": "boolean"
|
|
329
362
|
},
|
|
330
363
|
"conversationsList": {
|
|
331
|
-
"
|
|
332
|
-
"
|
|
364
|
+
"default": true,
|
|
365
|
+
"title": "Conversations list",
|
|
366
|
+
"description": "Daily paginated channel metadata from conversations.list (public and private channels; same scope as Messages).",
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
},
|
|
369
|
+
"billableInfo": {
|
|
370
|
+
"default": true,
|
|
371
|
+
"title": "Billable info",
|
|
372
|
+
"description": "Daily snapshot of active vs. billable seat counts from team.billableInfo.",
|
|
373
|
+
"type": "boolean"
|
|
374
|
+
},
|
|
375
|
+
"auditLogs": {
|
|
376
|
+
"default": false,
|
|
377
|
+
"title": "Audit logs",
|
|
378
|
+
"description": "Enterprise Grid audit log API (requires audit log scopes).",
|
|
379
|
+
"type": "boolean"
|
|
333
380
|
},
|
|
334
381
|
"adminTeamsList": {
|
|
335
|
-
"
|
|
336
|
-
"
|
|
382
|
+
"default": false,
|
|
383
|
+
"title": "Admin teams list",
|
|
384
|
+
"description": "Org-wide team list from the Admin API (Enterprise Grid).",
|
|
385
|
+
"type": "boolean"
|
|
337
386
|
}
|
|
338
387
|
},
|
|
339
|
-
"
|
|
340
|
-
|
|
388
|
+
"required": [
|
|
389
|
+
"messages",
|
|
390
|
+
"accessLogs",
|
|
391
|
+
"teamInfo",
|
|
392
|
+
"usersList",
|
|
393
|
+
"conversationsList",
|
|
394
|
+
"billableInfo",
|
|
395
|
+
"auditLogs",
|
|
396
|
+
"adminTeamsList"
|
|
397
|
+
],
|
|
398
|
+
"additionalProperties": false
|
|
341
399
|
},
|
|
342
400
|
"credentials": [
|
|
343
401
|
{
|
|
@@ -349,6 +407,7 @@
|
|
|
349
407
|
"OAuth2ClientCredentials"
|
|
350
408
|
],
|
|
351
409
|
"credentialSchema": {
|
|
410
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
352
411
|
"type": "object",
|
|
353
412
|
"properties": {
|
|
354
413
|
"type": {
|
|
@@ -364,11 +423,11 @@
|
|
|
364
423
|
"type",
|
|
365
424
|
"accessToken"
|
|
366
425
|
],
|
|
367
|
-
"additionalProperties": false
|
|
368
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
426
|
+
"additionalProperties": false
|
|
369
427
|
}
|
|
370
428
|
}
|
|
371
429
|
],
|
|
430
|
+
"iconExt": "svg",
|
|
372
431
|
"description": "Polls Slack Web API (messages, access logs, inventory) and optional Enterprise Grid Audit API."
|
|
373
432
|
}
|
|
374
433
|
]
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,203 +1,98 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const DRAFT_07_SCHEMA_URI = "http://json-schema.org/draft-07/schema#";
|
|
3
3
|
/** Must stay aligned with `@perpetualsystems/connector-sdk` `zPerpetualCredentialType`. */
|
|
4
|
-
export declare const zPerpetualCredentialType: z.ZodEnum<
|
|
4
|
+
export declare const zPerpetualCredentialType: z.ZodEnum<{
|
|
5
|
+
Text: "Text";
|
|
6
|
+
OAuth2ClientCredentials: "OAuth2ClientCredentials";
|
|
7
|
+
AwsRole: "AwsRole";
|
|
8
|
+
HmacSignature: "HmacSignature";
|
|
9
|
+
}>;
|
|
5
10
|
export type PerpetualCredentialType = z.infer<typeof zPerpetualCredentialType>;
|
|
6
11
|
export declare const CONNECTOR_REGISTRY_S3_PREFIX = "connectors";
|
|
12
|
+
export declare const zConnectorIconExtension: z.ZodEnum<{
|
|
13
|
+
svg: "svg";
|
|
14
|
+
png: "png";
|
|
15
|
+
}>;
|
|
16
|
+
export type ConnectorIconExtension = z.infer<typeof zConnectorIconExtension>;
|
|
7
17
|
export declare const connectorRegistryCredentialSlotSchema: z.ZodObject<{
|
|
8
18
|
id: z.ZodString;
|
|
9
19
|
label: z.ZodString;
|
|
10
20
|
description: z.ZodOptional<z.ZodString>;
|
|
11
21
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
-
acceptedCredentialTypes: z.ZodArray<z.ZodEnum<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
id: string;
|
|
23
|
-
label: string;
|
|
24
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
25
|
-
credentialSchema: Record<string, unknown>;
|
|
26
|
-
description?: string | undefined;
|
|
27
|
-
required?: boolean | undefined;
|
|
28
|
-
}>;
|
|
22
|
+
acceptedCredentialTypes: z.ZodArray<z.ZodEnum<{
|
|
23
|
+
Text: "Text";
|
|
24
|
+
OAuth2ClientCredentials: "OAuth2ClientCredentials";
|
|
25
|
+
AwsRole: "AwsRole";
|
|
26
|
+
HmacSignature: "HmacSignature";
|
|
27
|
+
}>>;
|
|
28
|
+
credentialSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
|
+
}, z.core.$strip>;
|
|
29
30
|
export declare const connectorRegistryEntrySchema: z.ZodObject<{
|
|
30
31
|
kind: z.ZodString;
|
|
31
32
|
displayName: z.ZodString;
|
|
32
33
|
ecrImageUrl: z.ZodString;
|
|
33
|
-
connectorType: z.ZodDefault<z.ZodEnum<
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
connectorType: z.ZodDefault<z.ZodEnum<{
|
|
35
|
+
polling: "polling";
|
|
36
|
+
streaming: "streaming";
|
|
37
|
+
}>>;
|
|
38
|
+
lagUnit: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
milliseconds: "milliseconds";
|
|
40
|
+
messages: "messages";
|
|
41
|
+
}>>;
|
|
42
|
+
settingsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
36
43
|
credentials: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
37
44
|
id: z.ZodString;
|
|
38
45
|
label: z.ZodString;
|
|
39
46
|
description: z.ZodOptional<z.ZodString>;
|
|
40
47
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
41
|
-
acceptedCredentialTypes: z.ZodArray<z.ZodEnum<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
54
|
-
credentialSchema: Record<string, unknown>;
|
|
55
|
-
description?: string | undefined;
|
|
56
|
-
required?: boolean | undefined;
|
|
57
|
-
}>, "many">>;
|
|
58
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
48
|
+
acceptedCredentialTypes: z.ZodArray<z.ZodEnum<{
|
|
49
|
+
Text: "Text";
|
|
50
|
+
OAuth2ClientCredentials: "OAuth2ClientCredentials";
|
|
51
|
+
AwsRole: "AwsRole";
|
|
52
|
+
HmacSignature: "HmacSignature";
|
|
53
|
+
}>>;
|
|
54
|
+
credentialSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
56
|
+
iconExt: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
svg: "svg";
|
|
58
|
+
png: "png";
|
|
59
|
+
}>>;
|
|
59
60
|
description: z.ZodOptional<z.ZodString>;
|
|
60
|
-
},
|
|
61
|
-
kind: string;
|
|
62
|
-
displayName: string;
|
|
63
|
-
ecrImageUrl: string;
|
|
64
|
-
connectorType: "polling" | "streaming";
|
|
65
|
-
settingsSchema: Record<string, unknown>;
|
|
66
|
-
credentials: {
|
|
67
|
-
id: string;
|
|
68
|
-
label: string;
|
|
69
|
-
required: boolean;
|
|
70
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
71
|
-
credentialSchema: Record<string, unknown>;
|
|
72
|
-
description?: string | undefined;
|
|
73
|
-
}[];
|
|
74
|
-
description?: string | undefined;
|
|
75
|
-
lagUnit?: "milliseconds" | "messages" | undefined;
|
|
76
|
-
iconUrl?: string | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
kind: string;
|
|
79
|
-
displayName: string;
|
|
80
|
-
ecrImageUrl: string;
|
|
81
|
-
settingsSchema: Record<string, unknown>;
|
|
82
|
-
description?: string | undefined;
|
|
83
|
-
connectorType?: "polling" | "streaming" | undefined;
|
|
84
|
-
lagUnit?: "milliseconds" | "messages" | undefined;
|
|
85
|
-
credentials?: {
|
|
86
|
-
id: string;
|
|
87
|
-
label: string;
|
|
88
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
89
|
-
credentialSchema: Record<string, unknown>;
|
|
90
|
-
description?: string | undefined;
|
|
91
|
-
required?: boolean | undefined;
|
|
92
|
-
}[] | undefined;
|
|
93
|
-
iconUrl?: string | undefined;
|
|
94
|
-
}>;
|
|
61
|
+
}, z.core.$strip>;
|
|
95
62
|
export declare const connectorRegistryManifestSchema: z.ZodObject<{
|
|
96
63
|
connectors: z.ZodArray<z.ZodObject<{
|
|
97
64
|
kind: z.ZodString;
|
|
98
65
|
displayName: z.ZodString;
|
|
99
66
|
ecrImageUrl: z.ZodString;
|
|
100
|
-
connectorType: z.ZodDefault<z.ZodEnum<
|
|
101
|
-
|
|
102
|
-
|
|
67
|
+
connectorType: z.ZodDefault<z.ZodEnum<{
|
|
68
|
+
polling: "polling";
|
|
69
|
+
streaming: "streaming";
|
|
70
|
+
}>>;
|
|
71
|
+
lagUnit: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
milliseconds: "milliseconds";
|
|
73
|
+
messages: "messages";
|
|
74
|
+
}>>;
|
|
75
|
+
settingsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
103
76
|
credentials: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
104
77
|
id: z.ZodString;
|
|
105
78
|
label: z.ZodString;
|
|
106
79
|
description: z.ZodOptional<z.ZodString>;
|
|
107
80
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
108
|
-
acceptedCredentialTypes: z.ZodArray<z.ZodEnum<
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
121
|
-
credentialSchema: Record<string, unknown>;
|
|
122
|
-
description?: string | undefined;
|
|
123
|
-
required?: boolean | undefined;
|
|
124
|
-
}>, "many">>;
|
|
125
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
81
|
+
acceptedCredentialTypes: z.ZodArray<z.ZodEnum<{
|
|
82
|
+
Text: "Text";
|
|
83
|
+
OAuth2ClientCredentials: "OAuth2ClientCredentials";
|
|
84
|
+
AwsRole: "AwsRole";
|
|
85
|
+
HmacSignature: "HmacSignature";
|
|
86
|
+
}>>;
|
|
87
|
+
credentialSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
88
|
+
}, z.core.$strip>>>;
|
|
89
|
+
iconExt: z.ZodOptional<z.ZodEnum<{
|
|
90
|
+
svg: "svg";
|
|
91
|
+
png: "png";
|
|
92
|
+
}>>;
|
|
126
93
|
description: z.ZodOptional<z.ZodString>;
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
displayName: string;
|
|
130
|
-
ecrImageUrl: string;
|
|
131
|
-
connectorType: "polling" | "streaming";
|
|
132
|
-
settingsSchema: Record<string, unknown>;
|
|
133
|
-
credentials: {
|
|
134
|
-
id: string;
|
|
135
|
-
label: string;
|
|
136
|
-
required: boolean;
|
|
137
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
138
|
-
credentialSchema: Record<string, unknown>;
|
|
139
|
-
description?: string | undefined;
|
|
140
|
-
}[];
|
|
141
|
-
description?: string | undefined;
|
|
142
|
-
lagUnit?: "milliseconds" | "messages" | undefined;
|
|
143
|
-
iconUrl?: string | undefined;
|
|
144
|
-
}, {
|
|
145
|
-
kind: string;
|
|
146
|
-
displayName: string;
|
|
147
|
-
ecrImageUrl: string;
|
|
148
|
-
settingsSchema: Record<string, unknown>;
|
|
149
|
-
description?: string | undefined;
|
|
150
|
-
connectorType?: "polling" | "streaming" | undefined;
|
|
151
|
-
lagUnit?: "milliseconds" | "messages" | undefined;
|
|
152
|
-
credentials?: {
|
|
153
|
-
id: string;
|
|
154
|
-
label: string;
|
|
155
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
156
|
-
credentialSchema: Record<string, unknown>;
|
|
157
|
-
description?: string | undefined;
|
|
158
|
-
required?: boolean | undefined;
|
|
159
|
-
}[] | undefined;
|
|
160
|
-
iconUrl?: string | undefined;
|
|
161
|
-
}>, "many">;
|
|
162
|
-
}, "strip", z.ZodTypeAny, {
|
|
163
|
-
connectors: {
|
|
164
|
-
kind: string;
|
|
165
|
-
displayName: string;
|
|
166
|
-
ecrImageUrl: string;
|
|
167
|
-
connectorType: "polling" | "streaming";
|
|
168
|
-
settingsSchema: Record<string, unknown>;
|
|
169
|
-
credentials: {
|
|
170
|
-
id: string;
|
|
171
|
-
label: string;
|
|
172
|
-
required: boolean;
|
|
173
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
174
|
-
credentialSchema: Record<string, unknown>;
|
|
175
|
-
description?: string | undefined;
|
|
176
|
-
}[];
|
|
177
|
-
description?: string | undefined;
|
|
178
|
-
lagUnit?: "milliseconds" | "messages" | undefined;
|
|
179
|
-
iconUrl?: string | undefined;
|
|
180
|
-
}[];
|
|
181
|
-
}, {
|
|
182
|
-
connectors: {
|
|
183
|
-
kind: string;
|
|
184
|
-
displayName: string;
|
|
185
|
-
ecrImageUrl: string;
|
|
186
|
-
settingsSchema: Record<string, unknown>;
|
|
187
|
-
description?: string | undefined;
|
|
188
|
-
connectorType?: "polling" | "streaming" | undefined;
|
|
189
|
-
lagUnit?: "milliseconds" | "messages" | undefined;
|
|
190
|
-
credentials?: {
|
|
191
|
-
id: string;
|
|
192
|
-
label: string;
|
|
193
|
-
acceptedCredentialTypes: ("Text" | "OAuth2ClientCredentials" | "AwsRole" | "HmacSignature")[];
|
|
194
|
-
credentialSchema: Record<string, unknown>;
|
|
195
|
-
description?: string | undefined;
|
|
196
|
-
required?: boolean | undefined;
|
|
197
|
-
}[] | undefined;
|
|
198
|
-
iconUrl?: string | undefined;
|
|
199
|
-
}[];
|
|
200
|
-
}>;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
}, z.core.$strip>;
|
|
201
96
|
export type ConnectorRegistryCredentialSlot = z.infer<typeof connectorRegistryCredentialSlotSchema>;
|
|
202
97
|
export type ConnectorRegistryEntry = z.infer<typeof connectorRegistryEntrySchema>;
|
|
203
98
|
export type ConnectorRegistryManifest = z.infer<typeof connectorRegistryManifestSchema>;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,mBAAmB,4CAA4C,CAAA;AAE5E,2FAA2F;AAC3F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CAG3B;AAED,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,yBAAyB,GAClC,iBAAiB,CASnB"}
|
package/dist/schemas.js
CHANGED
|
@@ -11,6 +11,7 @@ export const CONNECTOR_REGISTRY_S3_PREFIX = "connectors";
|
|
|
11
11
|
const jsonSchemaObjectSchema = z
|
|
12
12
|
.record(z.string(), z.unknown())
|
|
13
13
|
.refine((value) => typeof value === "object" && value !== null && !Array.isArray(value), { message: "settingsSchema must be a JSON object" });
|
|
14
|
+
export const zConnectorIconExtension = z.enum(["svg", "png"]);
|
|
14
15
|
export const connectorRegistryCredentialSlotSchema = z.object({
|
|
15
16
|
id: z.string().min(1),
|
|
16
17
|
label: z.string().min(1),
|
|
@@ -27,7 +28,7 @@ export const connectorRegistryEntrySchema = z.object({
|
|
|
27
28
|
lagUnit: z.enum(["milliseconds", "messages"]).optional(),
|
|
28
29
|
settingsSchema: jsonSchemaObjectSchema,
|
|
29
30
|
credentials: z.array(connectorRegistryCredentialSlotSchema).default([]),
|
|
30
|
-
|
|
31
|
+
iconExt: zConnectorIconExtension.optional(),
|
|
31
32
|
description: z.string().optional(),
|
|
32
33
|
});
|
|
33
34
|
export const connectorRegistryManifestSchema = z.object({
|
package/dist/schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,yCAAyC,CAAA;AAE5E,2FAA2F;AAC3F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,MAAM;IACN,yBAAyB;IACzB,SAAS;IACT,eAAe;CAChB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,4BAA4B,GAAG,YAAY,CAAA;AAExD,MAAM,sBAAsB,GAAG,CAAC;KAC7B,MAAM,CAAC,CAAC,CAAC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BAAuB,CACrC,QAAmC;IAEnC,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CACxD,CAAA;IACD,OAAO;QACL,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;QAC/B,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;QAChC,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;KAChC,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perpetualsystems/connector-registry",
|
|
3
|
-
"version": "202606.2.
|
|
3
|
+
"version": "202606.2.3",
|
|
4
4
|
"description": "Built-in connector catalog manifest for Perpetual management plane",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -30,13 +30,12 @@
|
|
|
30
30
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"zod": "^
|
|
33
|
+
"zod": "^4.4.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@perpetualsystems/connector-sdk": "workspace:*",
|
|
37
37
|
"@types/node": "^22.15.21",
|
|
38
38
|
"tsx": "^4.19.4",
|
|
39
|
-
"typescript": "^5.8.3"
|
|
40
|
-
"zod-to-json-schema": "^3.24.5"
|
|
39
|
+
"typescript": "^5.8.3"
|
|
41
40
|
}
|
|
42
41
|
}
|