diff --git a/src/params/types.ts b/src/params/types.ts index 5aafb2e27..bc35c85f5 100644 --- a/src/params/types.ts +++ b/src/params/types.ts @@ -426,17 +426,3 @@ export class BooleanParam extends Param { return new TernaryExpression(this, ifTrue, ifFalse); } } - -/** @hidden */ -export class ListParam extends Param { - static type: ParamValueType = "list"; - - /** @internal */ - runtimeValue(): string[] { - throw new Error("Not implemented"); - } - - toSpec(): WireParamSpec { - throw new Error("Not implemented"); - } -} diff --git a/src/runtime/manifest.ts b/src/runtime/manifest.ts index 377e9f071..9d7ff1ff9 100644 --- a/src/runtime/manifest.ts +++ b/src/runtime/manifest.ts @@ -26,6 +26,8 @@ import { WireParamSpec } from "../params/types"; /** * An definition of a function as appears in the Manifest. + * + * @internal */ export interface ManifestEndpoint { entryPoint?: string; @@ -100,6 +102,7 @@ export interface ManifestEndpoint { }; } +/** @internal */ export interface ManifestRequiredAPI { api: string; reason: string; @@ -107,6 +110,7 @@ export interface ManifestRequiredAPI { /** * An definition of a function deployment as appears in the Manifest. + * @internal */ export interface ManifestStack { specVersion: "v1alpha1"; diff --git a/src/v1/providers/tasks.ts b/src/v1/providers/tasks.ts index 20a516e68..e29e64d34 100644 --- a/src/v1/providers/tasks.ts +++ b/src/v1/providers/tasks.ts @@ -65,10 +65,10 @@ export interface TaskQueueOptions { export interface TaskQueueFunction { (req: Request, res: express.Response): Promise; - /** @alpha */ + /** @internal */ __endpoint: ManifestEndpoint; - /** @alpha */ + /** @internal */ __requiredAPIs?: ManifestRequiredAPI[]; /** diff --git a/src/v2/core.ts b/src/v2/core.ts index 7b79654e1..3089a4fda 100644 --- a/src/v2/core.ts +++ b/src/v2/core.ts @@ -70,7 +70,7 @@ export interface CloudEvent { export interface CloudFunction> { (raw: CloudEvent): any | Promise; - /** @alpha */ + /** @internal */ __endpoint: ManifestEndpoint; /** diff --git a/src/v2/providers/https.ts b/src/v2/providers/https.ts index 0bbc43d18..2a3e600e4 100644 --- a/src/v2/providers/https.ts +++ b/src/v2/providers/https.ts @@ -173,7 +173,7 @@ export type HttpsFunction = (( /** An Express response object, for this function to respond to callers. */ res: express.Response ) => void | Promise) & { - /** @alpha */ + /** @internal */ __endpoint: ManifestEndpoint; };