@mathrunet/masamune 0.6.3 → 1.1.0

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 (66) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/functions/agora_cloud_recording.js +1 -1
  3. package/dist/functions/agora_cloud_recording.js.map +1 -1
  4. package/dist/functions/agora_token.js +1 -1
  5. package/dist/functions/agora_token.js.map +1 -1
  6. package/dist/functions/android_auth_code.js +1 -1
  7. package/dist/functions/android_auth_code.js.map +1 -1
  8. package/dist/functions/android_token.js +1 -1
  9. package/dist/functions/android_token.js.map +1 -1
  10. package/dist/functions/consumable_verify_android.js +1 -1
  11. package/dist/functions/consumable_verify_android.js.map +1 -1
  12. package/dist/functions/consumable_verify_ios.js +1 -1
  13. package/dist/functions/consumable_verify_ios.js.map +1 -1
  14. package/dist/functions/gmail.js +1 -1
  15. package/dist/functions/gmail.js.map +1 -1
  16. package/dist/functions/nonconsumable_verify_android.js +1 -1
  17. package/dist/functions/nonconsumable_verify_android.js.map +1 -1
  18. package/dist/functions/nonconsumable_verify_ios.js +1 -1
  19. package/dist/functions/nonconsumable_verify_ios.js.map +1 -1
  20. package/dist/functions/openai_chat_gpt.js +1 -1
  21. package/dist/functions/openai_chat_gpt.js.map +1 -1
  22. package/dist/functions/purchase_webhook_android.js +2 -2
  23. package/dist/functions/purchase_webhook_android.js.map +1 -1
  24. package/dist/functions/purchase_webhook_ios.js +1 -1
  25. package/dist/functions/purchase_webhook_ios.js.map +1 -1
  26. package/dist/functions/send_grid.js +1 -1
  27. package/dist/functions/send_grid.js.map +1 -1
  28. package/dist/functions/send_notification.js +10 -51
  29. package/dist/functions/send_notification.js.map +1 -1
  30. package/dist/functions/send_notification_schedule.d.ts +1 -0
  31. package/dist/functions/send_notification_schedule.js +86 -0
  32. package/dist/functions/send_notification_schedule.js.map +1 -0
  33. package/dist/functions/stripe.js +1 -1
  34. package/dist/functions/stripe.js.map +1 -1
  35. package/dist/functions/stripe_webhook.js +1 -1
  36. package/dist/functions/stripe_webhook.js.map +1 -1
  37. package/dist/functions/stripe_webhook_connect.js +1 -1
  38. package/dist/functions/stripe_webhook_connect.js.map +1 -1
  39. package/dist/functions/stripe_webhook_secure.js +1 -1
  40. package/dist/functions/stripe_webhook_secure.js.map +1 -1
  41. package/dist/functions/subscription_verify_android.js +1 -1
  42. package/dist/functions/subscription_verify_android.js.map +1 -1
  43. package/dist/functions/subscription_verify_ios.js +1 -1
  44. package/dist/functions/subscription_verify_ios.js.map +1 -1
  45. package/dist/functions.d.ts +26 -20
  46. package/dist/functions.js +26 -20
  47. package/dist/functions.js.map +1 -1
  48. package/dist/index.d.ts +8 -7
  49. package/dist/index.js +10 -7
  50. package/dist/index.js.map +1 -1
  51. package/dist/lib/functions_base.d.ts +44 -0
  52. package/dist/lib/functions_base.js +26 -0
  53. package/dist/lib/functions_base.js.map +1 -0
  54. package/dist/lib/functions_data.d.ts +18 -4
  55. package/dist/lib/functions_data.js +13 -2
  56. package/dist/lib/functions_data.js.map +1 -1
  57. package/dist/lib/request_process_function_base.d.ts +42 -0
  58. package/dist/lib/request_process_function_base.js +61 -0
  59. package/dist/lib/request_process_function_base.js.map +1 -0
  60. package/dist/lib/schedule_process_function_base.d.ts +39 -0
  61. package/dist/lib/schedule_process_function_base.js +61 -0
  62. package/dist/lib/schedule_process_function_base.js.map +1 -0
  63. package/dist/lib/send_notification.d.ts +47 -0
  64. package/dist/lib/send_notification.js +135 -0
  65. package/dist/lib/send_notification.js.map +1 -0
  66. package/package.json +1 -1
