MCPcopy Index your code
hub / github.com/coder/coder / openPortSchema

Function openPortSchema

site/src/modules/resources/PortForwardButton.tsx:125–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123};
124
125const openPortSchema = (): Yup.AnyObjectSchema =>
126 Yup.object({
127 port: Yup.number().required().min(9).max(65535),
128 share_level: Yup.string().required().oneOf(WorkspaceAppSharingLevels),
129 });
130
131interface PortForwardPopoverViewProps {
132 host: string;

Callers 1

PortForwardPopoverViewFunction · 0.85

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected