@openctx/provider
Advanced tools
Comparing version 0.0.7 to 0.0.8
import matchGlob from 'picomatch/lib/picomatch.js'; | ||
export type * from '@openctx/protocol'; | ||
export type * from '@openctx/schema'; | ||
export type { Provider } from './provider'; | ||
export { createFilePositionCalculator, type PositionCalculator } from './helpers/position'; | ||
export type { Provider } from './provider.js'; | ||
export { createFilePositionCalculator, type PositionCalculator } from './helpers/position.js'; | ||
export { matchGlob }; | ||
//# sourceMappingURL=index.d.ts.map |
// Import from a subpackage because the main module calls `os.platform()`, which doesn't work on | ||
// non-Node engines. | ||
import matchGlob from 'picomatch/lib/picomatch.js'; | ||
export { createFilePositionCalculator } from './helpers/position'; | ||
export { createFilePositionCalculator } from './helpers/position.js'; | ||
// For convenience, since many providers need globs. | ||
export { matchGlob }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import type { AnnotationsParams, AnnotationsResult, CapabilitiesParams, CapabilitiesResult, ItemsParams, ItemsResult, ProviderSettings } from '@openctx/protocol'; | ||
import type { AnnotationsParams, AnnotationsResult, CapabilitiesParams, CapabilitiesResult, ItemsParams, ItemsResult, MentionsParams, MentionsResult, ProviderSettings } from '@openctx/protocol'; | ||
/** | ||
@@ -12,2 +12,3 @@ * An OpenCtx provider implemented in TypeScript/JavaScript. | ||
capabilities(params: CapabilitiesParams, settings: S): CapabilitiesResult | Promise<CapabilitiesResult>; | ||
mentions?(params: MentionsParams, settings: S): MentionsResult | Promise<MentionsResult>; | ||
/** | ||
@@ -14,0 +15,0 @@ * Returns OpenCtx items. |
{ | ||
"name": "@openctx/provider", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "OpenCtx provider library", | ||
@@ -22,4 +22,4 @@ "license": "Apache-2.0", | ||
"picomatch": "^3.0.1", | ||
"@openctx/protocol": "0.0.7", | ||
"@openctx/schema": "0.0.6" | ||
"@openctx/protocol": "0.0.8", | ||
"@openctx/schema": "0.0.7" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
@@ -7,7 +7,7 @@ // Import from a subpackage because the main module calls `os.platform()`, which doesn't work on | ||
export type * from '@openctx/schema' | ||
export type { Provider } from './provider' | ||
export type { Provider } from './provider.js' | ||
export { createFilePositionCalculator, type PositionCalculator } from './helpers/position' | ||
export { createFilePositionCalculator, type PositionCalculator } from './helpers/position.js' | ||
// For convenience, since many providers need globs. | ||
export { matchGlob } |
@@ -8,2 +8,4 @@ import type { | ||
ItemsResult, | ||
MentionsParams, | ||
MentionsResult, | ||
ProviderSettings, | ||
@@ -26,2 +28,4 @@ } from '@openctx/protocol' | ||
mentions?(params: MentionsParams, settings: S): MentionsResult | Promise<MentionsResult> | ||
/** | ||
@@ -28,0 +32,0 @@ * Returns OpenCtx items. |
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
20058
138
+ Added@openctx/protocol@0.0.8(transitive)
+ Added@openctx/schema@0.0.7(transitive)
- Removed@openctx/protocol@0.0.7(transitive)
- Removed@openctx/schema@0.0.6(transitive)
Updated@openctx/protocol@0.0.8
Updated@openctx/schema@0.0.7