package/dist/functions.js CHANGED
@@ -36,19 +36,25 @@ exports.Functions = {
36
36
  *
37
37
  * PUSH通知を送信するためのFunction。
38
38
  */
39
- sendNotification: new data.FunctionsData("send_notification", require("./functions/send_notification")),
39
+ sendNotification: () => new data.FunctionsData("send_notification", require("./functions/send_notification")),
40
+ /**
41
+ * Function to send PUSH notifications periodically.
42
+ *
43
+ * 定期的にPUSH通知を送信するためのFunction。
44
+ */
45
+ sendNotificationSchedule: (schedule = "every 1 minutes") => new data.FunctionsData("send_notification_schedule", require("./functions/send_notification_schedule"), { "schedule": schedule }),
40
46
  /**
41
47
  * The text is generated using Open AI's GPT.
42
48
  *
43
49
  * Open AIのChat GPTを利用して文章を生成します。
44
50
  */
45
- openAIChatGPT: new data.FunctionsData("openai_chat_gpt", require("./functions/openai_chat_gpt")),
51
+ openAIChatGPT: () => new data.FunctionsData("openai_chat_gpt", require("./functions/openai_chat_gpt")),
46
52
  /**
47
53
  * Obtain an Agora.io security token.
48
54
  *
49
55
  * Agora.ioのセキュリティトークンを取得します。
50
56
  */
51
- agoraToken: new data.FunctionsData("agora_token", require("./functions/agora_token")),
57
+ agoraToken: () => new data.FunctionsData("agora_token", require("./functions/agora_token")),
52
58
  /**
53
59
  * Convert files generated by Agora.io's cloud recording into an easy-to-handle format from within the app.
54
60
  *
@@ -58,7 +64,7 @@ exports.Functions = {
58
64
  *
59
65
  * FirebaseStorageにファイルが保存されたタイミングで実行されます。
60
66
  */
61
- agoraCloudRecording: new data.FunctionsData("agora_cloud_recording", require("./functions/agora_cloud_recording")),
67
+ agoraCloudRecording: () => new data.FunctionsData("agora_cloud_recording", require("./functions/agora_cloud_recording")),
62
68
  /**
63
69
  * Performs various Stripe processes.
64
70
  *
@@ -68,7 +74,7 @@ exports.Functions = {
68
74
  *
69
75
  * Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
70
76
  */
71
- stripe: new data.FunctionsData("stripe", require("./functions/stripe")),
77
+ stripe: () => new data.FunctionsData("stripe", require("./functions/stripe")),
72
78
  /**
73
79
  * Receives and processes webhooks from Stripe.
74
80
  *
@@ -82,7 +88,7 @@ exports.Functions = {
82
88
  *
83
89
  * Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
84
90
  */
85
- stripeWebhook: new data.FunctionsData("stripe_webhook", require("./functions/stripe_webhook")),
91
+ stripeWebhook: () => new data.FunctionsData("stripe_webhook", require("./functions/stripe_webhook")),
86
92
  /**
87
93
  * Receive and process webhooks for Stripe Connect.
88
94
  *
@@ -100,7 +106,7 @@ exports.Functions = {
100
106
  *
101
107
  * Firestoreとの連携が必須です。Firestoreも利用可能にしてください。
102
108
  */
103
- stripeWebhookConnect: new data.FunctionsData("stripe_webhook_connect", require("./functions/stripe_webhook_connect")),
109
+ stripeWebhookConnect: () => new data.FunctionsData("stripe_webhook_connect", require("./functions/stripe_webhook_connect")),
104
110
  /**
105
111
  * Webhook for proper redirection when 3D Secure authentication is required.
106
112
  *
@@ -114,80 +120,80 @@ exports.Functions = {
114
120
  *
115
121
  * [returnUrl]にこちらを設定してください。
116
122
  */
117
- stripeWebhookSecure: new data.FunctionsData("stripe_webhook_secure", require("./functions/stripe_webhook_secure")),
123
+ stripeWebhookSecure: () => new data.FunctionsData("stripe_webhook_secure", require("./functions/stripe_webhook_secure")),
118
124
  /**
119
125
  * Send email via Gmail.
120
126
  *
121
127
  * Gmailでメールを送信します。
122
128
  */
123
- gmail: new data.FunctionsData("gmail", require("./functions/gmail")),
129
+ gmail: () => new data.FunctionsData("gmail", require("./functions/gmail")),
124
130
  /**
125
131
  * Send mail through SendGrid.
126
132
  *
127
133
  * SendGridでメールを送信します。
128
134
  */
129
- sendGrid: new data.FunctionsData("send_grid", require("./functions/send_grid")),
135
+ sendGrid: () => new data.FunctionsData("send_grid", require("./functions/send_grid")),
130
136
  /**
131
137
  * After being redirected from [android_auth_code], you will get a refresh token to connect to Google's API. Applications Library System Users Volumes bin cores dev etc home opt private sbin tmp usr var Execute [android_auth_code] after registering the required information.
132
138
  *
133
139
  * [android_auth_code]からリダイレクトされた後、GoogleのAPIに接続するためのリフレッシュトークンを取得します。
134
140
  * 必要情報を登録した後[android_auth_code]を実行してください。
135
141
  */
136
- androidAuthCode: new data.FunctionsData("android_auth_code", require("./functions/android_auth_code")),
142
+ androidAuthCode: () => new data.FunctionsData("android_auth_code", require("./functions/android_auth_code")),
137
143
  /**
138
144
  * After being redirected from [android_auth_code], you will get a refresh token to connect to Google's API. Applications Library System Users Volumes bin cores dev etc home opt private sbin tmp usr var Execute [android_auth_code] after registering the required information.
139
145
  *
140
146
  * [android_auth_code]からリダイレクトされた後、GoogleのAPIに接続するためのリフレッシュトークンを取得します。
141
147
  * 必要情報を登録した後[android_auth_code]を実行してください。
142
148
  */
143
- androidToken: new data.FunctionsData("android_token", require("./functions/android_token")),
149
+ androidToken: () => new data.FunctionsData("android_token", require("./functions/android_token")),
144
150
  /**
145
151
  * Performs a consumption-type in-app purchase. The value of the field in the document specified in [path] is added to [value].
146
152
  *
147
153
  * 消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を[value]に加算します。
148
154
  */
149
- consumableVerifyAndroid: new data.FunctionsData("consumable_verify_android", require("./functions/consumable_verify_android")),
155
+ consumableVerifyAndroid: () => new data.FunctionsData("consumable_verify_android", require("./functions/consumable_verify_android")),
150
156
  /**
151
157
  * Performs a consumption-type in-app purchase. The value of the field in the document specified in [path] is added to [value].
152
158
  *
153
159
  * 消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を[value]に加算します。
154
160
  */
155
- consumableVerifyIOS: new data.FunctionsData("consumable_verify_ios", require("./functions/consumable_verify_ios")),
161
+ consumableVerifyIOS: () => new data.FunctionsData("consumable_verify_ios", require("./functions/consumable_verify_ios")),
156
162
  /**
157
163
  * Performs non-consumable in-app purchases. Unlock by setting the value of the field in the document specified in [path] to `true`.
158
164
  *
159
165
  * 非消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を`true`にすることでアンロックを行います。
160
166
  */
161
- nonconsumableVerifyAndroid: new data.FunctionsData("nonconsumable_verify_android", require("./functions/nonconsumable_verify_android")),
167
+ nonconsumableVerifyAndroid: () => new data.FunctionsData("nonconsumable_verify_android", require("./functions/nonconsumable_verify_android")),
162
168
  /**
163
169
  * Performs non-consumable in-app purchases. Unlock by setting the value of the field in the document specified in [path] to `true`.
164
170
  *
165
171
  * 非消費型のアプリ内課金を行います。[path]に指定したドキュメント内のフィールドの値を`true`にすることでアンロックを行います。
166
172
  */
167
- nonconsumableVerifyIOS: new data.FunctionsData("nonconsumable_verify_ios", require("./functions/nonconsumable_verify_ios")),
173
+ nonconsumableVerifyIOS: () => new data.FunctionsData("nonconsumable_verify_ios", require("./functions/nonconsumable_verify_ios")),
168
174
  /**
169
175
  * This is a webhook endpoint for Android. 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.
170
176
  *
171
177
  * Android用のWebhookのエンドポイントです。GCPのpub/subに`purchasing`のトピックを作成しプリンシパルに「google-play-developer-notifications@system.gserviceaccount.com」を設定することで通知を受け取ることができるようになります。
172
178
  */
173
- purchaseWebhookAndroid: new data.FunctionsData("purchase_webhook_android", require("./functions/purchase_webhook_android")),
179
+ purchaseWebhookAndroid: (topic = "purchasing") => new data.FunctionsData("purchase_webhook_android", require("./functions/purchase_webhook_android"), { "topic": topic }),
174
180
  /**
175
181
  * Webhook endpoint for IOS, which allows you to receive notifications by setting the endpoint in AppStoreConnect's [App]->[App Information]->[App Store Server Notification].
176
182
  *
177
183
  * IOS用のWebhookのエンドポイントです。AppStoreConnectの[App]->[App情報]->[App Storeサーバ通知]にエンドポイントを設定することで通知を受け取ることができるようになります。
178
184
  */
179
- purchaseWebhookIOS: new data.FunctionsData("purchase_webhook_ios", require("./functions/purchase_webhook_ios")),
185
+ purchaseWebhookIOS: () => new data.FunctionsData("purchase_webhook_ios", require("./functions/purchase_webhook_ios")),
180
186
  /**
181
187
  * Verify subscriptions and add data.
182
188
  *
183
189
  * サブスクリプションの検証とデータの追加を行います。
184
190
  */
185
- subscriptionVerifyAndroid: new data.FunctionsData("subscription_verify_android", require("./functions/subscription_verify_android")),
191
+ subscriptionVerifyAndroid: () => new data.FunctionsData("subscription_verify_android", require("./functions/subscription_verify_android")),
186
192
  /**
187
193
  * Verify subscriptions and add data.
188
194
  *
189
195
  * サブスクリプションの検証とデータの追加を行います。
190
196
  */
191
- subscriptionVerifyIOS: new data.FunctionsData("subscription_verify_ios", require("./functions/subscription_verify_ios")),
197
+ subscriptionVerifyIOS: () => new data.FunctionsData("subscription_verify_ios", require("./functions/subscription_verify_ios")),
192
198
  };
