@arcgis/api-extractor 5.1.0-next.89 → 5.1.0-next.90
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/dist/{ApiExtractor-CcUbKtCm.js → ApiExtractor-DD4ODfUV.js} +2 -2
- package/dist/apiJson.d.ts +2 -2
- package/dist/extractor/ApiExtractor.js +3 -3
- package/dist/extractor/config.js +2 -2
- package/dist/extractor/extractors/copyDoc.d.ts +1 -1
- package/dist/extractor/processing/links.js +44 -44
- package/dist/{typeScript-C_Y_81n6.js → typeScript-Bcylmvl-.js} +1 -1
- package/dist/vite/plugin.js +3 -3
- package/dist/vite/typeScript.js +1 -1
- package/dist/{worker-sOtqMU7v.js → worker-DdLxplOi.js} +12 -12
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as H, a as se, e as De, p as me } from "./typeScript-
|
|
2
|
-
import { a as be, o as xe, t as Le, b as Oe, c as Ne, e as Be, p as We, d as Ue, f as _, i as pe, g as ze, h as je, j as He, k as Je, n as Ve, r as Xe } from "./worker-
|
|
1
|
+
import { l as H, a as se, e as De, p as me } from "./typeScript-Bcylmvl-.js";
|
|
2
|
+
import { a as be, o as xe, t as Le, b as Oe, c as Ne, e as Be, p as We, d as Ue, f as _, i as pe, g as ze, h as je, j as He, k as Je, n as Ve, r as Xe } from "./worker-DdLxplOi.js";
|
|
3
3
|
import { getViewUrl as Ye, postProcessDeprecated as Q, postProcessDescription as G, postProcessDocsTags as V, resolveJsDocLink as qe } from "./extractor/processing/links.js";
|
|
4
4
|
import E from "typescript";
|
|
5
5
|
import { path as N, toPosixPathSeparators as Ze } from "@arcgis/components-build-utils";
|
package/dist/apiJson.d.ts
CHANGED
|
@@ -658,7 +658,7 @@ export interface ApiClassDeclaration extends ApiObjectLikeDeclaration, ApiWithEv
|
|
|
658
658
|
* matches the order of language used to describe mixin application, like
|
|
659
659
|
* "S with A, B".
|
|
660
660
|
*
|
|
661
|
-
* @see https://webgis.esri.com/
|
|
661
|
+
* @see https://webgis.esri.com/sdk/contributing/core/core/mixins
|
|
662
662
|
*/
|
|
663
663
|
mixins?: ApiReferenceWithTypeArguments[];
|
|
664
664
|
}
|
|
@@ -803,7 +803,7 @@ export interface ApiClassCallSignature extends Omit<ApiFunctionLike, "name">, Ap
|
|
|
803
803
|
/**
|
|
804
804
|
* A description of a class mixin.
|
|
805
805
|
*
|
|
806
|
-
* @see [WebGIS - Mixins](https://webgis.esri.com/
|
|
806
|
+
* @see [WebGIS - Mixins](https://webgis.esri.com/sdk/contributing/core/core/mixins)
|
|
807
807
|
*/
|
|
808
808
|
export interface ApiMixinDeclaration extends Omit<ApiFunctionLike, "return">, ApiObjectLikeDeclaration, ApiWithEvents {
|
|
809
809
|
kind: "mixin";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../typeScript-
|
|
2
|
-
import "../worker-
|
|
1
|
+
import "../typeScript-Bcylmvl-.js";
|
|
2
|
+
import "../worker-DdLxplOi.js";
|
|
3
3
|
import "./processing/links.js";
|
|
4
4
|
import "typescript";
|
|
5
|
-
import { A as x } from "../ApiExtractor-
|
|
5
|
+
import { A as x } from "../ApiExtractor-DD4ODfUV.js";
|
|
6
6
|
import "@arcgis/toolkit/function";
|
|
7
7
|
export {
|
|
8
8
|
x as ApiExtractor
|
package/dist/extractor/config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@arcgis/components-build-utils";
|
|
2
|
-
import "../typeScript-
|
|
3
|
-
import { l, m as n, r as A } from "../worker-
|
|
2
|
+
import "../typeScript-Bcylmvl-.js";
|
|
3
|
+
import { l, m as n, r as A } from "../worker-DdLxplOi.js";
|
|
4
4
|
import "./processing/links.js";
|
|
5
5
|
import "typescript";
|
|
6
6
|
import "fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ApiClassDeclaration, ApiClassMethod, ApiCustomElementDeclaration, ApiCustomElementField, ApiEvent, ApiFunctionDeclaration, ApiInterfaceDeclaration, ApiModule, ApiVariableDeclaration } from "../../apiJson.js";
|
|
2
2
|
|
|
3
|
-
/** [Documentation](https://webgis.esri.com/
|
|
3
|
+
/** [Documentation](https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc) */
|
|
4
4
|
export interface CopyDocDefinitions {
|
|
5
5
|
properties?: CopyDocMemberDeclarations<ApiCustomElementField>;
|
|
6
6
|
methods?: CopyDocMemberDeclarations<ApiClassMethod>;
|
|
@@ -23,46 +23,46 @@ function J(e, n) {
|
|
|
23
23
|
d.text && (d.text = d.text.replaceAll(F, n.resolveJsDocLink).replaceAll(n.config.documentation.alternativeHost, n.config.documentation.host), d.text.includes("](.") && a(P, d.text, n));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
const P = "Unexpected relative markdown link. For links to API within the package use {@link}. For all other links, use absolute markdown. Documentation: https://webgis.esri.com/
|
|
26
|
+
const P = "Unexpected relative markdown link. For links to API within the package use {@link}. For all other links, use absolute markdown. Documentation: https://webgis.esri.com/sdk/contributing/core/core/documenting-api#link", F = /\{@link +([^}]+)\}/gu;
|
|
27
27
|
function N(e, n, i) {
|
|
28
28
|
let d = i.indexOf(" ");
|
|
29
29
|
d === -1 && (d = i.length);
|
|
30
30
|
const u = i.slice(0, d), m = i.slice(d + 1);
|
|
31
31
|
if (u.startsWith("https://"))
|
|
32
32
|
return e.config.strict ? (a(
|
|
33
|
-
"Did not expect absolute URLs in a @link tag. Please use markdown links for external links. See https://webgis.esri.com/
|
|
33
|
+
"Did not expect absolute URLs in a @link tag. Please use markdown links for external links. See https://webgis.esri.com/sdk/contributing/core/core/documenting-api#link",
|
|
34
34
|
n,
|
|
35
35
|
e
|
|
36
36
|
), "") : `[${m || u}](${u})`;
|
|
37
|
-
const [
|
|
37
|
+
const [k, s] = u.split("#"), [f, L] = k.split("!");
|
|
38
38
|
if (f === "")
|
|
39
39
|
return a(
|
|
40
40
|
`Expected @link reference to start with a module name (before ! or #), but got: ${u}`,
|
|
41
41
|
n,
|
|
42
42
|
e
|
|
43
43
|
), n;
|
|
44
|
-
let
|
|
45
|
-
if (
|
|
44
|
+
let g = e.moduleMap.get(f);
|
|
45
|
+
if (g === void 0 && e.isComponentProject && !e.config.strict) {
|
|
46
46
|
for (const r of e.moduleMap.values())
|
|
47
47
|
if (y(r).index.class?.name === f) {
|
|
48
|
-
|
|
48
|
+
g = r;
|
|
49
49
|
break;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
if (
|
|
52
|
+
if (g === void 0)
|
|
53
53
|
return e.config.verify.detectBrokenLinks ? a(
|
|
54
54
|
`Failed to find referenced module: ${C("red", f)}${f.startsWith("module:") ? '. Module name in @link does not need the "module:" prefix' : f.startsWith("esri/") ? '. Module name in @link does not need to start with the "esri/" prefix.' : ""}`,
|
|
55
55
|
n,
|
|
56
56
|
e
|
|
57
57
|
) : e.silencedBrokenLinkCount += 1, n;
|
|
58
|
-
const v = y(
|
|
58
|
+
const v = y(g), D = e.inheritedModuleName === void 0 ? e.apiModule : e.moduleMap.get(e.inheritedModuleName) ?? e.apiModule;
|
|
59
59
|
if (e.watchFiles !== void 0 && f !== D.path && y(D).isStale) {
|
|
60
|
-
const r = y(D).file.fileName.slice(e.config.context.cwd.length),
|
|
61
|
-
e.watchFiles.get(r).docLinks.push(i), e.watchFiles.get(r).dependencies.add(
|
|
62
|
-
const b = e.watchFiles.get(
|
|
60
|
+
const r = y(D).file.fileName.slice(e.config.context.cwd.length), t = v.file.fileName.slice(e.config.context.cwd.length);
|
|
61
|
+
e.watchFiles.get(r).docLinks.push(i), e.watchFiles.get(r).dependencies.add(t);
|
|
62
|
+
const b = e.watchFiles.get(t).dependents;
|
|
63
63
|
b.has(r) || b.set(r, !1);
|
|
64
64
|
}
|
|
65
|
-
let h = M(
|
|
65
|
+
let h = M(g.path, L, s, e);
|
|
66
66
|
if (L !== void 0) {
|
|
67
67
|
const r = v.index.named[L];
|
|
68
68
|
return r === void 0 ? (e.config.verify.detectBrokenLinks ? a(
|
|
@@ -74,73 +74,73 @@ function N(e, n, i) {
|
|
|
74
74
|
n,
|
|
75
75
|
e
|
|
76
76
|
), n) : `[${m || w(r)}](${h})`;
|
|
77
|
-
} else if (
|
|
78
|
-
const r =
|
|
79
|
-
if (
|
|
80
|
-
return v.index.named[
|
|
77
|
+
} else if (s !== void 0) {
|
|
78
|
+
const r = g.path === D.path, t = v.index.class;
|
|
79
|
+
if (t === void 0)
|
|
80
|
+
return v.index.named[s] === void 0 ? e.config.verify.detectBrokenLinks ? a(
|
|
81
81
|
'Failed to find the referenced member. Class member reference syntax was used, yet current module does not expose a class/mixin/custom element? Linking to properties in interfaces is not yet supported. For event links, prefix with "event-"',
|
|
82
82
|
n,
|
|
83
83
|
e
|
|
84
84
|
) : e.silencedBrokenLinkCount += 1 : a(
|
|
85
|
-
`Invalid reference syntax used. This syntax is only permitted on modules that export a class/mixin/web component. Perhaps you meant to use ${C("red", `${f}!${
|
|
85
|
+
`Invalid reference syntax used. This syntax is only permitted on modules that export a class/mixin/web component. Perhaps you meant to use ${C("red", `${f}!${s}`)} instead? Linking to properties in interfaces is not yet supported`,
|
|
86
86
|
n,
|
|
87
87
|
e
|
|
88
88
|
), n;
|
|
89
89
|
const b = v.inheritance, p = typeof b == "object" ? b : void 0;
|
|
90
90
|
let c;
|
|
91
|
-
if (
|
|
92
|
-
const o =
|
|
91
|
+
if (s.startsWith("event-")) {
|
|
92
|
+
const o = s.slice(6);
|
|
93
93
|
if (p !== void 0)
|
|
94
94
|
c = p.indexedEvents?.[o];
|
|
95
|
-
else if (
|
|
96
|
-
for (let l = 0; l <
|
|
97
|
-
const $ =
|
|
95
|
+
else if (t.events !== void 0)
|
|
96
|
+
for (let l = 0; l < t.events.length; ++l) {
|
|
97
|
+
const $ = t.events[l];
|
|
98
98
|
if (o === $.name) {
|
|
99
99
|
c = $;
|
|
100
100
|
break;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
} else if (
|
|
104
|
-
const o =
|
|
103
|
+
} else if (s.startsWith("slot-")) {
|
|
104
|
+
const o = s.slice(5);
|
|
105
105
|
if (p !== void 0)
|
|
106
106
|
c = p.indexedSlots?.[o];
|
|
107
|
-
else if (
|
|
108
|
-
for (let l = 0; l <
|
|
109
|
-
const $ =
|
|
107
|
+
else if (t.slots !== void 0)
|
|
108
|
+
for (let l = 0; l < t.slots.length; ++l) {
|
|
109
|
+
const $ = t.slots[l];
|
|
110
110
|
if (o === $.name) {
|
|
111
111
|
c = $;
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
} else if (
|
|
115
|
+
} else if (s.startsWith("--")) {
|
|
116
116
|
if (p !== void 0)
|
|
117
|
-
c = p.indexedCssProperties?.[
|
|
118
|
-
else if (
|
|
119
|
-
for (let o = 0; o <
|
|
120
|
-
const l =
|
|
121
|
-
if (
|
|
117
|
+
c = p.indexedCssProperties?.[s];
|
|
118
|
+
else if (t.cssProperties !== void 0)
|
|
119
|
+
for (let o = 0; o < t.cssProperties.length; ++o) {
|
|
120
|
+
const l = t.cssProperties[o];
|
|
121
|
+
if (s === l.name) {
|
|
122
122
|
c = l;
|
|
123
123
|
break;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
} else if (p?.indexedMembers !== void 0 && (c = p.indexedMembers[
|
|
127
|
-
for (let o = 0; o <
|
|
128
|
-
const l =
|
|
129
|
-
if (
|
|
126
|
+
} else if (p?.indexedMembers !== void 0 && (c = p.indexedMembers[s] ?? p.indexedMembers[`static ${s}`]), c === void 0 && t.members !== void 0) {
|
|
127
|
+
for (let o = 0; o < t.members.length; ++o) {
|
|
128
|
+
const l = t.members[o];
|
|
129
|
+
if (s === l.name) {
|
|
130
130
|
c = l;
|
|
131
131
|
break;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
if (c === void 0 && !e.config.strict && e.isComponentProject &&
|
|
135
|
-
for (let o = 0; o <
|
|
136
|
-
const l =
|
|
137
|
-
if (
|
|
134
|
+
if (c === void 0 && !e.config.strict && e.isComponentProject && t.events !== void 0)
|
|
135
|
+
for (let o = 0; o < t.events.length; ++o) {
|
|
136
|
+
const l = t.events[o];
|
|
137
|
+
if (s === l.name) {
|
|
138
138
|
c = l, h = h.replace("#", "#event-");
|
|
139
139
|
break;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
return c === void 0 ? (e.config.verify.detectBrokenLinks ? a("Failed to find the referenced class member", n, e) : e.silencedBrokenLinkCount += 1, n) : `[${m || (r ? w(c) : `${w(
|
|
143
|
+
return c === void 0 ? (e.config.verify.detectBrokenLinks ? a("Failed to find the referenced class member", n, e) : e.silencedBrokenLinkCount += 1, n) : `[${m || (r ? w(c) : `${w(t)}.${w(c)}`)}](${h})`;
|
|
144
144
|
} else {
|
|
145
145
|
const r = v.index.class === void 0 ? A(f) : w(v.index.class);
|
|
146
146
|
return `[${m || r}](${h})`;
|
|
@@ -149,8 +149,8 @@ function N(e, n, i) {
|
|
|
149
149
|
function M(e, n, i, d) {
|
|
150
150
|
let u;
|
|
151
151
|
if (d.isComponentProject && typeof d.config.documentation.getComponentDocsUrl == "function" && e.startsWith("components/")) {
|
|
152
|
-
const m = e.slice(11),
|
|
153
|
-
f !== void 0 && (u = f + (
|
|
152
|
+
const m = e.slice(11), k = m.indexOf("/"), s = k === -1 ? m : m.slice(0, k), f = d.config.documentation.getComponentDocsUrl(s, I(s));
|
|
153
|
+
f !== void 0 && (u = f + (k === -1 ? "" : m.slice(k + 1)));
|
|
154
154
|
}
|
|
155
155
|
return u ??= `${d.normalizedApiReferencePrefix}${e}/`, U(u, n, i);
|
|
156
156
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { findPath as E, path as u, toSystemPathSeparators as S } from "@arcgis/components-build-utils";
|
|
2
2
|
import t from "typescript";
|
|
3
3
|
import { styleText as f } from "util";
|
|
4
|
-
const w = "@arcgis/api-extractor", P = "5.1.0-next.
|
|
4
|
+
const w = "@arcgis/api-extractor", P = "5.1.0-next.90", D = {
|
|
5
5
|
name: w,
|
|
6
6
|
version: P
|
|
7
7
|
};
|
package/dist/vite/plugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as O, m as J } from "../worker-
|
|
2
|
-
import { A as S, w as T } from "../ApiExtractor-
|
|
3
|
-
import { p as A, l as C } from "../typeScript-
|
|
1
|
+
import { l as O, m as J } from "../worker-DdLxplOi.js";
|
|
2
|
+
import { A as S, w as T } from "../ApiExtractor-DD4ODfUV.js";
|
|
3
|
+
import { p as A, l as C } from "../typeScript-Bcylmvl-.js";
|
|
4
4
|
import { writeFile as M } from "node:fs/promises";
|
|
5
5
|
import { path as w } from "@arcgis/components-build-utils";
|
|
6
6
|
const N = A.name;
|
package/dist/vite/typeScript.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { path as He, existsAsync as Yt, getCwd as Di, retrievePackageJson as ct, toPosixPathSeparators as xi } from "@arcgis/components-build-utils";
|
|
2
|
-
import { b as Ri, p as Li, l as Ii } from "./typeScript-
|
|
2
|
+
import { b as Ri, p as Li, l as Ii } from "./typeScript-Bcylmvl-.js";
|
|
3
3
|
import { getDefaultBasePath as Zt, buildViewUrl as Ai, getViewUrl as Ue } from "./extractor/processing/links.js";
|
|
4
4
|
import o from "typescript";
|
|
5
5
|
import "fs/promises";
|
|
@@ -304,8 +304,8 @@ function J(e, t, n) {
|
|
|
304
304
|
const s = n.file.text.slice(l.pos, l.end);
|
|
305
305
|
s.startsWith("/**") && (a !== void 0 && n.config.strict && n.emitError(
|
|
306
306
|
`Found multiple JSDoc comments for the same node. This is not allowed.
|
|
307
|
-
If one of these was meant to be a file-level comment, read the documentation: https://webgis.esri.com/
|
|
308
|
-
If this is meant to be a function overload, read the documentation: https://webgis.esri.com/
|
|
307
|
+
If one of these was meant to be a file-level comment, read the documentation: https://webgis.esri.com/sdk/contributing/core/core/documenting-api#module-level-documentation
|
|
308
|
+
If this is meant to be a function overload, read the documentation: https://webgis.esri.com/sdk/contributing/core/core/documenting-api#function-overloads`,
|
|
309
309
|
{
|
|
310
310
|
file: n.file,
|
|
311
311
|
node: e
|
|
@@ -1524,7 +1524,7 @@ function Bn(e) {
|
|
|
1524
1524
|
function Et(e, t, n, i) {
|
|
1525
1525
|
const a = { file: n, node: e };
|
|
1526
1526
|
return e.getText(n).includes("* @public") && i.emitError(
|
|
1527
|
-
"@public is not permitted in nested types. See options in documentation: https://webgis.esri.com/
|
|
1527
|
+
"@public is not permitted in nested types. See options in documentation: https://webgis.esri.com/sdk/contributing/core/core/documenting-api#describing-nested-object-types and https://webgis.esri.com/sdk/contributing/core/core/documenting-api#variables",
|
|
1528
1528
|
a
|
|
1529
1529
|
), H(e, t, a, i);
|
|
1530
1530
|
}
|
|
@@ -1788,7 +1788,7 @@ function Yn(e) {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
function z(e, t) {
|
|
1790
1790
|
if (b = t, _e.clear(), $ = [], Qe.clear(), e.pos !== -1 && e.getText(b.file).includes("* @public") && b.emitError(
|
|
1791
|
-
"@public JSDoc tag may only appear in interfaces, top-level of type alias, or top-level intersection inside a type-alias. @public JSDoc tag inside inline object literal types or deeper aliases is not supported as such are tricky to represent in the docs UI. Refactor out the type into a separate top-level interface/type-alias. Documentation: https://webgis.esri.com/
|
|
1791
|
+
"@public JSDoc tag may only appear in interfaces, top-level of type alias, or top-level intersection inside a type-alias. @public JSDoc tag inside inline object literal types or deeper aliases is not supported as such are tricky to represent in the docs UI. Refactor out the type into a separate top-level interface/type-alias. Documentation: https://webgis.esri.com/sdk/contributing/core/core/documenting-api#describing-nested-object-types",
|
|
1792
1792
|
{ file: b.file, node: e }
|
|
1793
1793
|
), e.kind === o.SyntaxKind.Identifier || e.kind === o.SyntaxKind.QualifiedName)
|
|
1794
1794
|
Be(e);
|
|
@@ -1824,7 +1824,7 @@ const ge = (e, t, n) => {
|
|
|
1824
1824
|
case "ToElement":
|
|
1825
1825
|
return ge(e, i.typeArguments[0], n);
|
|
1826
1826
|
/**
|
|
1827
|
-
* @see https://webgis.esri.com/
|
|
1827
|
+
* @see https://webgis.esri.com/sdk/contributing/core/core/documenting-api#publicprivate-type-divergence
|
|
1828
1828
|
*/
|
|
1829
1829
|
case "PublicApiNarrowType":
|
|
1830
1830
|
case "PublicApiRelaxType":
|
|
@@ -2223,7 +2223,7 @@ function ce(e, t, n, i, a) {
|
|
|
2223
2223
|
const l = i.name;
|
|
2224
2224
|
let s = n?.[l];
|
|
2225
2225
|
s === void 0 && e.emitError(
|
|
2226
|
-
"@copyDoc tag was used, but failed to find copyDoc definition for it. Documentation: https://webgis.esri.com/
|
|
2226
|
+
"@copyDoc tag was used, but failed to find copyDoc definition for it. Documentation: https://webgis.esri.com/sdk/contributing/core/core/documenting-api#copydoc",
|
|
2227
2227
|
{
|
|
2228
2228
|
file: e.file,
|
|
2229
2229
|
node: t
|
|
@@ -2329,7 +2329,7 @@ function Ae(e, t, n, i) {
|
|
|
2329
2329
|
let G = M[E + _]?.text, O, F;
|
|
2330
2330
|
if (!i.config.strict && (G === void 0 || A === void 0) && (G = A ?? `parameter${E}`), G === void 0) {
|
|
2331
2331
|
i.emitError(
|
|
2332
|
-
`Expected @param tag for every parameter on a public function. If you need to include a non-public parameter on a public function, see https://webgis.esri.com/
|
|
2332
|
+
`Expected @param tag for every parameter on a public function. If you need to include a non-public parameter on a public function, see https://webgis.esri.com/sdk/contributing/core/core/documenting-api#param${v ? " and https://webgis.esri.com/sdk/contributing/core/core/documenting-api#constructor" : ""}`,
|
|
2333
2333
|
{ file: i.file, node: S }
|
|
2334
2334
|
), T = !0;
|
|
2335
2335
|
break;
|
|
@@ -2368,7 +2368,7 @@ function Ae(e, t, n, i) {
|
|
|
2368
2368
|
ie.optional = $t(S, ie), y.parameters.push(ie);
|
|
2369
2369
|
}
|
|
2370
2370
|
if (i.config.strict && !T && D !== y.parameters.length && i.emitError(
|
|
2371
|
-
`Expected @param tags to match the number of parameters on a public function. Found ${M.length} @param tags for ${y.parameters.length} TypeScript parameters. Documentation: https://webgis.esri.com/
|
|
2371
|
+
`Expected @param tags to match the number of parameters on a public function. Found ${M.length} @param tags for ${y.parameters.length} TypeScript parameters. Documentation: https://webgis.esri.com/sdk/contributing/core/core/documenting-api#param${v ? " and https://webgis.esri.com/sdk/contributing/core/core/documenting-api#constructor" : ""}`,
|
|
2372
2372
|
{ file: i.file, node: e }
|
|
2373
2373
|
), y.parameters.length === 0)
|
|
2374
2374
|
y.parameters = void 0;
|
|
@@ -2915,7 +2915,7 @@ function Ze(e, t) {
|
|
|
2915
2915
|
m,
|
|
2916
2916
|
t.apiModule
|
|
2917
2917
|
), t.moduleHasClass && t.config.strict && t.emitError(
|
|
2918
|
-
"A module may only export at most one public class/mixin/custom element. Documentation: https://webgis.esri.com/
|
|
2918
|
+
"A module may only export at most one public class/mixin/custom element. Documentation: https://webgis.esri.com/sdk/contributing/core/core/documenting-api#class",
|
|
2919
2919
|
{ file: t.file, node: e }
|
|
2920
2920
|
), t.moduleHasClass = !0) : yi(
|
|
2921
2921
|
t,
|
|
@@ -3214,7 +3214,7 @@ function Oo(e, t, n) {
|
|
|
3214
3214
|
!0,
|
|
3215
3215
|
n
|
|
3216
3216
|
) !== void 0 && n.emitError(
|
|
3217
|
-
"Type parameters are not yet supported in public mixins (the first TBase type parameter is a special case). See workaround in https://webgis.esri.com/
|
|
3217
|
+
"Type parameters are not yet supported in public mixins (the first TBase type parameter is a special case). See workaround in https://webgis.esri.com/sdk/contributing/core/core/mixins#limitations-of-mixins",
|
|
3218
3218
|
{
|
|
3219
3219
|
file: n.file,
|
|
3220
3220
|
node: e
|
|
@@ -3511,7 +3511,7 @@ function Vo(e, t) {
|
|
|
3511
3511
|
(y.kind === "class" || y.kind === "mixin") && (f.class = y), R === y.name && (f.default = y), f.named[y.name] = y;
|
|
3512
3512
|
}
|
|
3513
3513
|
return m !== void 0 && (t.moduleHasClass ? t.emitError(
|
|
3514
|
-
"A module that exports a class must have JSDoc attached to the class, rather than module-top JSDoc. See https://webgis.esri.com/
|
|
3514
|
+
"A module that exports a class must have JSDoc attached to the class, rather than module-top JSDoc. See https://webgis.esri.com/sdk/contributing/core/core/documenting-api#module-documentation",
|
|
3515
3515
|
{
|
|
3516
3516
|
file: e,
|
|
3517
3517
|
start: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/api-extractor",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.90",
|
|
4
4
|
"description": "Documentation engine for WebGIS SDK packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@commander-js/extra-typings": "^14.0.0",
|
|
54
54
|
"commander": "^14.0.0",
|
|
55
55
|
"tslib": "^2.8.1",
|
|
56
|
-
"@arcgis/components-build-utils": "5.1.0-next.
|
|
57
|
-
"@arcgis/toolkit": "5.1.0-next.
|
|
56
|
+
"@arcgis/components-build-utils": "5.1.0-next.90",
|
|
57
|
+
"@arcgis/toolkit": "5.1.0-next.90"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"typescript": "~6.0.2",
|