@becomposable/common
Advanced tools
Comparing version 0.33.0 to 0.34.0
@@ -24,2 +24,3 @@ "use strict"; | ||
__exportStar(require("./interaction.js"), exports); | ||
__exportStar(require("./payload.js"), exports); | ||
__exportStar(require("./project.js"), exports); | ||
@@ -26,0 +27,0 @@ __exportStar(require("./prompt.js"), exports); |
@@ -8,2 +8,3 @@ export * from './access-control.js'; | ||
export * from './interaction.js'; | ||
export * from './payload.js'; | ||
export * from './project.js'; | ||
@@ -10,0 +11,0 @@ export * from './prompt.js'; |
@@ -8,2 +8,3 @@ export * from './access-control.js'; | ||
export * from './interaction.js'; | ||
export * from './payload.js'; | ||
export * from './project.js'; | ||
@@ -10,0 +11,0 @@ export * from './prompt.js'; |
@@ -20,10 +20,19 @@ import { ExecutionRunStatus } from "./interaction.js"; | ||
export interface SimpleSearchQuery { | ||
name?: string; | ||
status?: string; | ||
} | ||
export interface ObjectSearchQuery extends SimpleSearchQuery { | ||
location?: string; | ||
status?: string; | ||
type?: string; | ||
parent?: string; | ||
similarTo?: string; | ||
name?: string; | ||
type?: string; | ||
} | ||
export interface PromptSearchQuery extends SimpleSearchQuery { | ||
role?: string; | ||
} | ||
export interface InteractionSearchQuery extends SimpleSearchQuery { | ||
prompt?: string; | ||
tags?: string[]; | ||
version?: number; | ||
} | ||
//# sourceMappingURL=query.d.ts.map |
@@ -1,5 +0,5 @@ | ||
import { FacetSpec } from "../facets.js"; | ||
import { BaseObject } from "./common.js"; | ||
import { RenditionProperties } from "./index.js"; | ||
import { SimpleSearchQuery } from "../query.js"; | ||
import { ObjectSearchQuery } from "../query.js"; | ||
import { SearchPayload } from "../payload.js"; | ||
export declare enum ContentObjectStatus { | ||
@@ -59,8 +59,3 @@ created = "created", | ||
} | ||
export interface SearchPayload { | ||
query?: SimpleSearchQuery; | ||
limit?: number; | ||
offset?: number; | ||
} | ||
export interface ComplexSearchQuery extends SimpleSearchQuery { | ||
export interface ComplexSearchQuery extends ObjectSearchQuery { | ||
vector?: VectorSearchQuery; | ||
@@ -77,6 +72,2 @@ } | ||
} | ||
export interface ComputeFacetPayload { | ||
facets: FacetSpec[]; | ||
query?: SimpleSearchQuery; | ||
} | ||
export interface ColumnLayout { | ||
@@ -83,0 +74,0 @@ /** |
{ | ||
"name": "@becomposable/common", | ||
"version": "0.33.0", | ||
"version": "0.34.0", | ||
"type": "module", | ||
@@ -30,3 +30,2 @@ "types": "./lib/types/index.d.ts", | ||
"scripts": { | ||
"preinstall": "pnpm exec only-allow pnpm", | ||
"test": "vitest run", | ||
@@ -33,0 +32,0 @@ "build": "pnpm exec tsmod build", |
@@ -8,2 +8,3 @@ export * from './access-control.js'; | ||
export * from './interaction.js'; | ||
export * from './payload.js'; | ||
export * from './project.js'; | ||
@@ -20,2 +21,1 @@ export * from './prompt.js'; | ||
export * from './utils/schemas.js'; | ||
@@ -23,9 +23,21 @@ import { ExecutionRunStatus } from "./interaction.js"; | ||
export interface SimpleSearchQuery { | ||
name?: string; | ||
status?: string; | ||
} | ||
export interface ObjectSearchQuery extends SimpleSearchQuery { | ||
location?: string; | ||
status?: string; | ||
type?: string; | ||
parent?: string; | ||
similarTo?: string; | ||
name?: string; | ||
type?: string; | ||
} | ||
export interface PromptSearchQuery extends SimpleSearchQuery { | ||
role?: string; | ||
} | ||
export interface InteractionSearchQuery extends SimpleSearchQuery { | ||
prompt?: string; | ||
tags?: string[]; | ||
version?: number; | ||
} |
@@ -1,5 +0,5 @@ | ||
import { FacetSpec } from "../facets.js"; | ||
import { BaseObject } from "./common.js"; | ||
import { RenditionProperties } from "./index.js"; | ||
import { SimpleSearchQuery } from "../query.js"; | ||
import { ObjectSearchQuery } from "../query.js"; | ||
import { SearchPayload } from "../payload.js"; | ||
@@ -74,9 +74,3 @@ export enum ContentObjectStatus { | ||
export interface SearchPayload { | ||
query?: SimpleSearchQuery; | ||
limit?: number; | ||
offset?: number; | ||
} | ||
export interface ComplexSearchQuery extends SimpleSearchQuery { | ||
export interface ComplexSearchQuery extends ObjectSearchQuery { | ||
vector?: VectorSearchQuery; | ||
@@ -96,7 +90,2 @@ } | ||
export interface ComputeFacetPayload { | ||
facets: FacetSpec[]; | ||
query?: SimpleSearchQuery; | ||
} | ||
export interface ColumnLayout { | ||
@@ -103,0 +92,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
229911
179
4214
0