193
199
  //# sourceMappingURL=functions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"functions.js","sourceRoot":"","sources":["../src/functions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2DAA6C;AAE7C;;;;GAIG;AACU,QAAA,SAAS,GAAG;IACvB;;;;OAIG;IACH,gBAAgB,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,mBAAmB,EAAE,OAAO,CAAC,+BAA+B,CAAC,CAAC;IACvG;;;;OAIG;IACH,aAAa,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAChG;;;;OAIG;IACH,UAAU,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACrF;;;;;;;;OAQG;IACH,mBAAmB,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,uBAAuB,EAAE,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAClH;;;;;;;;OAQG;IACH,MAAM,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACvE;;;;;;;;;;;;OAYG;IACH,aAAa,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,gBAAgB,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;IAC9F;;;;;;;;;;;;;;;;OAgBG;IACH,oBAAoB,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,wBAAwB,EAAE,OAAO,CAAC,oCAAoC,CAAC,CAAC;IACrH;;;;;;;;;;;;OAYG;IACH,mBAAmB,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,uBAAuB,EAAE,OAAO,CAAC,mCA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IACH,sBAAsB,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,0BAA0B,EAAE,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACjI;;;;OAIG;IACH,sBAAsB,EAAE,CAAC,QAAgB,YAAY,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,0BAA0B,EAAE,OAAO,CAAC,sCAAsC,CAAC,EAAE,EAAC,OAAO,EAAE,KAAK,EAAC,CAAC;IAC/K;;;;OAIG;IACH,kBAAkB,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,sBAAsB,EAAE,OAAO,CAAC,kCAAkC,CAAC,CAAC;IACrH;;;;OAIG;IACH,yBAAyB,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,6BAA6B,EAAE,OAAO,CAAC,yCAAyC,CAAC,CAAC;IAC1I;;;;OAIG;IACH,qBAAqB,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,yBAAyB,EAAE,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACtH,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- import * as data from "./lib/functions_data";
