@aloma.io/integration-sdk 3.7.31 → 3.7.33
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/build/internal/index.mjs
CHANGED
@@ -24,6 +24,8 @@ const transform = (meta) => {
|
|
24
24
|
const docs = sig.getJSDoc().serialize() || [];
|
25
25
|
const desc = docs.find((what) => what.kind === "description")?.value;
|
26
26
|
const example = docs.find((what) => what.kind === "example")?.value;
|
27
|
+
const ns = docs.find((what) => what.kind === 'namespace')?.value;
|
28
|
+
let space = ns ? `@namespace ${ns}` : '';
|
27
29
|
let eg;
|
28
30
|
if (example) {
|
29
31
|
const parts = example.split(/```/);
|
@@ -61,6 +63,7 @@ const transform = (meta) => {
|
|
61
63
|
/**
|
62
64
|
* ${desc || ""}
|
63
65
|
*
|
66
|
+
* ${space || ''}
|
64
67
|
* ${eg || ""}
|
65
68
|
**/
|
66
69
|
declare function ${member.getName()}(${params}): ${retVal};
|
package/package.json
CHANGED
package/src/internal/index.mts
CHANGED
package/src/transform/index.mts
CHANGED
@@ -36,6 +36,9 @@ const transform = (meta: any) => {
|
|
36
36
|
const example = docs.find(
|
37
37
|
(what: any) => what.kind === "example",
|
38
38
|
)?.value;
|
39
|
+
|
40
|
+
const ns = docs.find((what: any) => what.kind === 'namespace')?.value;
|
41
|
+
let space = ns?`@namespace ${ns}`:''
|
39
42
|
|
40
43
|
let eg;
|
41
44
|
if (example) {
|
@@ -91,6 +94,7 @@ const transform = (meta: any) => {
|
|
91
94
|
/**
|
92
95
|
* ${desc || ""}
|
93
96
|
*
|
97
|
+
* ${space || ''}
|
94
98
|
* ${eg || ""}
|
95
99
|
**/
|
96
100
|
declare function ${member.getName()}(${params}): ${retVal};
|