|
577 | 577 | },
|
578 | 578 | "releaseTag": "Public",
|
579 | 579 | "name": "PubSub"
|
| 580 | + }, |
| 581 | + { |
| 582 | + "kind": "EnumMember", |
| 583 | + "canonicalReference": "@openfunction/functions-framework!ComponentType.State:member", |
| 584 | + "docComment": "/**\n * The state type\n */\n", |
| 585 | + "excerptTokens": [ |
| 586 | + { |
| 587 | + "kind": "Content", |
| 588 | + "text": "State = " |
| 589 | + }, |
| 590 | + { |
| 591 | + "kind": "Content", |
| 592 | + "text": "\"state\"" |
| 593 | + } |
| 594 | + ], |
| 595 | + "initializerTokenRange": { |
| 596 | + "startIndex": 1, |
| 597 | + "endIndex": 2 |
| 598 | + }, |
| 599 | + "releaseTag": "Public", |
| 600 | + "name": "State" |
580 | 601 | }
|
581 | 602 | ]
|
582 | 603 | },
|
|
826 | 847 | ],
|
827 | 848 | "isOptional": false,
|
828 | 849 | "name": "IsPubSubComponent"
|
| 850 | + }, |
| 851 | + { |
| 852 | + "kind": "Method", |
| 853 | + "canonicalReference": "@openfunction/functions-framework!ContextUtils.IsStateComponent:member(1)", |
| 854 | + "docComment": "/**\n * Checks if the component is a state component.\n *\n * @param component - The component to check.\n *\n * @returns A boolean value.\n */\n", |
| 855 | + "excerptTokens": [ |
| 856 | + { |
| 857 | + "kind": "Content", |
| 858 | + "text": "static IsStateComponent(component: " |
| 859 | + }, |
| 860 | + { |
| 861 | + "kind": "Reference", |
| 862 | + "text": "OpenFunctionComponent", |
| 863 | + "canonicalReference": "@openfunction/functions-framework!OpenFunctionComponent:interface" |
| 864 | + }, |
| 865 | + { |
| 866 | + "kind": "Content", |
| 867 | + "text": "): " |
| 868 | + }, |
| 869 | + { |
| 870 | + "kind": "Content", |
| 871 | + "text": "boolean" |
| 872 | + }, |
| 873 | + { |
| 874 | + "kind": "Content", |
| 875 | + "text": ";" |
| 876 | + } |
| 877 | + ], |
| 878 | + "isStatic": true, |
| 879 | + "returnTypeTokenRange": { |
| 880 | + "startIndex": 3, |
| 881 | + "endIndex": 4 |
| 882 | + }, |
| 883 | + "releaseTag": "Public", |
| 884 | + "isProtected": false, |
| 885 | + "overloadIndex": 1, |
| 886 | + "parameters": [ |
| 887 | + { |
| 888 | + "parameterName": "component", |
| 889 | + "parameterTypeTokenRange": { |
| 890 | + "startIndex": 1, |
| 891 | + "endIndex": 2 |
| 892 | + }, |
| 893 | + "isOptional": false |
| 894 | + } |
| 895 | + ], |
| 896 | + "isOptional": false, |
| 897 | + "name": "IsStateComponent" |
829 | 898 | }
|
830 | 899 | ],
|
831 | 900 | "implementsTokenRanges": []
|
|
2051 | 2120 | "endIndex": 12
|
2052 | 2121 | }
|
2053 | 2122 | },
|
| 2123 | + { |
| 2124 | + "kind": "PropertySignature", |
| 2125 | + "canonicalReference": "@openfunction/functions-framework!OpenFunctionContext#states:member", |
| 2126 | + "docComment": "/**\n * Optional state store config;\n */\n", |
| 2127 | + "excerptTokens": [ |
| 2128 | + { |
| 2129 | + "kind": "Content", |
| 2130 | + "text": "states?: " |
| 2131 | + }, |
| 2132 | + { |
| 2133 | + "kind": "Reference", |
| 2134 | + "text": "Record", |
| 2135 | + "canonicalReference": "!Record:type" |
| 2136 | + }, |
| 2137 | + { |
| 2138 | + "kind": "Content", |
| 2139 | + "text": "<string, " |
| 2140 | + }, |
| 2141 | + { |
| 2142 | + "kind": "Reference", |
| 2143 | + "text": "OpenFunctionComponent", |
| 2144 | + "canonicalReference": "@openfunction/functions-framework!OpenFunctionComponent:interface" |
| 2145 | + }, |
| 2146 | + { |
| 2147 | + "kind": "Content", |
| 2148 | + "text": ">" |
| 2149 | + }, |
| 2150 | + { |
| 2151 | + "kind": "Content", |
| 2152 | + "text": ";" |
| 2153 | + } |
| 2154 | + ], |
| 2155 | + "isReadonly": false, |
| 2156 | + "isOptional": true, |
| 2157 | + "releaseTag": "Public", |
| 2158 | + "name": "states", |
| 2159 | + "propertyTypeTokenRange": { |
| 2160 | + "startIndex": 1, |
| 2161 | + "endIndex": 5 |
| 2162 | + } |
| 2163 | + }, |
2054 | 2164 | {
|
2055 | 2165 | "kind": "PropertySignature",
|
2056 | 2166 | "canonicalReference": "@openfunction/functions-framework!OpenFunctionContext#version:member",
|
|
2635 | 2745 | "isStatic": false,
|
2636 | 2746 | "isProtected": false
|
2637 | 2747 | },
|
| 2748 | + { |
| 2749 | + "kind": "Property", |
| 2750 | + "canonicalReference": "@openfunction/functions-framework!OpenFunctionRuntime#state:member", |
| 2751 | + "docComment": "/**\n * The promise that handle data by state store.\n */\n", |
| 2752 | + "excerptTokens": [ |
| 2753 | + { |
| 2754 | + "kind": "Content", |
| 2755 | + "text": "abstract get state(): " |
| 2756 | + }, |
| 2757 | + { |
| 2758 | + "kind": "Reference", |
| 2759 | + "text": "StateOperations", |
| 2760 | + "canonicalReference": "@openfunction/functions-framework!~StateOperations:interface" |
| 2761 | + }, |
| 2762 | + { |
| 2763 | + "kind": "Content", |
| 2764 | + "text": ";" |
| 2765 | + } |
| 2766 | + ], |
| 2767 | + "isReadonly": true, |
| 2768 | + "isOptional": false, |
| 2769 | + "releaseTag": "Public", |
| 2770 | + "name": "state", |
| 2771 | + "propertyTypeTokenRange": { |
| 2772 | + "startIndex": 1, |
| 2773 | + "endIndex": 2 |
| 2774 | + }, |
| 2775 | + "isStatic": false, |
| 2776 | + "isProtected": false |
| 2777 | + }, |
2638 | 2778 | {
|
2639 | 2779 | "kind": "Property",
|
2640 | 2780 | "canonicalReference": "@openfunction/functions-framework!OpenFunctionRuntime#trigger:member",
|
|
0 commit comments