1
+ import * as base from "./lib/functions_base";
2
2
  import * as regions from "./lib/regions";
3
3
  export * from "./functions";
4
- export * from "./lib/functions_data";
4
+ export * from "./lib/schedule_process_function_base";
5
+ export * from "./lib/request_process_function_base";
5
6
  /**
6
7
  * Methods for deploying to Firebase Functions.
7
8
  *
@@ -22,9 +23,9 @@ export * from "./lib/functions_data";
22
23
  *
23
24
  * [Functions]で定義された要素を配列として渡します。渡されたメソッドがデプロイされます。
24
25
  *
25
- * @param topic
26
- * pub/subで用いるトピック名を指定します。通常は``
26
+ * @param data
27
+ * Specify the topic name to be used for pub/sub and the length of the schedule.
28
+ *
29
+ * pub/subで用いるトピック名やスケジュールの長さなどを指定します。
27
30
  */
28
- export declare function deploy(exports: any, region: regions.Regions, deployFunctions: data.FunctionsData[], topic?: {
29
- [key: string]: string;
30
- }): void;
31
+ export declare function deploy(exports: any, region: regions.Regions, deployFunctions: base.FunctionsBase[]): void;
package/dist/index.js CHANGED
@@ -29,7 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.deploy = void 0;
30
30
  const admin = __importStar(require("firebase-admin"));
