@azure/template-dpg 1.0.0-alpha.20260303.4 → 1.0.0-alpha.20260305.5
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/commonjs/WidgetServiceClient.js +4 -0
- package/dist/commonjs/api/WidgetServiceContext.js +4 -0
- package/dist/commonjs/api/foo.js +4 -0
- package/dist/commonjs/api/index.js +10 -0
- package/dist/commonjs/api/operations.js +21 -0
- package/dist/commonjs/index.js +4 -0
- package/dist/commonjs/logger.js +4 -0
- package/dist/commonjs/rest/index.js +5 -0
- package/dist/commonjs/rest/isUnexpected.js +4 -0
- package/package.json +3 -3
|
@@ -40,3 +40,7 @@ function createWidgetService(endpoint, credentialOrOptions, options = {}) {
|
|
|
40
40
|
return (0, import_widgetServiceClient.default)(baseUrl, credentialOrOptions);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
+
0 && (module.exports = {
|
|
45
|
+
createWidgetService
|
|
46
|
+
});
|
package/dist/commonjs/api/foo.js
CHANGED
|
@@ -28,3 +28,13 @@ __export(api_exports, {
|
|
|
28
28
|
module.exports = __toCommonJS(api_exports);
|
|
29
29
|
var import_operations = require("./operations.js");
|
|
30
30
|
var import_WidgetServiceContext = require("./WidgetServiceContext.js");
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
analyzeWidget,
|
|
34
|
+
createWidget,
|
|
35
|
+
createWidgetService,
|
|
36
|
+
deleteWidget,
|
|
37
|
+
getWidget,
|
|
38
|
+
listWidgets,
|
|
39
|
+
updateWidget
|
|
40
|
+
});
|
|
@@ -175,3 +175,24 @@ async function _analyzeWidget(context, id, options = { requestOptions: {} }) {
|
|
|
175
175
|
const result = await _analyzeWidgetSend(context, id, options);
|
|
176
176
|
return _analyzeWidgetDeserialize(result);
|
|
177
177
|
}
|
|
178
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
179
|
+
0 && (module.exports = {
|
|
180
|
+
_analyzeWidgetDeserialize,
|
|
181
|
+
_analyzeWidgetSend,
|
|
182
|
+
_createWidgetDeserialize,
|
|
183
|
+
_createWidgetSend,
|
|
184
|
+
_deleteWidgetDeserialize,
|
|
185
|
+
_deleteWidgetSend,
|
|
186
|
+
_getWidgetDeserialize,
|
|
187
|
+
_getWidgetSend,
|
|
188
|
+
_listWidgetsDeserialize,
|
|
189
|
+
_listWidgetsSend,
|
|
190
|
+
_updateWidgetDeserialize,
|
|
191
|
+
_updateWidgetSend,
|
|
192
|
+
analyzeWidget,
|
|
193
|
+
createWidget,
|
|
194
|
+
deleteWidget,
|
|
195
|
+
getWidget,
|
|
196
|
+
listWidgets,
|
|
197
|
+
updateWidget
|
|
198
|
+
});
|
package/dist/commonjs/index.js
CHANGED
|
@@ -21,3 +21,7 @@ __export(src_exports, {
|
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(src_exports);
|
|
23
23
|
var import_WidgetServiceClient = require("./WidgetServiceClient.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
WidgetServiceClient
|
|
27
|
+
});
|
package/dist/commonjs/logger.js
CHANGED
|
@@ -22,3 +22,7 @@ __export(logger_exports, {
|
|
|
22
22
|
module.exports = __toCommonJS(logger_exports);
|
|
23
23
|
var import_logger = require("@azure/logger");
|
|
24
24
|
const logger = (0, import_logger.createClientLogger)("widget");
|
|
25
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
+
0 && (module.exports = {
|
|
27
|
+
logger
|
|
28
|
+
});
|
|
@@ -35,3 +35,8 @@ var import_widgetServiceClient = __toESM(require("./widgetServiceClient.js"));
|
|
|
35
35
|
__reExport(rest_exports, require("./widgetServiceClient.js"), module.exports);
|
|
36
36
|
__reExport(rest_exports, require("./isUnexpected.js"), module.exports);
|
|
37
37
|
var rest_default = import_widgetServiceClient.default;
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
...require("./widgetServiceClient.js"),
|
|
41
|
+
...require("./isUnexpected.js")
|
|
42
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/template-dpg",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20260305.5",
|
|
4
4
|
"description": "Widget Service",
|
|
5
5
|
"sdk-type": "client",
|
|
6
6
|
"main": "./dist/commonjs/index.js",
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
"vitest": "^4.0.8",
|
|
102
102
|
"@azure-tools/test-credential": "^2.1.2",
|
|
103
103
|
"@azure-tools/test-recorder": "^4.1.1",
|
|
104
|
-
"@azure/
|
|
104
|
+
"@azure-tools/test-utils-vitest": "^2.0.1",
|
|
105
105
|
"@azure/dev-tool": "^1.0.0",
|
|
106
|
-
"@azure
|
|
106
|
+
"@azure/eslint-plugin-azure-sdk": "^3.0.0"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
109
|
"@azure-rest/core-client": ">=2.5.2-alpha <2.5.2-alphb",
|