Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@becomposable/common

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@becomposable/common - npm Package Compare versions

Comparing version 0.33.0 to 0.34.0

lib/cjs/payload.js

1

lib/cjs/index.js

@@ -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';

15

lib/types/query.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc