@collective-intelligence/extensions-sdk 0.1.9 → 0.1.10
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/README.md +177 -27
- package/dist/components/authoring-core.d.ts +2 -2
- package/dist/components/connectors.d.ts +27 -1
- package/dist/components/knowledge.d.ts +30 -13
- package/dist/components/metadata-authoring.d.ts +3 -1
- package/dist/components/tools.d.ts +18 -1
- package/dist/components/workflow-code-runtimes.d.ts +11 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.js +2 -2
- package/dist/package/dependencies.d.ts +3 -3
- package/dist/package/knowledge-readers.d.ts +2 -0
- package/dist/package/manifest.d.ts +2 -4
- package/dist/package/primitive-readers.d.ts +2 -37
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PackageDefinition } from "./definition.js";
|
|
2
|
-
import type {
|
|
3
|
-
/** Validates
|
|
4
|
-
export declare const
|
|
2
|
+
import type { PackageDependency } from "./manifest.js";
|
|
3
|
+
/** Validates FQN requirements and orders them by package identity. */
|
|
4
|
+
export declare const parsePackageDependencies: (value: unknown) => readonly PackageDependency[];
|
|
5
5
|
/**
|
|
6
6
|
* Validates package-to-package references and returns a dependency-first
|
|
7
7
|
* order. Discovery uses this once, rather than repeatedly walking imports or
|
|
@@ -16,6 +16,7 @@ export declare const fieldSemantics: ReadValue<Readonly<{
|
|
|
16
16
|
managedProjectionSource?: "organization_group" | "organization_user";
|
|
17
17
|
mediaVisibility?: "private" | "protected" | "public";
|
|
18
18
|
queryGuidance?: string;
|
|
19
|
+
relation?: K.KnowledgeEntityRelationField;
|
|
19
20
|
unique?: boolean;
|
|
20
21
|
}> & import("../index.js").JsonObject>;
|
|
21
22
|
export declare const managedProjection: ReadValue<Readonly<{
|
|
@@ -133,6 +134,7 @@ export declare const knowledgeSchema: {
|
|
|
133
134
|
managedProjectionSource?: "organization_group" | "organization_user";
|
|
134
135
|
mediaVisibility?: "private" | "protected" | "public";
|
|
135
136
|
queryGuidance?: string;
|
|
137
|
+
relation?: K.KnowledgeEntityRelationField;
|
|
136
138
|
unique?: boolean;
|
|
137
139
|
}> & import("../index.js").JsonObject>> | undefined>;
|
|
138
140
|
localMutationPolicy: ReadValue<"always" | "connector_backed" | "never" | undefined>;
|
|
@@ -14,10 +14,8 @@ export type InstallationWizardStep = Readonly<{
|
|
|
14
14
|
ref: string;
|
|
15
15
|
title?: string;
|
|
16
16
|
}>;
|
|
17
|
-
export type
|
|
17
|
+
export type PackageDependency = Readonly<{
|
|
18
18
|
fqn: string;
|
|
19
|
-
releaseId: string;
|
|
20
|
-
releaseDigest: string;
|
|
21
19
|
}>;
|
|
22
20
|
export type PackageManifest = Readonly<{
|
|
23
21
|
apiVersion: typeof PackageManifestVersion;
|
|
@@ -25,7 +23,7 @@ export type PackageManifest = Readonly<{
|
|
|
25
23
|
autoInstallable?: boolean;
|
|
26
24
|
bindingScopes?: readonly ("organization" | "tenant")[];
|
|
27
25
|
category?: string;
|
|
28
|
-
dependencies?: readonly
|
|
26
|
+
dependencies?: readonly PackageDependency[];
|
|
29
27
|
description?: string;
|
|
30
28
|
documentation?: string;
|
|
31
29
|
fqn: string;
|
|
@@ -168,7 +168,7 @@ export declare const primitives: {
|
|
|
168
168
|
version: string;
|
|
169
169
|
}> & Readonly<{
|
|
170
170
|
connectionTemplateFqn: string;
|
|
171
|
-
deploymentIdentity?: "aws";
|
|
171
|
+
deploymentIdentity?: "aws" | "azure";
|
|
172
172
|
senderKind: "address" | "mailbox";
|
|
173
173
|
}> & import("../index.js").JsonObject>;
|
|
174
174
|
eventListener: ReadValue<Readonly<{
|
|
@@ -302,42 +302,7 @@ export declare const primitives: {
|
|
|
302
302
|
normalizesFieldMapValues?: boolean;
|
|
303
303
|
normalizesImportedData?: boolean;
|
|
304
304
|
}> & import("../index.js").JsonObject>;
|
|
305
|
-
knowledgeEntitySchema: ReadValue<
|
|
306
|
-
description?: string;
|
|
307
|
-
displayName: string;
|
|
308
|
-
fqn: string;
|
|
309
|
-
icon?: string;
|
|
310
|
-
kind: "knowledgeEntitySchema";
|
|
311
|
-
tags?: readonly string[];
|
|
312
|
-
version: string;
|
|
313
|
-
}> & Readonly<{
|
|
314
|
-
autocompleteConfiguration: K.KnowledgeAutocompleteConfiguration;
|
|
315
|
-
catalogTags?: Cat.CatalogTags;
|
|
316
|
-
defaultSyncDirection?: string;
|
|
317
|
-
deletionMode?: string;
|
|
318
|
-
displayDefaults?: K.KnowledgeDisplayDefaults;
|
|
319
|
-
displayNameExpression: string | null;
|
|
320
|
-
domainFqn: string;
|
|
321
|
-
embedEntities?: boolean;
|
|
322
|
-
overviewInputMaxChars?: number | null;
|
|
323
|
-
richEnrichment?: boolean | null;
|
|
324
|
-
embeddingConfig: import("../index.js").JsonObject | null;
|
|
325
|
-
extendsSchemaFqn?: string;
|
|
326
|
-
fieldLocalization?: Readonly<Record<string, K.KnowledgeFieldLocalization>>;
|
|
327
|
-
fieldPresentation?: Readonly<Record<string, K.KnowledgeFieldPresentation>>;
|
|
328
|
-
fieldSemantics?: Readonly<Record<string, K.KnowledgeFieldSemantics>>;
|
|
329
|
-
lifecycle: import("../index.js").LifecycleOptions;
|
|
330
|
-
localMutationPolicy?: "always" | "connector_backed" | "never";
|
|
331
|
-
managedProjection?: K.KnowledgeManagedProjection;
|
|
332
|
-
maxVersionsExpirationDays?: number | null;
|
|
333
|
-
persistFullFieldContributions: boolean;
|
|
334
|
-
relationFields?: readonly K.EntityRelationField[];
|
|
335
|
-
schema: import("../index.js").PackageSchemaProjection;
|
|
336
|
-
syncable?: boolean;
|
|
337
|
-
usableAsDocumentScope: boolean;
|
|
338
|
-
versioned?: boolean;
|
|
339
|
-
versioningEnabled: boolean | null;
|
|
340
|
-
}> & import("../index.js").JsonObject>;
|
|
305
|
+
knowledgeEntitySchema: ReadValue<K.KnowledgeEntitySchemaDeclaration>;
|
|
341
306
|
knowledgePolicy: ReadValue<Readonly<{
|
|
342
307
|
description?: string;
|
|
343
308
|
displayName: string;
|
package/package.json
CHANGED