31
31
  __exportStar(require("./functions"), exports);
32
- __exportStar(require("./lib/functions_data"), exports);
32
+ __exportStar(require("./lib/schedule_process_function_base"), exports);
33
+ __exportStar(require("./lib/request_process_function_base"), exports);
33
34
  /**
34
35
  * Methods for deploying to Firebase Functions.
35
36
  *
@@ -50,14 +51,16 @@ __exportStar(require("./lib/functions_data"), exports);
50
51
  *
51
52
  * [Functions]で定義された要素を配列として渡します。渡されたメソッドがデプロイされます。
52
53
  *
53
- * @param topic
54
- * pub/subで用いるトピック名を指定します。通常は``
54
+ * @param data
55
+ * Specify the topic name to be used for pub/sub and the length of the schedule.
56
+ *
57
+ * pub/subで用いるトピック名やスケジュールの長さなどを指定します。
55
58
  */
56
- function deploy(exports, region, deployFunctions, topic = {}) {
59
+ function deploy(exports, region, deployFunctions) {
57
60
  admin.initializeApp();
58
- for (const data of deployFunctions) {
59
- if (!process.env.FUNCTION_NAME || process.env.FUNCTION_NAME === data.id) {
60
- exports[data.id] = data.func(region, topic);
61
+ for (const func of deployFunctions) {
62
+ if (!process.env.FUNCTION_NAME || process.env.FUNCTION_NAME === func.id) {
63
+ exports[func.id] = func.build(region, func.data);
61
64
  }
62
65
  }
63
66
  }
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,sDAAwC;AAExC,8CAA4B;AAC5B,uDAAqC;AAErC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,MAAM,CAAC,OAAY,EAAE,MAAuB,EAAE,eAAqC,EAAE,QAAmC,EAAE;IACtI,KAAK,CAAC,aAAa,EAAE,CAAC;IACtB,KAAK,MAAM,IAAI,IAAI,eAAe,EAAE;QAChC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,aAAa,KAAK,IAAI,CAAC,EAAE,EAAE;YACrE,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;SAC/C;KACJ;AACL,CAAC;AAPD,wBAOC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,sDAAwC;AAExC,8CAA4B;AAC5B,uEAAqD;AACrD,sEAAoD;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,MAAM,CAAC,OAAY,EAAE,MAAuB,EAAE,eAAqC;IAC/F,KAAK,CAAC,aAAa,EAAE,CAAC;IACtB,KAAK,MAAM,IAAI,IAAI,eAAe,EAAE;QAChC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,aAAa,KAAK,IAAI,CAAC,EAAE,EAAE;YACrE,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;SACpD;KACJ;AACL,CAAC;AAPD,wBAOC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Define Function data for FirebaseFunctions.
3
+ *
4
+ * Write code to generate FirebaseFunctions at `build`.
5
+ *
6
+ * FirebaseFunctions用のFunctionのデータを定義を行うためのベースクラス。
7
+ *
8
+ * `build`にてFirebaseFunctionsを生成するためのコードを記述します。
9
+ */
10
+ export declare abstract class FunctionsBase {
11
+ /**
12
+ * Define Function data for FirebaseFunctions.
13
+ *
14
+ * Write code to generate FirebaseFunctions at `build`.
15
+ *
16
+ * FirebaseFunctions用のFunctionのデータを定義を行うためのベースクラス。
17
+ *
18
+ * `build`にてFirebaseFunctionsを生成するためのコードを記述します。
19
+ */
20
+ constructor();
21
+ /**
22
+ * @param id
23
+ * Describe the method names used in Functions.
24
+ *
25
+ * Functionsで利用されるメソッド名を記述します。
26
+ */
27
+ abstract id: string;
28
+ /**
29
+ * Specify the data to be passed to the process.
30
+ *
31
+ * 処理に渡すデータを指定します。
32
+ */
33
+ abstract data: {
34
+ [key: string]: string;
35
+ };
36
+ /**
37
+ * Write code to generate FirebaseFunctions.
38
+ *
39
+ * FirebaseFunctionsを生成するためのコードを記述します。
40
+ */
41
+ abstract build(region: string[], data: {
42
+ [key: string]: string;
43
+ }): Function;
44
+ }
@@ -0,0 +1,26 @@
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() { }
24
+ }
25
+ exports.FunctionsBase = FunctionsBase;
26
+ //# sourceMappingURL=functions_base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions_base.js","sourceRoot":"","sources":["../../src/lib/functions_base.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;GAQG;AACH,MAAsB,aAAa;IAC/B;;;;;;;;OAQG;IACH,gBAAgB,CAAC;CAuBpB;AAjCD,sCAiCC"}
@@ -1,13 +1,17 @@
1
+ import { FunctionsBase } from "./functions_base";
1
2
  /**
2
3
  * Define Function data for FirebaseFunctions.
3
4
  *
4
5
  * FirebaseFunctions用のFunctionのデータを定義します。
5
6
  */
6
- export declare class FunctionsData {
7
+ export declare class FunctionsData extends FunctionsBase {
7
8
  readonly id: string;
8
- readonly func: (region: string[], topic: {
9
+ readonly func: (region: string[], data: {
9
10
  [key: string]: string;
10
11
  }) => Function;
12
+ readonly data: {
13
+ [key: string]: string;
14
+ };
11
15
  /**
12
16
  * Define Function data for FirebaseFunctions.
13
17
  *
@@ -22,8 +26,18 @@ export declare class FunctionsData {
22
26
  * Specify the actual contents of the process.
23
27
  *
24
28
  * 実際の処理の中身を指定します。
29
+ *
30
+ * @param data
31
+ * Specify the data to be passed to the process.
32
+ *
33
+ * 処理に渡すデータを指定します。
25
34
  */
26
- constructor(id: string, func: (region: string[], topic: {
35
+ constructor(id: string, func: (region: string[], data: {
36
+ [key: string]: string;
37
+ }) => Function, data?: {
38
+ [key: string]: string;
39
+ });
40
+ build(region: string[], data: {
27
41
  [key: string]: string;
28
- }) => Function);
42
+ }): Function;
29
43
  }
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FunctionsData = void 0;
4
+ const functions_base_1 = require("./functions_base");
4
5
  /**
5
6
  * Define Function data for FirebaseFunctions.
6
7
  *
7
8
  * FirebaseFunctions用のFunctionのデータを定義します。
8
9
  */
9
- class FunctionsData {
10
+ class FunctionsData extends functions_base_1.FunctionsBase {
10
11
  /**
11
12
  * Define Function data for FirebaseFunctions.
12
13
  *
@@ -21,10 +22,20 @@ class FunctionsData {
21
22
  * Specify the actual contents of the process.
22
23
  *
23
24
  * 実際の処理の中身を指定します。
25
+ *
26
+ * @param data
27
+ * Specify the data to be passed to the process.
28
+ *
29
+ * 処理に渡すデータを指定します。
24
30
  */
25
- constructor(id, func) {
31
+ constructor(id, func, data = {}) {
32
+ super();
26
33
  this.id = id;
27
34
  this.func = func;
35
+ this.data = data;
36
+ }
37
+ build(region, data) {
38
+ return this.func(region, data);
28
39
  }
29
40
  }
30
41
  exports.FunctionsData = FunctionsData;
@@ -1 +1 @@
1
- {"version":3,"file":"functions_data.js","sourceRoot":"","sources":["../../src/lib/functions_data.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,MAAa,aAAa;IACxB;;;;;;;;;;;;;;OAcG;IACH,YAAqB,EAAU,EAAW,IAAsE;QAA3F,OAAE,GAAF,EAAE,CAAQ;QAAW,SAAI,GAAJ,IAAI,CAAkE;IAAG,CAAC;CACrH;AAjBD,sCAiBC"}
1
+ {"version":3,"file":"functions_data.js","sourceRoot":"","sources":["../../src/lib/functions_data.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAEjD;;;;GAIG;AACH,MAAa,aAAc,SAAQ,8BAAa;IAC9C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,YACW,EAAU,EACV,IAAqE,EACrE,OAAkC,EAAE;QAE7C,KAAK,EAAE,CAAC;QAJC,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAiE;QACrE,SAAI,GAAJ,IAAI,CAAgC;IAG/C,CAAC;IAED,KAAK,CACH,MAAgB,EAChB,IAAgC;QAEhC,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;CACF;AAnCD,sCAmCC"}
@@ -0,0 +1,42 @@
1
+ import * as functions from "firebase-functions";
2
+ import { FunctionsBase } from "./functions_base";
3
+ /**
4
+ * Base class for defining Function data for HTTP request execution.
5
+ *
6
+ * HTTPリクエスト実行用のFunctionのデータを定義するためのベースクラス。
7
+ */
8
+ export declare abstract class RequestProcessFunctionBase extends FunctionsBase {
9
+ /**
10
+ * Base class for defining Function data for HTTP request execution.
11
+ *
12
+ * HTTPリクエスト実行用のFunctionのデータを定義するためのベースクラス。
13
+ */
14
+ constructor();
15
+ /**
16
+ * Specify the actual contents of the process.
17
+ *
18
+ * 実際の処理の中身を指定します。
19
+ *
20
+ * @param reqest
21
+ * Request passed to Functions.
22
+ *
23
+ * Functionsに渡されたRequest。
24
+ *
25
+ * @param response
26
+ * Response passed to Functions.
27
+ *
28
+ * Functionsに渡されたResponse。
29
+ *
30
+ * @param options
31
+ * Options passed to Functions.
32
+ *
33
+ * Functionsに渡されたオプション。
34
+ */
35
+ abstract process(reqest: functions.https.Request, response: functions.Response, options: Record<string, any>): Promise<void>;
36
+ data: {
37
+ [key: string]: string;
38
+ };
39
+ build(regions: string[], data: {
40
+ [key: string]: string;
41
+ }): Function;
42
+ }
@@ -0,0 +1,61 @@
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 (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
+ return new (P || (P = Promise))(function (resolve, reject) {
28
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
32
+ });
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.RequestProcessFunctionBase = void 0;
36
+ const functions = __importStar(require("firebase-functions"));
37
+ const functions_base_1 = require("./functions_base");
38
+ /**
39
+ * Base class for defining Function data for HTTP request execution.
40
+ *
41
+ * HTTPリクエスト実行用のFunctionのデータを定義するためのベースクラス。
42
+ */
43
+ class RequestProcessFunctionBase extends functions_base_1.FunctionsBase {
44
+ /**
45
+ * Base class for defining Function data for HTTP request execution.
46
+ *
47
+ * HTTPリクエスト実行用のFunctionのデータを定義するためのベースクラス。
48
+ */
49
+ constructor() {
50
+ super();
51
+ this.data = {};
52
+ }
53
+ build(regions, data) {
54
+ return functions.region(...regions).https.onRequest((req, res) => __awaiter(this, void 0, void 0, function* () {
55
+ const config = functions.config();
56
+ return this.process(req, res, config);
57
+ }));
58
+ }
59
+ }
60
+ exports.RequestProcessFunctionBase = RequestProcessFunctionBase;
61
+ //# sourceMappingURL=request_process_function_base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request_process_function_base.js","sourceRoot":"","sources":["../../src/lib/request_process_function_base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAgD;AAChD,qDAAiD;AAEjD;;;;GAIG;AACH,MAAsB,0BAA2B,SAAQ,8BAAa;IAClE;;;;OAIG;IACH;QACI,KAAK,EAAE,CAAC;QAyBZ,SAAI,GAA8B,EAAE,CAAC;IAxBrC,CAAC;IAyBD,KAAK,CAAC,OAAiB,EAAE,IAA+B;QACpD,OAAO,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAO,GAAG,EAAE,GAAG,EAAE,EAAE;YACnE,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;QAC1C,CAAC,CAAA,CAAC,CAAC;IACP,CAAC;CACJ;AAvCD,gEAuCC"}
@@ -0,0 +1,39 @@
1
+ import { FunctionsBase } 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();
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
+ * @param options
28
+ * Options passed to Functions.
29
+ *
30
+ * Functionsに渡されたオプション。
31
+ */
32
+ abstract process(options: Record<string, any>): Promise<void>;
33
+ data: {
34
+ [key: string]: string;
35
+ };
36
+ build(regions: string[], data: {
37
+ [key: string]: string;
38
+ }): Function;
39
+ }
@@ -0,0 +1,61 @@
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 (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
+ return new (P || (P = Promise))(function (resolve, reject) {
28
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
32
+ });
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.ScheduleProcessFunctionBase = void 0;
36
+ const functions = __importStar(require("firebase-functions"));
37
+ const functions_base_1 = require("./functions_base");
38
+ /**
39
+ * Base class for defining the data of Functions for periodic scheduled execution.
40
+ *
41
+ * 定期スケジュール実行用のFunctionのデータを定義するためのベースクラス。
42
+ */
43
+ class ScheduleProcessFunctionBase extends functions_base_1.FunctionsBase {
44
+ /**
45
+ * Base class for defining the data of Functions for periodic scheduled execution.
46
+ *
47
+ * 定期スケジュール実行用のFunctionのデータを定義するためのベースクラス。
48
+ */
49
+ constructor() {
50
+ super();
51
+ this.data = {};
52
+ }
53
+ build(regions, data) {
54
+ return functions.region(...regions).pubsub.schedule(this.schedule).onRun((event) => __awaiter(this, void 0, void 0, function* () {
55
+ const config = functions.config();
56
+ return this.process(config);
57
+ }));
58
+ }
59
+ }
60
+ exports.ScheduleProcessFunctionBase = ScheduleProcessFunctionBase;
61
+ //# sourceMappingURL=schedule_process_function_base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule_process_function_base.js","sourceRoot":"","sources":["../../src/lib/schedule_process_function_base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAgD;AAChD,qDAAiD;AAEjD;;;;GAIG;AACH,MAAsB,2BAA4B,SAAQ,8BAAa;IACnE;;;;OAIG;IACH;QACI,KAAK,EAAE,CAAC;QAwBZ,SAAI,GAA8B,EAAE,CAAC;IAvBrC,CAAC;IAwBD,KAAK,CAAC,OAAiB,EAAE,IAA+B;QACpD,OAAO,SAAS,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAO,KAAK,EAAE,EAAE;YACrF,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAChC,CAAC,CAAA,CAAC,CAAC;IACP,CAAC;CACJ;AAtCD,kEAsCC"}