@mathrunet/masamune 3.9.0 → 3.9.3
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.
- package/CHANGELOG.md +3 -1
- package/dist/functions/test.js +2 -2
- package/dist/functions/test.js.map +1 -1
- package/dist/functions.d.ts +3 -2
- package/dist/functions.js +2 -35
- package/dist/functions.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
## [3.9.3](https://github.com/mathrunet/node_masamune/compare/v3.7.0...v3.9.3) (2025-12-08)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### chore
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
* Added AppStore, FirebaseAnalytics. ([43475b9](https://github.com/mathrunet/node_masamune/commit/43475b967224ad1921607eb769b5ab50095a2f49))
|
|
41
41
|
* Added charts, storage, and PDF generation services to the marketing pipeline, improved video effects, and introduced bug list documentation. ([5ac0fd5](https://github.com/mathrunet/node_masamune/commit/5ac0fd5d6e0d1cfeaeae0b422e2d099f7c863bc4))
|
|
42
42
|
* Create a market pipeline. ([7ce61fe](https://github.com/mathrunet/node_masamune/commit/7ce61feae9829bd7e8d969ef967f39f3f9ba0cfe))
|
|
43
|
+
* Delete the Katana package. ([9c0d166](https://github.com/mathrunet/node_masamune/commit/9c0d1660ca60cbc72c7b7f742138352470a6e54c))
|
|
43
44
|
* Develop an AI analysis service ([0a3d8c7](https://github.com/mathrunet/node_masamune/commit/0a3d8c7cbff6e23b524ca78b8bcbc674b2045bcf))
|
|
44
45
|
* Enhance detailed research to guide content creation, determine asset type, and add new documentation files. ([bf6125a](https://github.com/mathrunet/node_masamune/commit/bf6125a2e35f7b52f9a84468770901a98ef226be))
|
|
45
46
|
* GitHub integration test implementation ([f1ffead](https://github.com/mathrunet/node_masamune/commit/f1ffead3e4f4f761fd7416789c050afe4d3e29a8))
|
|
@@ -74,6 +75,7 @@
|
|
|
74
75
|
* Fixed missing export. ([f8948be](https://github.com/mathrunet/node_masamune/commit/f8948bee2d089c6df7a1b2e34bab844413f42e87))
|
|
75
76
|
* I made it output. ([6d17645](https://github.com/mathrunet/node_masamune/commit/6d1764546c2c68b3af61148eac9ca1635e9fddf7))
|
|
76
77
|
* implement AI-driven music prompt improvement for Lyria BGM generation failures and add marketing pipeline requirements. ([81cfd3b](https://github.com/mathrunet/node_masamune/commit/81cfd3bd114669360c0bef465f81f5b4fad8804d))
|
|
78
|
+
* Import bug fix. ([daefec0](https://github.com/mathrunet/node_masamune/commit/daefec055ad6bd1727d1df561cad25ce793f91c2))
|
|
77
79
|
* Initialize Firebase Admin SDK if not already initialized when loading Firestore or Storage. ([678c1bd](https://github.com/mathrunet/node_masamune/commit/678c1bd1896ddd3fe0e541e9eeea29797b63e300))
|
|
78
80
|
* Interface adjustment. ([82d64f3](https://github.com/mathrunet/node_masamune/commit/82d64f3420f98b57a3dc66300c70b8cd646c8e98))
|
|
79
81
|
* Move `@types/node-fetch` from devDependencies to dependencies. ([d5bc8be](https://github.com/mathrunet/node_masamune/commit/d5bc8be021d25469d9fb58d6b73f8471883969c8))
|
package/dist/functions/test.js
CHANGED
|
@@ -34,7 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
const functions = __importStar(require("firebase-functions/v2"));
|
|
37
|
-
const
|
|
37
|
+
const firebase_loader_1 = require("../lib/src/firebase_loader");
|
|
38
38
|
/**
|
|
39
39
|
* Endpoints for testing.
|
|
40
40
|
*
|
|
@@ -58,7 +58,7 @@ module.exports = (regions, options, data) => functions.https.onCall({
|
|
|
58
58
|
}
|
|
59
59
|
const firestoreDatabaseIds = options.firestoreDatabaseIds ?? [""];
|
|
60
60
|
for (const databaseId of firestoreDatabaseIds) {
|
|
61
|
-
const firestoreInstance = (0,
|
|
61
|
+
const firestoreInstance = (0, firebase_loader_1.firestoreLoader)(databaseId);
|
|
62
62
|
const doc = await firestoreInstance.doc(path).load();
|
|
63
63
|
return { ...doc.data() };
|
|
64
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../src/functions/test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAmD;
|
|
1
|
+
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../src/functions/test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iEAAmD;AAEnD,gEAA6D;AAE7D;;;;GAIG;AACH,MAAM,CAAC,OAAO,GAAG,CACf,OAAiB,EACjB,OAA6B,EAC7B,IAA4B,EAC5B,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,CACzB;IACE,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,OAAO;IACjC,cAAc,EAAE,OAAO,CAAC,cAAc;IACtC,MAAM,EAAE,OAAO,CAAC,MAAM;IACtB,YAAY,EAAE,OAAO,CAAC,YAAY;IAClC,WAAW,EAAE,OAAO,CAAC,WAAW;IAChC,YAAY,EAAE,OAAO,CAAC,YAAY;IAClC,cAAc,EAAE,OAAO,EAAE,cAAc,IAAI,SAAS;IACpD,eAAe,EAAE,OAAO,CAAC,eAAe,IAAI,SAAS;IACrD,oBAAoB,EAAE,OAAO,CAAC,oBAAoB,IAAI,SAAS;CAChE,EACD,KAAK,EAAE,KAAK,EAAE,EAAE;IACd,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,MAAM,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,IAAI,CAAC,EAAE,CAAC,CAAC;QAClE,KAAK,MAAM,UAAU,IAAI,oBAAoB,EAAE,CAAC;YAC9C,MAAM,iBAAiB,GAAG,IAAA,iCAAe,EAAC,UAAU,CAAC,CAAC;YACtD,MAAM,GAAG,GAAG,MAAM,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;YACrD,OAAO,EAAE,GAAG,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;QAC3B,CAAC;IACH,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACnB,MAAM,GAAG,CAAC;IACZ,CAAC;AACH,CAAC,CACF,CAAC"}
|
package/dist/functions.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HttpFunctionsOptions } from "./lib/src/functions_base";
|
|
2
|
+
import { FunctionsData } from "./lib/src/functions_data";
|
|
2
3
|
/**
|
|
3
4
|
* Define a list of applicable Functions for FirebaseFunctions.
|
|
4
5
|
*
|
|
5
6
|
* FirebaseFunctions用の適用可能なFunctionの一覧を定義します。
|
|
6
7
|
*/
|
|
7
8
|
export declare const Functions: {
|
|
8
|
-
readonly test: (options?:
|
|
9
|
+
readonly test: (options?: HttpFunctionsOptions) => FunctionsData;
|
|
9
10
|
};
|
package/dist/functions.js
CHANGED
|
@@ -1,46 +1,13 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
3
|
exports.Functions = void 0;
|
|
37
|
-
const
|
|
4
|
+
const functions_data_1 = require("./lib/src/functions_data");
|
|
38
5
|
/**
|
|
39
6
|
* Define a list of applicable Functions for FirebaseFunctions.
|
|
40
7
|
*
|
|
41
8
|
* FirebaseFunctions用の適用可能なFunctionの一覧を定義します。
|
|
42
9
|
*/
|
|
43
10
|
exports.Functions = {
|
|
44
|
-
test: (options = {}) => new
|
|
11
|
+
test: (options = {}) => new functions_data_1.FunctionsData({ id: "test", func: require("./functions/test"), options: options }),
|
|
45
12
|
};
|
|
46
13
|
//# sourceMappingURL=functions.js.map
|
package/dist/functions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../src/functions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../src/functions.ts"],"names":[],"mappings":";;;AACA,6DAAyD;AAEzD;;;;GAIG;AACU,QAAA,SAAS,GAAG;IAKvB,IAAI,EAAE,CAAC,UAAgC,EAAE,EAAE,EAAE,CAAC,IAAI,8BAAa,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,kBAAkB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;CAC5H,CAAC"}
|