Skip to content

Commit 5415d4d

Browse files
drielenrleti367
andauthored
Dev Center Stable SDK (Azure#29512)
To do: [x] Regenerate from merged tsp spec [x] Update tests to use vitest [x] Record tests [x] Update samples [] ~~Update Readme~~ [x] Update Changelog [x] Update LRO status model fixed in tsp latest api version pr   --------- Co-authored-by: Lei Tian <[email protected]>
1 parent 1c40836 commit 5415d4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2044
-1893
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 406 additions & 393 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/devcenter/developer-devcenter-rest/.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"@azure/azure-sdk/ts-apiextractor-json-types": "warn",
77
"@azure/azure-sdk/ts-package-json-types": "warn",
88
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
9+
"@azure/azure-sdk/ts-package-json-module": "off",
10+
"@azure/azure-sdk/ts-package-json-files-required": "off",
11+
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
912
"tsdoc/syntax": "warn"
1013
}
1114
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "./build.json",
3+
"include": [
4+
"../src/**/*.ts",
5+
"../src/**/*.mts",
6+
"../src/**/*.tsx"
7+
],
8+
"exclude": [],
9+
"compilerOptions": {
10+
"outDir": "../.tshy-build/browser"
11+
}
12+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "../src",
5+
"module": "nodenext",
6+
"moduleResolution": "nodenext"
7+
}
8+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "./build.json",
3+
"include": [
4+
"../src/**/*.ts",
5+
"../src/**/*.cts",
6+
"../src/**/*.tsx"
7+
],
8+
"exclude": [
9+
"../src/**/*.mts"
10+
],
11+
"compilerOptions": {
12+
"outDir": "../.tshy-build/commonjs"
13+
}
14+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "./build.json",
3+
"include": [
4+
"../src/**/*.ts",
5+
"../src/**/*.mts",
6+
"../src/**/*.tsx"
7+
],
8+
"exclude": [],
9+
"compilerOptions": {
10+
"outDir": "../.tshy-build/esm"
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "./build.json",
3+
"include": [
4+
"../src/**/*.ts",
5+
"../src/**/*.mts",
6+
"../src/**/*.tsx"
7+
],
8+
"exclude": [],
9+
"compilerOptions": {
10+
"outDir": "../.tshy-build/react-native"
11+
}
12+
}

sdk/devcenter/developer-devcenter-rest/CHANGELOG.md

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,46 @@
11
# Release History
22

3-
## 1.0.0-beta.4 (Unreleased)
3+
## 1.0.0 (Unreleased)
4+
5+
This release targets Azure Dev Center 2023-04-01 General Available API, which is the same version as the previous 1.0.0-beta.3 release.
46

57
### Features Added
68

7-
### Breaking Changes
9+
- Added output types:
10+
- DevBoxActionDelayResultStatusOutput
11+
- DevBoxActionTypeOutput
12+
- DevBoxProvisioningStateOutput
13+
- EnvironmentProvisioningStateOutput
14+
- EnvironmentTypeEnableStatusOutput
15+
- HibernateSupportOutput
16+
- LocalAdminStatusOutput
17+
- OperationStateOutput
18+
- OsTypeOutput
19+
- ParameterTypeOutput
20+
- PoolHealthStatusOutput
21+
- PowerStateOutput
22+
- ScheduledFrequencyOutput
23+
- ScheduledTypeOutput
24+
- SkuNameOutput
25+
- StopOnDisconnectEnableStatusOutput
826

9-
### Bugs Fixed
27+
### Breaking Changes
1028

29+
- Rename interfaces to match operation names in Dev Center API documentation
30+
- ListSchedules was renamed to ListSchedulesByPool
31+
- GetSchedule was renamed to GetScheduleByPool
32+
- ListDevBoxes was renamed to ListDevBoxesByUser
33+
- GetDevBox was renamed to GetDevBoxByUser
34+
- ListDevBoxActions was renamed to ListActions
35+
- GetDevBoxAction was renamed to GetAction
36+
- DelayAllActions was renamed to DelayActions
37+
- ListAllEnvironments was renamed to ListEnvironments
38+
- ListEnvironments was renamed to ListEnvironmentsByUser
39+
- GetEnvironment was renamed to GetEnvironmentByUser
40+
- CreateOrUpdateEnvironment was renamed to CreateOrReplaceEnvironment
41+
- ListCatalogs was renamed to ListCatalogsByProject
42+
- ListEnvironmentDefinitions was renamed to listEnvironmentDefinitionsByProject
43+
1144
### Other Changes
1245

1346
## 1.0.0-beta.3 (2023-11-20)

sdk/devcenter/developer-devcenter-rest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Key links:
1515

1616
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/devcenter/developer-devcenter-rest)
1717
- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/developer-devcenter)
18-
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure-rest/developer-devcenter?view=azure-node-preview)
18+
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure-rest/developer-devcenter)
1919
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/devcenter/developer-devcenter-rest/samples)
2020

2121
## Getting started

sdk/devcenter/developer-devcenter-rest/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3-
"mainEntryPointFilePath": "./types/src/index.d.ts",
3+
"mainEntryPointFilePath": "./dist/esm/index.d.ts",
44
"docModel": { "enabled": true },
55
"apiReport": { "enabled": true, "reportFolder": "./review" },
66
"dtsRollup": {

0 commit comments

Comments
 (0)