File tree Expand file tree Collapse file tree 6 files changed +26
-16
lines changed Expand file tree Collapse file tree 6 files changed +26
-16
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,14 @@ export type ParamSpec<T extends string | number | boolean | string[]> = {
226
226
input ?: ParamInput < T > ;
227
227
} ;
228
228
229
- // N.B: a WireParamSpec is just a ParamSpec with default expressions converted into a CEL literal
230
- /** @internal */
229
+ /**
230
+ * Representation of parameters for the stack over the wire.
231
+ *
232
+ * @remarks
233
+ * N.B: a WireParamSpec is just a ParamSpec with default expressions converted into a CEL literal
234
+ *
235
+ * @alpha
236
+ */
231
237
export type WireParamSpec < T extends string | number | boolean | string [ ] > = {
232
238
name : string ;
233
239
default ?: T | string ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import { WireParamSpec } from "../params/types";
27
27
/**
28
28
* An definition of a function as appears in the Manifest.
29
29
*
30
- * @internal
30
+ * @alpha
31
31
*/
32
32
export interface ManifestEndpoint {
33
33
entryPoint ?: string ;
@@ -102,15 +102,18 @@ export interface ManifestEndpoint {
102
102
} ;
103
103
}
104
104
105
- /** @internal */
105
+ /**
106
+ * Description of API required for this stack.
107
+ * @alpha
108
+ */
106
109
export interface ManifestRequiredAPI {
107
110
api : string ;
108
111
reason : string ;
109
112
}
110
113
111
114
/**
112
115
* An definition of a function deployment as appears in the Manifest.
113
- * @internal
116
+ * @alpha
114
117
*/
115
118
export interface ManifestStack {
116
119
specVersion : "v1alpha1" ;
@@ -123,7 +126,8 @@ export interface ManifestStack {
123
126
* Returns the JSON representation of a ManifestStack, which has CEL
124
127
* expressions in its options as object types, with its expressions
125
128
* transformed into the actual CEL strings.
126
- * @internal
129
+ *
130
+ * @alpha
127
131
*/
128
132
export function stackToWire ( stack : ManifestStack ) : Record < string , unknown > {
129
133
const wireStack = stack as any ;
Original file line number Diff line number Diff line change @@ -239,10 +239,10 @@ export interface Runnable<T> {
239
239
export interface HttpsFunction {
240
240
( req : Request , resp : Response ) : void | Promise < void > ;
241
241
242
- /** @internal */
242
+ /** @alpha */
243
243
__endpoint : ManifestEndpoint ;
244
244
245
- /** @internal */
245
+ /** @alpha */
246
246
__requiredAPIs ?: ManifestRequiredAPI [ ] ;
247
247
}
248
248
@@ -259,10 +259,10 @@ export interface BlockingFunction {
259
259
/** @public */
260
260
( req : Request , resp : Response ) : void | Promise < void > ;
261
261
262
- /** @internal */
262
+ /** @alpha */
263
263
__endpoint : ManifestEndpoint ;
264
264
265
- /** @internal */
265
+ /** @alpha */
266
266
__requiredAPIs ?: ManifestRequiredAPI [ ] ;
267
267
}
268
268
@@ -276,10 +276,10 @@ export interface BlockingFunction {
276
276
export interface CloudFunction < T > extends Runnable < T > {
277
277
( input : any , context ?: any ) : PromiseLike < any > | any ;
278
278
279
- /** @internal */
279
+ /** @alpha */
280
280
__endpoint : ManifestEndpoint ;
281
281
282
- /** @internal */
282
+ /** @alpha */
283
283
__requiredAPIs ?: ManifestRequiredAPI [ ] ;
284
284
}
285
285
Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ export interface TaskQueueOptions {
65
65
export interface TaskQueueFunction {
66
66
( req : Request , res : express . Response ) : Promise < void > ;
67
67
68
- /** @internal */
68
+ /** @alpha */
69
69
__endpoint : ManifestEndpoint ;
70
70
71
- /** @internal */
71
+ /** @alpha */
72
72
__requiredAPIs ?: ManifestRequiredAPI [ ] ;
73
73
74
74
/**
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export interface CloudEvent<T> {
70
70
export interface CloudFunction < EventType extends CloudEvent < unknown > > {
71
71
( raw : CloudEvent < unknown > ) : any | Promise < any > ;
72
72
73
- /** @internal */
73
+ /** @alpha */
74
74
__endpoint : ManifestEndpoint ;
75
75
76
76
/**
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export type HttpsFunction = ((
173
173
/** An Express response object, for this function to respond to callers. */
174
174
res : express . Response
175
175
) => void | Promise < void > ) & {
176
- /** @internal */
176
+ /** @alpha */
177
177
__endpoint : ManifestEndpoint ;
178
178
} ;
179
179
You can’t perform that action at this time.
0 commit comments