|
851 | 851 | },
|
852 | 852 | {
|
853 | 853 | "kind": "Reference",
|
854 |
| - "text": "TypedHandlerFunction", |
855 |
| - "canonicalReference": "@google-cloud/functions-framework!TypedHandlerFunction:interface" |
| 854 | + "text": "TypedFunction", |
| 855 | + "canonicalReference": "@google-cloud/functions-framework!TypedFunction:interface" |
856 | 856 | },
|
857 | 857 | {
|
858 | 858 | "kind": "Content",
|
|
1009 | 1009 | {
|
1010 | 1010 | "kind": "Interface",
|
1011 | 1011 | "canonicalReference": "@google-cloud/functions-framework!InvocationFormat:interface",
|
1012 |
| - "docComment": "/**\n * The contract for a request deserializer and response serializer.\n */\n", |
| 1012 | + "docComment": "/**\n * The contract for a request deserializer and response serializer.\n *\n * @public\n */\n", |
1013 | 1013 | "excerptTokens": [
|
1014 | 1014 | {
|
1015 | 1015 | "kind": "Content",
|
|
1048 | 1048 | {
|
1049 | 1049 | "kind": "MethodSignature",
|
1050 | 1050 | "canonicalReference": "@google-cloud/functions-framework!InvocationFormat#deserializeRequest:member(1)",
|
1051 |
| - "docComment": "/**\n * @param request - the request body as raw bytes\n *\n * @param headers - the headers received on the HTTP request as a map\n */\n", |
| 1051 | + "docComment": "/**\n * Creates an instance of the request type from an invocation request.\n *\n * @param request - the request body as raw bytes\n */\n", |
1052 | 1052 | "excerptTokens": [
|
1053 | 1053 | {
|
1054 | 1054 | "kind": "Content",
|
|
1103 | 1103 | {
|
1104 | 1104 | "kind": "MethodSignature",
|
1105 | 1105 | "canonicalReference": "@google-cloud/functions-framework!InvocationFormat#serializeResponse:member(1)",
|
1106 |
| - "docComment": "/**\n * @param response - \n *\n * @param responseHeaders - mutable object providing headers that will be set on the response\n */\n", |
| 1106 | + "docComment": "/**\n * Writes the response type to the invocation result.\n *\n * @param responseWriter - interface for writing to the invocation result\n *\n * @param response - the response object\n */\n", |
1107 | 1107 | "excerptTokens": [
|
1108 | 1108 | {
|
1109 | 1109 | "kind": "Content",
|
|
1177 | 1177 | {
|
1178 | 1178 | "kind": "Interface",
|
1179 | 1179 | "canonicalReference": "@google-cloud/functions-framework!InvocationRequest:interface",
|
1180 |
| - "docComment": "/**\n * InvocationRequest represents the properties of an invocation over HTTP.\n */\n", |
| 1180 | + "docComment": "/**\n * InvocationRequest represents the properties of an invocation over HTTP.\n *\n * @public\n */\n", |
1181 | 1181 | "excerptTokens": [
|
1182 | 1182 | {
|
1183 | 1183 | "kind": "Content",
|
|
1273 | 1273 | {
|
1274 | 1274 | "kind": "Interface",
|
1275 | 1275 | "canonicalReference": "@google-cloud/functions-framework!InvocationResponse:interface",
|
1276 |
| - "docComment": "/**\n * InvocationResponse interface describes the properties that can be set on an invocation response.\n */\n", |
| 1276 | + "docComment": "/**\n * InvocationResponse interface describes the properties that can be set on an invocation response.\n *\n * @public\n */\n", |
1277 | 1277 | "excerptTokens": [
|
1278 | 1278 | {
|
1279 | 1279 | "kind": "Content",
|
|
1452 | 1452 | {
|
1453 | 1453 | "kind": "Class",
|
1454 | 1454 | "canonicalReference": "@google-cloud/functions-framework!JsonInvocationFormat:class",
|
1455 |
| - "docComment": "/**\n * Default invocation format for JSON requests.\n */\n", |
| 1455 | + "docComment": "/**\n * Default invocation format for JSON requests.\n *\n * @public\n */\n", |
1456 | 1456 | "excerptTokens": [
|
1457 | 1457 | {
|
1458 | 1458 | "kind": "Content",
|
|
1796 | 1796 | {
|
1797 | 1797 | "kind": "Variable",
|
1798 | 1798 | "canonicalReference": "@google-cloud/functions-framework!typed:var",
|
1799 |
| - "docComment": "/**\n * Register a function that handles strongly typed invocations.\n *\n * @param functionName - the name of the function\n *\n * @param handler - the function to trigger.\n */\n", |
| 1799 | + "docComment": "/**\n * Register a function that handles strongly typed invocations.\n *\n * @param functionName - the name of the function\n *\n * @param handler - the function to trigger.\n *\n * @public\n */\n", |
1800 | 1800 | "excerptTokens": [
|
1801 | 1801 | {
|
1802 | 1802 | "kind": "Content",
|
|
1808 | 1808 | },
|
1809 | 1809 | {
|
1810 | 1810 | "kind": "Reference",
|
1811 |
| - "text": "TypedHandlerFunction", |
1812 |
| - "canonicalReference": "@google-cloud/functions-framework!TypedHandlerFunction:interface" |
| 1811 | + "text": "TypedFunction", |
| 1812 | + "canonicalReference": "@google-cloud/functions-framework!TypedFunction:interface" |
1813 | 1813 | },
|
1814 | 1814 | {
|
1815 | 1815 | "kind": "Content",
|
|
1836 | 1836 | },
|
1837 | 1837 | {
|
1838 | 1838 | "kind": "Interface",
|
1839 |
| - "canonicalReference": "@google-cloud/functions-framework!TypedHandlerFunction:interface", |
1840 |
| - "docComment": "/**\n * A Typed function handler that may return a value or a promise.\n */\n", |
| 1839 | + "canonicalReference": "@google-cloud/functions-framework!TypedFunction:interface", |
| 1840 | + "docComment": "/**\n * A Typed function handler that may return a value or a promise.\n *\n * @public\n */\n", |
1841 | 1841 | "excerptTokens": [
|
1842 | 1842 | {
|
1843 | 1843 | "kind": "Content",
|
1844 |
| - "text": "export interface TypedHandlerFunction<T = " |
| 1844 | + "text": "export interface TypedFunction<T = " |
1845 | 1845 | },
|
1846 | 1846 | {
|
1847 | 1847 | "kind": "Content",
|
|
1886 | 1886 | }
|
1887 | 1887 | }
|
1888 | 1888 | ],
|
1889 |
| - "name": "TypedHandlerFunction", |
| 1889 | + "name": "TypedFunction", |
1890 | 1890 | "preserveMemberOrder": false,
|
1891 | 1891 | "members": [
|
1892 | 1892 | {
|
1893 | 1893 | "kind": "PropertySignature",
|
1894 |
| - "canonicalReference": "@google-cloud/functions-framework!TypedHandlerFunction#format:member", |
| 1894 | + "canonicalReference": "@google-cloud/functions-framework!TypedFunction#format:member", |
1895 | 1895 | "docComment": "",
|
1896 | 1896 | "excerptTokens": [
|
1897 | 1897 | {
|
|
1923 | 1923 | },
|
1924 | 1924 | {
|
1925 | 1925 | "kind": "PropertySignature",
|
1926 |
| - "canonicalReference": "@google-cloud/functions-framework!TypedHandlerFunction#handler:member", |
| 1926 | + "canonicalReference": "@google-cloud/functions-framework!TypedFunction#handler:member", |
1927 | 1927 | "docComment": "",
|
1928 | 1928 | "excerptTokens": [
|
1929 | 1929 | {
|
|
0 commit comments