@mathrunet/masamune 3.7.0 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -1
  3. package/dist/functions/test.d.ts +1 -1
  4. package/dist/functions/test.js +2 -3
  5. package/dist/functions/test.js.map +1 -1
  6. package/dist/functions.d.ts +2 -245
  7. package/dist/functions.js +2 -245
  8. package/dist/functions.js.map +1 -1
  9. package/dist/index.d.ts +4 -17
  10. package/dist/index.js +13 -15
  11. package/dist/index.js.map +1 -1
  12. package/package.json +10 -23
  13. package/.claude/settings.local.json +0 -12
  14. package/dist/functions/aggregate_model_firestore.d.ts +0 -1
  15. package/dist/functions/aggregate_model_firestore.js +0 -225
  16. package/dist/functions/aggregate_model_firestore.js.map +0 -1
  17. package/dist/functions/aggregation_model_firestore.d.ts +0 -1
  18. package/dist/functions/aggregation_model_firestore.js +0 -220
  19. package/dist/functions/aggregation_model_firestore.js.map +0 -1
  20. package/dist/functions/agora_cloud_recording.d.ts +0 -1
  21. package/dist/functions/agora_cloud_recording.js +0 -125
  22. package/dist/functions/agora_cloud_recording.js.map +0 -1
  23. package/dist/functions/agora_token.d.ts +0 -1
  24. package/dist/functions/agora_token.js +0 -144
  25. package/dist/functions/agora_token.js.map +0 -1
  26. package/dist/functions/algolia.d.ts +0 -1
  27. package/dist/functions/algolia.js +0 -145
  28. package/dist/functions/algolia.js.map +0 -1
  29. package/dist/functions/android_auth_code.d.ts +0 -1
  30. package/dist/functions/android_auth_code.js +0 -97
  31. package/dist/functions/android_auth_code.js.map +0 -1
  32. package/dist/functions/android_token.d.ts +0 -1
  33. package/dist/functions/android_token.js +0 -132
  34. package/dist/functions/android_token.js.map +0 -1
  35. package/dist/functions/collection_model_firestore.d.ts +0 -1
  36. package/dist/functions/collection_model_firestore.js +0 -222
  37. package/dist/functions/collection_model_firestore.js.map +0 -1
  38. package/dist/functions/conduct_broad_research.d.ts +0 -1
  39. package/dist/functions/conduct_broad_research.js +0 -162
  40. package/dist/functions/conduct_broad_research.js.map +0 -1
  41. package/dist/functions/conduct_detailed_research.d.ts +0 -1
  42. package/dist/functions/conduct_detailed_research.js +0 -162
  43. package/dist/functions/conduct_detailed_research.js.map +0 -1
  44. package/dist/functions/consumable_verify_android.d.ts +0 -1
  45. package/dist/functions/consumable_verify_android.js +0 -172
  46. package/dist/functions/consumable_verify_android.js.map +0 -1
  47. package/dist/functions/consumable_verify_ios.d.ts +0 -1
  48. package/dist/functions/consumable_verify_ios.js +0 -136
  49. package/dist/functions/consumable_verify_ios.js.map +0 -1
  50. package/dist/functions/delete_documents.d.ts +0 -1
  51. package/dist/functions/delete_documents.js +0 -91
  52. package/dist/functions/delete_documents.js.map +0 -1
  53. package/dist/functions/delete_user.d.ts +0 -1
  54. package/dist/functions/delete_user.js +0 -87
  55. package/dist/functions/delete_user.js.map +0 -1
  56. package/dist/functions/document_model_firestore.d.ts +0 -1
  57. package/dist/functions/document_model_firestore.js +0 -218
  58. package/dist/functions/document_model_firestore.js.map +0 -1
  59. package/dist/functions/geocoding.d.ts +0 -1
  60. package/dist/functions/geocoding.js +0 -93
  61. package/dist/functions/geocoding.js.map +0 -1
  62. package/dist/functions/gmail.d.ts +0 -1
  63. package/dist/functions/gmail.js +0 -117
  64. package/dist/functions/gmail.js.map +0 -1
  65. package/dist/functions/google_token.d.ts +0 -1
  66. package/dist/functions/google_token.js +0 -105
  67. package/dist/functions/google_token.js.map +0 -1
  68. package/dist/functions/hls.d.ts +0 -1
  69. package/dist/functions/hls.js +0 -169
  70. package/dist/functions/hls.js.map +0 -1
  71. package/dist/functions/nonconsumable_verify_android.d.ts +0 -1
  72. package/dist/functions/nonconsumable_verify_android.js +0 -166
  73. package/dist/functions/nonconsumable_verify_android.js.map +0 -1
  74. package/dist/functions/nonconsumable_verify_ios.d.ts +0 -1
  75. package/dist/functions/nonconsumable_verify_ios.js +0 -130
  76. package/dist/functions/nonconsumable_verify_ios.js.map +0 -1
  77. package/dist/functions/openai_chat_gpt.d.ts +0 -1
  78. package/dist/functions/openai_chat_gpt.js +0 -117
  79. package/dist/functions/openai_chat_gpt.js.map +0 -1
  80. package/dist/functions/purchase_webhook_android.d.ts +0 -1
  81. package/dist/functions/purchase_webhook_android.js +0 -306
  82. package/dist/functions/purchase_webhook_android.js.map +0 -1
  83. package/dist/functions/purchase_webhook_ios.d.ts +0 -1
  84. package/dist/functions/purchase_webhook_ios.js +0 -182
  85. package/dist/functions/purchase_webhook_ios.js.map +0 -1
  86. package/dist/functions/schedule_asset_creation.d.ts +0 -1
  87. package/dist/functions/schedule_asset_creation.js +0 -103
  88. package/dist/functions/schedule_asset_creation.js.map +0 -1
  89. package/dist/functions/scheduler.d.ts +0 -1
  90. package/dist/functions/scheduler.js +0 -144
  91. package/dist/functions/scheduler.js.map +0 -1
  92. package/dist/functions/send_grid.d.ts +0 -1
  93. package/dist/functions/send_grid.js +0 -111
  94. package/dist/functions/send_grid.js.map +0 -1
  95. package/dist/functions/send_notification.d.ts +0 -1
  96. package/dist/functions/send_notification.js +0 -207
  97. package/dist/functions/send_notification.js.map +0 -1
  98. package/dist/functions/start_asset_creation.d.ts +0 -1
  99. package/dist/functions/start_asset_creation.js +0 -106
  100. package/dist/functions/start_asset_creation.js.map +0 -1
  101. package/dist/functions/storage_firebase.d.ts +0 -1
  102. package/dist/functions/storage_firebase.js +0 -286
  103. package/dist/functions/storage_firebase.js.map +0 -1
  104. package/dist/functions/stripe.d.ts +0 -1
  105. package/dist/functions/stripe.js +0 -1243
  106. package/dist/functions/stripe.js.map +0 -1
  107. package/dist/functions/stripe_webhook.d.ts +0 -1
  108. package/dist/functions/stripe_webhook.js +0 -605
  109. package/dist/functions/stripe_webhook.js.map +0 -1
  110. package/dist/functions/stripe_webhook_connect.d.ts +0 -1
  111. package/dist/functions/stripe_webhook_connect.js +0 -173
  112. package/dist/functions/stripe_webhook_connect.js.map +0 -1
  113. package/dist/functions/stripe_webhook_secure.d.ts +0 -1
  114. package/dist/functions/stripe_webhook_secure.js +0 -182
  115. package/dist/functions/stripe_webhook_secure.js.map +0 -1
  116. package/dist/functions/subscription_verify_android.d.ts +0 -1
  117. package/dist/functions/subscription_verify_android.js +0 -195
  118. package/dist/functions/subscription_verify_android.js.map +0 -1
  119. package/dist/functions/subscription_verify_ios.d.ts +0 -1
  120. package/dist/functions/subscription_verify_ios.js +0 -170
  121. package/dist/functions/subscription_verify_ios.js.map +0 -1
  122. package/dist/lib/api.d.ts +0 -185
  123. package/dist/lib/api.js +0 -172
  124. package/dist/lib/api.js.map +0 -1
  125. package/dist/lib/exntensions/string.extension.d.ts +0 -214
  126. package/dist/lib/exntensions/string.extension.js +0 -226
  127. package/dist/lib/exntensions/string.extension.js.map +0 -1
  128. package/dist/lib/functions/delete_documents.d.ts +0 -32
  129. package/dist/lib/functions/delete_documents.js +0 -111
  130. package/dist/lib/functions/delete_documents.js.map +0 -1
  131. package/dist/lib/functions/firestore.d.ts +0 -114
  132. package/dist/lib/functions/firestore.js +0 -347
  133. package/dist/lib/functions/firestore.js.map +0 -1
  134. package/dist/lib/functions/gmail.d.ts +0 -39
  135. package/dist/lib/functions/gmail.js +0 -64
  136. package/dist/lib/functions/gmail.js.map +0 -1
  137. package/dist/lib/functions/send_grid.d.ts +0 -33
  138. package/dist/lib/functions/send_grid.js +0 -57
  139. package/dist/lib/functions/send_grid.js.map +0 -1
  140. package/dist/lib/functions/send_notification.d.ts +0 -109
  141. package/dist/lib/functions/send_notification.js +0 -386
  142. package/dist/lib/functions/send_notification.js.map +0 -1
  143. package/dist/lib/functions/update_subscription.d.ts +0 -84
  144. package/dist/lib/functions/update_subscription.js +0 -150
  145. package/dist/lib/functions/update_subscription.js.map +0 -1
  146. package/dist/lib/functions/update_unlock.d.ts +0 -28
  147. package/dist/lib/functions/update_unlock.js +0 -84
  148. package/dist/lib/functions/update_unlock.js.map +0 -1
  149. package/dist/lib/functions/update_wallet.d.ts +0 -34
  150. package/dist/lib/functions/update_wallet.js +0 -91
  151. package/dist/lib/functions/update_wallet.js.map +0 -1
  152. package/dist/lib/functions/verify_android.d.ts +0 -50
  153. package/dist/lib/functions/verify_android.js +0 -130
  154. package/dist/lib/functions/verify_android.js.map +0 -1
  155. package/dist/lib/functions/verify_ios.d.ts +0 -73
  156. package/dist/lib/functions/verify_ios.js +0 -227
  157. package/dist/lib/functions/verify_ios.js.map +0 -1
  158. package/dist/lib/model_field_value/converters/firestore_basic_converter.d.ts +0 -25
  159. package/dist/lib/model_field_value/converters/firestore_basic_converter.js +0 -28
  160. package/dist/lib/model_field_value/converters/firestore_basic_converter.js.map +0 -1
  161. package/dist/lib/model_field_value/converters/firestore_enum_converter.d.ts +0 -25
  162. package/dist/lib/model_field_value/converters/firestore_enum_converter.js +0 -28
  163. package/dist/lib/model_field_value/converters/firestore_enum_converter.js.map +0 -1
  164. package/dist/lib/model_field_value/converters/firestore_model_command_base_converter.d.ts +0 -25
  165. package/dist/lib/model_field_value/converters/firestore_model_command_base_converter.js +0 -58
  166. package/dist/lib/model_field_value/converters/firestore_model_command_base_converter.js.map +0 -1
  167. package/dist/lib/model_field_value/converters/firestore_model_counter_converter.d.ts +0 -25
  168. package/dist/lib/model_field_value/converters/firestore_model_counter_converter.js +0 -177
  169. package/dist/lib/model_field_value/converters/firestore_model_counter_converter.js.map +0 -1
  170. package/dist/lib/model_field_value/converters/firestore_model_date_converter.d.ts +0 -26
  171. package/dist/lib/model_field_value/converters/firestore_model_date_converter.js +0 -174
  172. package/dist/lib/model_field_value/converters/firestore_model_date_converter.js.map +0 -1
  173. package/dist/lib/model_field_value/converters/firestore_model_date_range_converter.d.ts +0 -25
  174. package/dist/lib/model_field_value/converters/firestore_model_date_range_converter.js +0 -183
  175. package/dist/lib/model_field_value/converters/firestore_model_date_range_converter.js.map +0 -1
  176. package/dist/lib/model_field_value/converters/firestore_model_geo_value_converter.d.ts +0 -25
  177. package/dist/lib/model_field_value/converters/firestore_model_geo_value_converter.js +0 -163
  178. package/dist/lib/model_field_value/converters/firestore_model_geo_value_converter.js.map +0 -1
  179. package/dist/lib/model_field_value/converters/firestore_model_image_uri_converter.d.ts +0 -25
  180. package/dist/lib/model_field_value/converters/firestore_model_image_uri_converter.js +0 -134
  181. package/dist/lib/model_field_value/converters/firestore_model_image_uri_converter.js.map +0 -1
  182. package/dist/lib/model_field_value/converters/firestore_model_locale_converter.d.ts +0 -25
  183. package/dist/lib/model_field_value/converters/firestore_model_locale_converter.js +0 -163
  184. package/dist/lib/model_field_value/converters/firestore_model_locale_converter.js.map +0 -1
  185. package/dist/lib/model_field_value/converters/firestore_model_localized_value_converter.d.ts +0 -25
  186. package/dist/lib/model_field_value/converters/firestore_model_localized_value_converter.js +0 -89
  187. package/dist/lib/model_field_value/converters/firestore_model_localized_value_converter.js.map +0 -1
  188. package/dist/lib/model_field_value/converters/firestore_model_ref_converter.d.ts +0 -25
  189. package/dist/lib/model_field_value/converters/firestore_model_ref_converter.js +0 -113
  190. package/dist/lib/model_field_value/converters/firestore_model_ref_converter.js.map +0 -1
  191. package/dist/lib/model_field_value/converters/firestore_model_search_converter.d.ts +0 -25
  192. package/dist/lib/model_field_value/converters/firestore_model_search_converter.js +0 -91
  193. package/dist/lib/model_field_value/converters/firestore_model_search_converter.js.map +0 -1
  194. package/dist/lib/model_field_value/converters/firestore_model_time_converter.d.ts +0 -26
  195. package/dist/lib/model_field_value/converters/firestore_model_time_converter.js +0 -191
  196. package/dist/lib/model_field_value/converters/firestore_model_time_converter.js.map +0 -1
  197. package/dist/lib/model_field_value/converters/firestore_model_time_range_converter.d.ts +0 -25
  198. package/dist/lib/model_field_value/converters/firestore_model_time_range_converter.js +0 -183
  199. package/dist/lib/model_field_value/converters/firestore_model_time_range_converter.js.map +0 -1
  200. package/dist/lib/model_field_value/converters/firestore_model_timestamp_converter.d.ts +0 -26
  201. package/dist/lib/model_field_value/converters/firestore_model_timestamp_converter.js +0 -246
  202. package/dist/lib/model_field_value/converters/firestore_model_timestamp_converter.js.map +0 -1
  203. package/dist/lib/model_field_value/converters/firestore_model_timestamp_range_converter.d.ts +0 -25
  204. package/dist/lib/model_field_value/converters/firestore_model_timestamp_range_converter.js +0 -183
  205. package/dist/lib/model_field_value/converters/firestore_model_timestamp_range_converter.js.map +0 -1
  206. package/dist/lib/model_field_value/converters/firestore_model_token_converter.d.ts +0 -25
  207. package/dist/lib/model_field_value/converters/firestore_model_token_converter.js +0 -91
  208. package/dist/lib/model_field_value/converters/firestore_model_token_converter.js.map +0 -1
  209. package/dist/lib/model_field_value/converters/firestore_model_uri_converter.d.ts +0 -25
  210. package/dist/lib/model_field_value/converters/firestore_model_uri_converter.js +0 -134
  211. package/dist/lib/model_field_value/converters/firestore_model_uri_converter.js.map +0 -1
  212. package/dist/lib/model_field_value/converters/firestore_model_vector_value_converter.d.ts +0 -25
  213. package/dist/lib/model_field_value/converters/firestore_model_vector_value_converter.js +0 -80
  214. package/dist/lib/model_field_value/converters/firestore_model_vector_value_converter.js.map +0 -1
  215. package/dist/lib/model_field_value/converters/firestore_model_video_uri_converter.d.ts +0 -25
  216. package/dist/lib/model_field_value/converters/firestore_model_video_uri_converter.js +0 -134
  217. package/dist/lib/model_field_value/converters/firestore_model_video_uri_converter.js.map +0 -1
  218. package/dist/lib/model_field_value/converters/firestore_null_converter.d.ts +0 -25
  219. package/dist/lib/model_field_value/converters/firestore_null_converter.js +0 -45
  220. package/dist/lib/model_field_value/converters/firestore_null_converter.js.map +0 -1
  221. package/dist/lib/model_field_value/default_firestore_model_field_value_converter.d.ts +0 -61
  222. package/dist/lib/model_field_value/default_firestore_model_field_value_converter.js +0 -140
  223. package/dist/lib/model_field_value/default_firestore_model_field_value_converter.js.map +0 -1
  224. package/dist/lib/model_field_value/firestore_model_field_value_converter.d.ts +0 -154
  225. package/dist/lib/model_field_value/firestore_model_field_value_converter.js +0 -127
  226. package/dist/lib/model_field_value/firestore_model_field_value_converter.js.map +0 -1
  227. package/dist/lib/model_field_value/model_field_value.d.ts +0 -264
  228. package/dist/lib/model_field_value/model_field_value.js +0 -314
  229. package/dist/lib/model_field_value/model_field_value.js.map +0 -1
  230. package/dist/lib/regions.d.ts +0 -6
  231. package/dist/lib/regions.js +0 -3
  232. package/dist/lib/regions.js.map +0 -1
  233. package/dist/lib/schedulers/copy_document.d.ts +0 -35
  234. package/dist/lib/schedulers/copy_document.js +0 -59
  235. package/dist/lib/schedulers/copy_document.js.map +0 -1
  236. package/dist/lib/schedulers/delete_documents.d.ts +0 -35
  237. package/dist/lib/schedulers/delete_documents.js +0 -86
  238. package/dist/lib/schedulers/delete_documents.js.map +0 -1
  239. package/dist/lib/schedulers/notification.d.ts +0 -35
  240. package/dist/lib/schedulers/notification.js +0 -78
  241. package/dist/lib/schedulers/notification.js.map +0 -1
  242. package/dist/lib/src/call_process_function_base.d.ts +0 -39
  243. package/dist/lib/src/call_process_function_base.js +0 -82
  244. package/dist/lib/src/call_process_function_base.js.map +0 -1
  245. package/dist/lib/src/firebase_loader.d.ts +0 -30
  246. package/dist/lib/src/firebase_loader.js +0 -77
  247. package/dist/lib/src/firebase_loader.js.map +0 -1
  248. package/dist/lib/src/firestore_triggered_process_function_base.d.ts +0 -40
  249. package/dist/lib/src/firestore_triggered_process_function_base.js +0 -82
  250. package/dist/lib/src/firestore_triggered_process_function_base.js.map +0 -1
  251. package/dist/lib/src/functions_base.d.ts +0 -327
  252. package/dist/lib/src/functions_base.js +0 -38
  253. package/dist/lib/src/functions_base.js.map +0 -1
  254. package/dist/lib/src/functions_data.d.ts +0 -10
  255. package/dist/lib/src/functions_data.js +0 -19
  256. package/dist/lib/src/functions_data.js.map +0 -1
  257. package/dist/lib/src/request_process_function_base.d.ts +0 -39
  258. package/dist/lib/src/request_process_function_base.js +0 -80
  259. package/dist/lib/src/request_process_function_base.js.map +0 -1
  260. package/dist/lib/src/schedule_process_function_base.d.ts +0 -33
  261. package/dist/lib/src/schedule_process_function_base.js +0 -81
  262. package/dist/lib/src/schedule_process_function_base.js.map +0 -1
  263. package/dist/lib/src/sql_api_base.d.ts +0 -185
  264. package/dist/lib/src/sql_api_base.js +0 -94
  265. package/dist/lib/src/sql_api_base.js.map +0 -1
  266. package/dist/lib/utils.d.ts +0 -82
  267. package/dist/lib/utils.js +0 -142
  268. package/dist/lib/utils.js.map +0 -1
