History

[codex] Fix paid organization creation limit (#829)

* Fix paid organization creation limit * Clarify stack PR URL reporting * Clarify clickable stack PR links

Rhys Sullivan committed 6 months ago

Commit 766c7901 parent 62b8b7d14 files · +385 −14Browse files

Showing the changes to packages/plugins/openapi/src (1 of 14 files). Show all

Unified · Split

packages/plugins/openapi/src/sdk/preview.ts+2−2
@@ -1,4 +1,4 @@
1−import { Effect, Option } from "effect";
1+import { Effect, Option, Predicate } from "effect";
22 import { Schema } from "effect";
33
44 import { parse, resolveSpecText, type ParsedDocument } from "./parse";
@@ -255,7 +255,7 @@ const buildHeaderPresets = ( · 250 unmodified lines
255255 return strategies.flatMap((strategy) => {
256256 const resolved = strategy.schemes
257257 .map((name) => schemeMap.get(name))
258− .filter((s): s is SecurityScheme => s !== undefined);
258+ .filter(Predicate.isNotUndefined);
259259
260260 if (resolved.length === 0) return [];
261261