Skip to content

Commit 03532a5

Browse files
fix(functions): export or function (#2812)
1 parent 3260b10 commit 03532a5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/functions/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
Options as UnreferencedReusableObjectOptions,
1414
} from './unreferencedReusableObject';
1515
import { default as xor, Options as XorOptions } from './xor';
16+
import { default as or, Options as OrOptions } from './or';
1617

1718
export {
1819
alphabetical,
@@ -27,6 +28,7 @@ export {
2728
undefined,
2829
unreferencedReusableObject,
2930
xor,
31+
or,
3032
};
3133

3234
export type {
@@ -38,4 +40,5 @@ export type {
3840
SchemaOptions,
3941
UnreferencedReusableObjectOptions,
4042
XorOptions,
43+
OrOptions,
4144
};

packages/ruleset-bundler/src/plugins/__tests__/builtins.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const truthy = globalThis[Symbol.for('@stoplight-spectral/builtins')]['822928'][
7272
const undefined$1 = globalThis[Symbol.for('@stoplight-spectral/builtins')]['822928']['@stoplight/spectral-functions']['undefined'];
7373
const unreferencedReusableObject = globalThis[Symbol.for('@stoplight-spectral/builtins')]['822928']['@stoplight/spectral-functions']['unreferencedReusableObject'];
7474
const xor = globalThis[Symbol.for('@stoplight-spectral/builtins')]['822928']['@stoplight/spectral-functions']['xor'];
75+
const or = globalThis[Symbol.for('@stoplight-spectral/builtins')]['822928']['@stoplight/spectral-functions']['or'];
7576
7677
const oas = globalThis[Symbol.for('@stoplight-spectral/builtins')]['822928']['@stoplight/spectral-rulesets']['oas'];
7778
const asyncapi = globalThis[Symbol.for('@stoplight-spectral/builtins')]['822928']['@stoplight/spectral-rulesets']['asyncapi'];

0 commit comments

Comments
 (0)