@@ -1,327 +0,0 @@
1
- import { MemoryOption } from "firebase-functions/v2";
2
- /**
3
- * Define Function data for FirebaseFunctions.
4
- *
5
- * Write code to generate FirebaseFunctions at `build`.
6
- *
7
- * FirebaseFunctions用のFunctionのデータを定義を行うためのベースクラス。
8
- *
9
- * `build`にてFirebaseFunctionsを生成するためのコードを記述します。
10
- */
11
- export declare abstract class FunctionsBase {
12
- /**
13
- * Define Function data for FirebaseFunctions.
14
- *
15
- * Write code to generate FirebaseFunctions at `build`.
16
- *
17
- * FirebaseFunctions用のFunctionのデータを定義を行うためのベースクラス。
18
- *
19
- * `build`にてFirebaseFunctionsを生成するためのコードを記述します。
20
- */
21
- constructor({ id, func, data, options, }: {
22
- id?: string | undefined | null;
23
- func?: ((region: string[], options: FunctionsOptions, data: {
24
- [key: string]: any;
25
- }) => Function) | undefined | null;
26
- data?: {
27
- [key: string]: any;
28
- } | undefined | null;
29
- options?: FunctionsOptions | undefined | null;
30
- });
31
- /**
32
- * @param id
33
- * Describe the method names used in Functions.
34
- *
35
- * Functionsで利用されるメソッド名を記述します。
36
- */
37
- readonly id: string;
38
- /**
39
- * @param func
40
- * Specify the actual contents of the process.
41
- *
42
- * 実際の処理の中身を指定します。
43
- */
44
- readonly func: ((region: string[], options: FunctionsOptions, data: {
45
- [key: string]: any;
46
- }) => Function) | undefined | null;
47
- /**
48
- * Specify the data to be passed to the process.
49
- *
50
- * 処理に渡すデータを指定します。
51
- */
52
- readonly data: {
53
- [key: string]: any;
54
- };
55
- /**
56
- * Specify processing options.
57
- *
58
- * 処理のオプションを指定します。
59
- */
60
- readonly options: FunctionsOptions;
61
- /**
62
- * Write code to generate FirebaseFunctions.
63
- *
64
- * FirebaseFunctionsを生成するためのコードを記述します。
65
- */
66
- abstract build(region: string[]): Function;
67
- }
68
- /**
69
- * Specifies the options for the process.
70
- *
71
- * 処理のオプションを指定します。
72
- */
73
- export interface SchedulerFunctionsOptions extends FunctionsOptions {
74
- /**
75
- * Specifies the schedule.
76
- * * Cron format and AppEngine format are available.
77
- * * For Cron format, specify as `5 11 * * *`.
78
- * * For AppEngine format, specify as `every 1 minutes`.
79
- *
80
- * スケジュールを指定します。
81
- * * Cron形式とAppEngine形式で指定可能です。
82
- * * Cron形式の場合は、`5 11 * * *`のように指定します。
83
- * * AppEngine形式の場合は、`every 1 minutes`のように指定します。
84
- */
85
- schedule?: string | undefined | null;
86
- /**
87
- * Specifies an alternate region.
88
- *
89
- * 代替のリージョンを指定します。
90
- */
91
- region?: string | null;
92
- }
93
- /**
94
- * Specifies the options for the process.
95
- *
96
- * 処理のオプションを指定します。
97
- */
98
- export interface PathFunctionsOptions extends FunctionsOptions {
99
- /**
100
- * Specify the path to the target database.
101
- *
102
- * 対象のデータベースのパスを指定します。
103
- */
104
- path?: string | undefined | null;
105
- /**
106
- * Specifies an alternate region.
107
- *
108
- * 代替のリージョンを指定します。
109
- */
110
- region?: string | null;
111
- }
112
- /**
113
- * Specifies the options for the process.
114
- *
115
- * 処理のオプションを指定します。
116
- */
117
- export interface DatabasePathFunctionsOptions extends FunctionsOptions {
118
- /**
119
- * Specify the path to the target database.
120
- *
121
- * 対象のデータベースのパスを指定します。
122
- */
123
- path?: string | undefined | null;
124
- /**
125
- * Specifies the database.
126
- *
127
- * データベースを指定します。
128
- */
129
- database?: string | undefined | null;
130
- /**
131
- * Specifies an alternate region.
132
- *
133
- * 代替のリージョンを指定します。
134
- */
135
- region?: string | null;
136
- }
137
- /**
138
- * Specifies the options for the process.
139
- *
140
- * 処理のオプションを指定します。
141
- */
142
- export interface RelationPathFunctionsOptions extends FunctionsOptions {
143
- /**
144
- * Specify the path to the target database.
145
- *
146
- * 対象のデータベースのパスを指定します。
147
- */
148
- path?: string | undefined | null;
149
- /**
150
- *
151
- * @param path
152
- * @returns
153
- */
154
- relation?: (path: string) => string | undefined | null;
155
- /**
156
- * Specifies an alternate region.
157
- *
158
- * 代替のリージョンを指定します。
159
- */
160
- region?: string | null;
161
- }
162
- /**
163
- * Specifies the options for the process.
164
- *
165
- * 処理のオプションを指定します。
166
- */
167
- export interface PubsubFunctionsOptions extends FunctionsOptions {
168
- /**
169
- * Specifies the topic.
170
- * You can create a `purchasing` topic in GCP's pub/sub and set the principal to "google-play-developer-notifications@system.gserviceaccount.com" to receive notifications.
171
- *
172
- * トピックを指定します。
173
- * GCPのpub/subに`purchasing`のトピックを作成しプリンシパルに「google-play-developer-notifications@system.gserviceaccount.com」を設定することで通知を受け取ることができるようになります。
174
- */
175
- topic?: string | undefined | null;
176
- /**
177
- * Specifies an alternate region.
178
- *
179
- * 代替のリージョンを指定します。
180
- */
181
- region?: string | null;
182
- }
183
- /**
184
- * Specifies the options for the process.
185
- *
186
- * 処理のオプションを指定します。
187
- */
188
- export interface HttpFunctionsOptions extends FunctionsOptions {
189
- /**
190
- * Specifies an alternate region.
191
- *
192
- * 代替のリージョンを指定します。
193
- */
194
- region?: string | string[] | null;
195
- /**
196
- * Determines whether Firebase AppCheck is enforced.
197
- * When true, requests with invalid tokens autorespond with a 401
198
- * (Unauthorized) error.
199
- * When false, requests with invalid tokens set event.app to undefiend.
200
- *
201
- * Firebase AppCheckを強制するかどうかを指定します。
202
- *
203
- * trueの場合、無効なトークンを持つリクエストは401(Unauthorized)エラーで応答します。
204
- * falseの場合、無効なトークンを持つリクエストはevent.appをundefinedに設定します。
205
- */
206
- enforceAppCheck?: boolean | null;
207
- /**
208
- * Determines whether Firebase App Check token is consumed on request. Defaults to false.
209
- *
210
- * @remarks
211
- * Set this to true to enable the App Check replay protection feature by consuming the App Check token on callable
212
- * request. Tokens that are found to be already consumed will have request.app.alreadyConsumed property set true.
213
- *
214
- *
215
- * Tokens are only considered to be consumed if it is sent to the App Check service by setting this option to true.
216
- * Other uses of the token do not consume it.
217
- *
218
- * This replay protection feature requires an additional network call to the App Check backend and forces the clients
219
- * to obtain a fresh attestation from the chosen attestation providers. This can therefore negatively impact
220
- * performance and can potentially deplete your attestation providers' quotas faster. Use this feature only for
221
- * protecting low volume, security critical, or expensive operations.
222
- *
223
- * This option does not affect the enforceAppCheck option. Setting the latter to true will cause the callable function
224
- * to automatically respond with a 401 Unauthorized status code when request includes an invalid App Check token.
225
- * When request includes valid but consumed App Check tokens, requests will not be automatically rejected. Instead,
226
- * the request.app.alreadyConsumed property will be set to true and pass the execution to the handler code for making
227
- * further decisions, such as requiring additional security checks or rejecting the request.
228
- *
229
- * Firebase AppCheckトークンをリクエスト時に消費するかどうかを指定します。デフォルトはfalseです。
230
- *
231
- * @remarks
232
- * これをtrueに設定すると、Callable関数のリクエストでAppCheckトークンを消費することで、
233
- * AppCheckのリプレイ保護機能が有効になります。既に消費されたトークンが検出された場合、
234
- * request.app.alreadyConsumedプロパティがtrueに設定されます。
235
- *
236
- * トークンは、このオプションをtrueに設定してAppCheckサービスに送信された場合にのみ
237
- * 消費されたとみなされます。トークンの他の使用方法では消費されません。
238
- *
239
- * このリプレイ保護機能は、AppCheckバックエンドへの追加のネットワークコールを必要とし、
240
- * クライアントに選択された認証プロバイダーから新しい認証を取得することを強制します。
241
- * そのため、パフォーマンスに悪影響を与える可能性があり、認証プロバイダーのクォータを
242
- * より早く消費する可能性があります。この機能は、低ボリュームのセキュリティ重要な
243
- * 操作や高コストな操作の保護にのみ使用してください。
244
- *
245
- * このオプションは、enforceAppCheckオプションには影響しません。後者をtrueに設定すると、
246
- * リクエストに無効なAppCheckトークンが含まれている場合、Callable関数は自動的に
247
- * 401 Unauthorizedステータスコードで応答します。有効だが消費済みのAppCheckトークンが
248
- * 含まれているリクエストは自動的には拒否されません。代わりに、request.app.alreadyConsumed
249
- * プロパティがtrueに設定され、追加のセキュリティチェックやリクエストの拒否など、
250
- * さらなる判断を行うためにハンドラーコードに実行が渡されます。
251
- */
252
- consumeAppCheckToken?: boolean | null;
253
- }
254
- /**
255
- * Specifies the options for the process.
256
- *
257
- * 処理のオプションを指定します。
258
- */
259
- export interface StorageFunctionsOptions extends FunctionsOptions {
260
- /**
261
- * Specifies an alternate region.
262
- *
263
- * 代替のリージョンを指定します。
264
- */
265
- region?: string | null;
266
- }
267
- /**
268
- * Specifies the options for the process.
269
- *
270
- * 処理のオプションを指定します。
271
- */
272
- export interface FunctionsOptions {
273
- /**
274
- * Specifies the timeout period.
275
- *
276
- * タイムアウト時間を指定します。
277
- */
278
- timeoutSeconds?: number | undefined;
279
- /**
280
- * Specifies the memory.
281
- *
282
- * メモリを指定します。
283
- */
284
- memory?: MemoryOption | undefined;
285
- /**
286
- * Specifies the minInstances.
287
- *
288
- * minInstancesを指定します。
289
- */
290
- minInstances?: number | undefined;
291
- /**
292
- * Specifies the maxInstances.
293
- *
294
- * maxInstancesを指定します。
295
- */
296
- maxInstances?: number | undefined;
297
- /**
298
- * Specifies the concurrency.
299
- *
300
- * concurrencyを指定します。
301
- */
302
- concurrency?: number | undefined;
303
- /**
304
- * Change the method name to something you prefer.
305
- *
306
- * メソッド名をお好みのものに変更します。
307
- */
308
- name?: string | undefined;
309
- /**
310
- * Specifies the service account.
311
- *
312
- * サービスアカウントを指定します。
313
- */
314
- serviceAccount?: string | undefined;
315
- /**
316
- * Specifies the Firestore database IDs.
317
- *
318
- * FirestoreのデータベースIDを指定します。
319
- */
320
- firestoreDatabaseIds?: string[] | undefined;
321
- /**
322
- * Specifies the Storage bucket IDs.
323
- *
324
- * StorageのバケットIDを指定します。
325
- */
326
- storageBucketIds?: string[] | undefined;
327
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FunctionsBase = void 0;
4
- /**
5
- * Define Function data for FirebaseFunctions.
6
- *
7
- * Write code to generate FirebaseFunctions at `build`.
8
- *
9
- * FirebaseFunctions用のFunctionのデータを定義を行うためのベースクラス。
10
- *
11
- * `build`にてFirebaseFunctionsを生成するためのコードを記述します。
12
- */
13
- class FunctionsBase {
14
- /**
15
- * Define Function data for FirebaseFunctions.
16
- *
17
- * Write code to generate FirebaseFunctions at `build`.
18
- *
19
- * FirebaseFunctions用のFunctionのデータを定義を行うためのベースクラス。
20
- *
21
- * `build`にてFirebaseFunctionsを生成するためのコードを記述します。
22
- */
23
- constructor({ id, func, data = {}, options, }) {
24
- var _a, _b;
25
- this.id = (_b = (_a = options === null || options === void 0 ? void 0 : options.name) !== null && _a !== void 0 ? _a : id) !== null && _b !== void 0 ? _b : "";
26
- this.func = func;
27
- this.data = data !== null && data !== void 0 ? data : {};
28
- this.options = options !== null && options !== void 0 ? options : {
29
- timeoutSeconds: 60,
30
- memory: "256MiB",
31
- minInstances: 0,
32
- concurrency: 80,
33
- maxInstances: 100,
34
- };
35
- }
36
- }
37
- exports.FunctionsBase = FunctionsBase;
38
- //# sourceMappingURL=functions_base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"functions_base.js","sourceRoot":"","sources":["../../../src/lib/src/functions_base.ts"],"names":[],"mappings":";;;AAGA;;;;;;;;GAQG;AACH,MAAsB,aAAa;IAC/B;;;;;;;;OAQG;IACH,YAAY,EACR,EAAE,EACF,IAAI,EACJ,IAAI,GAAG,EAAE,EACT,OAAO,GAUV;;QACG,IAAI,CAAC,EAAE,GAAG,MAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,mCAAI,EAAE,mCAAI,EAAE,CAAC;QACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI;YACtB,cAAc,EAAE,EAAE;YAClB,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,CAAC;YACf,WAAW,EAAE,EAAE;YACf,YAAY,EAAE,GAAG;SACpB,CAAC;IACN,CAAC;CA0CJ;AA7ED,sCA6EC"}
@@ -1,10 +0,0 @@
1
- import { FunctionsBase } from "./functions_base";
2
- export { FunctionsOptions, SchedulerFunctionsOptions, PubsubFunctionsOptions, PathFunctionsOptions, RelationPathFunctionsOptions, HttpFunctionsOptions, StorageFunctionsOptions } from "./functions_base";
3
- /**
4
- * Define Function data for FirebaseFunctions.
5
- *
6
- * FirebaseFunctions用のFunctionのデータを定義します。
7
- */
8
- export declare class FunctionsData extends FunctionsBase {
9
- build(region: string[]): Function;
10
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FunctionsData = void 0;
4
- const functions_base_1 = require("./functions_base");
5
- /**
6
- * Define Function data for FirebaseFunctions.
7
- *
8
- * FirebaseFunctions用のFunctionのデータを定義します。
9
- */
10
- class FunctionsData extends functions_base_1.FunctionsBase {
11
- build(region) {
12
- if (!this.func) {
13
- return () => { };
14
- }
15
- return this.func(region, this.options, this.data);
16
- }
17
- }
18
- exports.FunctionsData = FunctionsData;
19
- //# sourceMappingURL=functions_data.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"functions_data.js","sourceRoot":"","sources":["../../../src/lib/src/functions_data.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAGjD;;;;GAIG;AACH,MAAa,aAAc,SAAQ,8BAAa;IAC9C,KAAK,CAAC,MAAgB;QACpB,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YACf,OAAO,GAAG,EAAE,GAAG,CAAC,CAAC;QACnB,CAAC;QACD,OAAO,IAAI,CAAC,IAAI,CACd,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,IAAI,CACV,CAAC;IACJ,CAAC;CACF;AAXD,sCAWC"}
@@ -1,39 +0,0 @@
1
- import * as functions from "firebase-functions/v2";
2
- import { FunctionsBase, HttpFunctionsOptions } from "./functions_base";
3
- import * as express from "express";
4
- export { Request } from "firebase-functions/v2/https";
5
- export { Response } from "express";
6
- /**
7
- * Base class for defining Function data for HTTP request execution.
8
- *
9
- * HTTPリクエスト実行用のFunctionのデータを定義するためのベースクラス。
10
- */
11
- export declare abstract class RequestProcessFunctionBase extends FunctionsBase {
12
- /**
13
- * Base class for defining Function data for HTTP request execution.
14
- *
15
- * HTTPリクエスト実行用のFunctionのデータを定義するためのベースクラス。
16
- */
17
- constructor(options?: HttpFunctionsOptions);
18
- /**
19
- * Specify the actual contents of the process.
20
- *
21
- * 実際の処理の中身を指定します。
22
- *
23
- * @param request
24
- * Request passed to Functions.
25
- *
26
- * Functionsに渡されたRequest。
27
- *
28
- * @param response
29
- * Response passed to Functions.
30
- *
31
- * Functionsに渡されたResponse。
32
- */
33
- abstract process(request: functions.https.Request, response: express.Response<any>): Promise<void>;
34
- abstract id: string;
35
- data: {
36
- [key: string]: any;
37
- };
38
- build(regions: string[]): Function;
39
- }
@@ -1,80 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
36
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
37
- return new (P || (P = Promise))(function (resolve, reject) {
38
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
39
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
40
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41
- step((generator = generator.apply(thisArg, _arguments || [])).next());
42
- });
43
- };
44
- Object.defineProperty(exports, "__esModule", { value: true });
45
- exports.RequestProcessFunctionBase = void 0;
46
- const functions = __importStar(require("firebase-functions/v2"));
47
- const functions_base_1 = require("./functions_base");
48
- /**
49
- * Base class for defining Function data for HTTP request execution.
50
- *
51
- * HTTPリクエスト実行用のFunctionのデータを定義するためのベースクラス。
52
- */
53
- class RequestProcessFunctionBase extends functions_base_1.FunctionsBase {
54
- /**
55
- * Base class for defining Function data for HTTP request execution.
56
- *
57
- * HTTPリクエスト実行用のFunctionのデータを定義するためのベースクラス。
58
- */
59
- constructor(options = {}) {
60
- super({ options: options });
61
- this.data = {};
62
- }
63
- build(regions) {
64
- var _a, _b;
65
- const options = this.options;
66
- return functions.https.onRequest({
67
- region: (_a = options === null || options === void 0 ? void 0 : options.region) !== null && _a !== void 0 ? _a : regions,
68
- timeoutSeconds: options === null || options === void 0 ? void 0 : options.timeoutSeconds,
69
- memory: options === null || options === void 0 ? void 0 : options.memory,
70
- minInstances: options === null || options === void 0 ? void 0 : options.minInstances,
71
- concurrency: options === null || options === void 0 ? void 0 : options.concurrency,
72
- maxInstances: options === null || options === void 0 ? void 0 : options.maxInstances,
73
- serviceAccount: (_b = options === null || options === void 0 ? void 0 : options.serviceAccount) !== null && _b !== void 0 ? _b : undefined,
74
- }, (req, res) => __awaiter(this, void 0, void 0, function* () {
75
- return this.process(req, res);
76
- }));
77
- }
78
- }
79
- exports.RequestProcessFunctionBase = RequestProcessFunctionBase;
80
- //# sourceMappingURL=request_process_function_base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request_process_function_base.js","sourceRoot":"","sources":["../../../src/lib/src/request_process_function_base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAmD;AACnD,qDAAuE;AAMvE;;;;GAIG;AACH,MAAsB,0BAA2B,SAAQ,8BAAa;IAClE;;;;OAIG;IACH,YAAY,UAAgC,EAAE;QAC1C,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;QAqBhC,SAAI,GAA2B,EAAE,CAAC;IApBlC,CAAC;IAqBD,KAAK,CAAC,OAAiB;;QACnB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAkD,CAAC;QACxE,OAAO,SAAS,CAAC,KAAK,CAAC,SAAS,CAC5B;YACI,MAAM,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,OAAO;YAClC,cAAc,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc;YACvC,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM;YACvB,YAAY,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY;YACnC,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW;YACjC,YAAY,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY;YACnC,cAAc,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,SAAS;SACvD,EACD,CAAO,GAAG,EAAE,GAAG,EAAE,EAAE;YACf,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QAClC,CAAC,CAAA,CACJ,CAAC;IACN,CAAC;CACJ;AA9CD,gEA8CC"}
@@ -1,33 +0,0 @@
1
- import { FunctionsBase, SchedulerFunctionsOptions } from "./functions_base";
2
- /**
3
- * Base class for defining the data of Functions for periodic scheduled execution.
4
- *
5
- * 定期スケジュール実行用のFunctionのデータを定義するためのベースクラス。
6
- */
7
- export declare abstract class ScheduleProcessFunctionBase extends FunctionsBase {
8
- /**
9
- * Base class for defining the data of Functions for periodic scheduled execution.
10
- *
11
- * 定期スケジュール実行用のFunctionのデータを定義するためのベースクラス。
12
- */
13
- constructor(options?: SchedulerFunctionsOptions);
14
- /**
15
- * Specify the schedule to execute the process in cron format.
16
- *
17
- * 処理を実行するスケジュールをcron形式で指定します。
18
- *
19
- * https://firebase.google.com/docs/functions/schedule-functions
20
- */
21
- abstract schedule: string;
22
- /**
23
- * Specify the actual contents of the process.
24
- *
25
- * 実際の処理の中身を指定します。
26
- */
27
- abstract process(): Promise<void>;
28
- abstract id: string;
29
- data: {
30
- [key: string]: any;
31
- };
32
- build(regions: string[]): Function;
33
- }
@@ -1,81 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
36
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
37
- return new (P || (P = Promise))(function (resolve, reject) {
38
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
39
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
40
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
41
- step((generator = generator.apply(thisArg, _arguments || [])).next());
42
- });
43
- };
44
- Object.defineProperty(exports, "__esModule", { value: true });
45
- exports.ScheduleProcessFunctionBase = void 0;
46
- const functions = __importStar(require("firebase-functions/v2"));
47
- const functions_base_1 = require("./functions_base");
48
- /**
49
- * Base class for defining the data of Functions for periodic scheduled execution.
50
- *
51
- * 定期スケジュール実行用のFunctionのデータを定義するためのベースクラス。
52
- */
53
- class ScheduleProcessFunctionBase extends functions_base_1.FunctionsBase {
54
- /**
55
- * Base class for defining the data of Functions for periodic scheduled execution.
56
- *
57
- * 定期スケジュール実行用のFunctionのデータを定義するためのベースクラス。
58
- */
59
- constructor(options = {}) {
60
- super({ options: options });
61
- this.data = {};
62
- }
63
- build(regions) {
64
- var _a, _b, _c;
65
- const options = this.options;
66
- return functions.scheduler.onSchedule({
67
- schedule: (_a = options === null || options === void 0 ? void 0 : options.schedule) !== null && _a !== void 0 ? _a : this.schedule,
68
- region: (_b = options === null || options === void 0 ? void 0 : options.region) !== null && _b !== void 0 ? _b : regions[0],
69
- timeoutSeconds: options === null || options === void 0 ? void 0 : options.timeoutSeconds,
70
- memory: options === null || options === void 0 ? void 0 : options.memory,
71
- minInstances: options === null || options === void 0 ? void 0 : options.minInstances,
72
- concurrency: options === null || options === void 0 ? void 0 : options.concurrency,
73
- maxInstances: options === null || options === void 0 ? void 0 : options.maxInstances,
74
- serviceAccount: (_c = options === null || options === void 0 ? void 0 : options.serviceAccount) !== null && _c !== void 0 ? _c : undefined,
75
- }, (event) => __awaiter(this, void 0, void 0, function* () {
76
- return this.process();
77
- }));
78
- }
79
- }
80
- exports.ScheduleProcessFunctionBase = ScheduleProcessFunctionBase;
81
- //# sourceMappingURL=schedule_process_function_base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schedule_process_function_base.js","sourceRoot":"","sources":["../../../src/lib/src/schedule_process_function_base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAmD;AACnD,qDAA4E;AAG5E;;;;GAIG;AACH,MAAsB,2BAA4B,SAAQ,8BAAa;IACnE;;;;OAIG;IACH,YAAY,UAAqC,EAAE;QAC/C,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;QAoBhC,SAAI,GAA2B,EAAE,CAAC;IAnBlC,CAAC;IAoBD,KAAK,CAAC,OAAiB;;QACnB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAuD,CAAC;QAC7E,OAAO,SAAS,CAAC,SAAS,CAAC,UAAU,CACjC;YACI,QAAQ,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC,QAAQ;YAC5C,MAAM,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,OAAO,CAAC,CAAC,CAAC;YACrC,cAAc,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc;YACvC,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM;YACvB,YAAY,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY;YACnC,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW;YACjC,YAAY,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY;YACnC,cAAc,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,SAAS;SACvD,EACD,CAAO,KAAK,EAAE,EAAE;YACZ,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;QAC1B,CAAC,CAAA,CACJ,CAAC;IACN,CAAC;CACJ;AA9CD,kEA8CC"}