Skip to content

Commit

Permalink
Sdk package methods adoption (#2943)
Browse files Browse the repository at this point in the history
* sdkPackage-methods-adoption

* remove client server

* reserve work

* sdk client type

* sdk client type

* Modular Emitter Options

* encode and format etc

* add initial network analytics generation

* hierarchies fixes

* generate subscriptionId at client level

* subscription id fix

* fix options and headers map

* create client fix

* fix paging return type

* restore poller fix

* fix deserialize func return type

* fix unit test

* to not include extra body parameters

* fix serialize and deser for spread

* fix parameter name normalization

* Update packages/typespec-ts/test/modularUnit/scenarios/operations/cookieParam/ignoreCookieParam.md

* fix encoding

* fix collection format

* fix paging item name and next link name

* fix path constant param

* remove some unnecessary as any

* fix nullable param serialize and deserialize

* fix constant content-type header and optional spread body ser/deser

* add option?

* fix content type

* fix endpoint request url

* fix hierarchies

* fix a bunch issues in smoke test

* fix endpoint undefined case

* fix default encoding as base64

* fix unit test

* fix paging helper missing

* fix restorePollingHelper non lro deser map

* reserve work

* fix hierarchies in modular

* fix group name empty string

* fix unit test

* fix modular integration test

* fix operation name normalize

* remove api version and send api version when build request

* fix server integration test

* fix parameter order change

* fix namespace renamed

* rlc common format

* fix model being used in both spread and unspread operations

* reserve work

* fix spread ser/deser

* fix createContext with fixed enum param

* fix path api version has default value

* fix param name and operation name conflict

* fix content type and optional params

* fix revert bytes logic

* revert api version as context property change

* add apiVersion in the client level but remove the policy in operation level if not query

* fix hasCollectionFormat

* fix removePolicy and datetime nullable ser/der

* fix ci

* clean up unused modular models code

* fix ci

* fix ci

* fix ci

* resolve comments

* fix paging in unbranding

* revert client method map

* to not expose contentType and accept as parameter or optional parameter and spread optional headers

* remove optional contentType with guessed value for optional body

---------

Co-authored-by: Qiaoqiao Zhang <[email protected]>
  • Loading branch information
qiaozha and Qiaoqiao Zhang authored Dec 26, 2024
1 parent 8210d5b commit 3b5a635
Show file tree
Hide file tree
Showing 334 changed files with 18,701 additions and 17,956 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"./package.json": "./package.json",
".": "./src/index.ts",
"./models": "./src/models/index.ts",
"./api/operations": "./src/api/operations/index.ts",
"./api/dataProductsCatalogs": "./src/api/dataProductsCatalogs/index.ts",
"./api/dataProducts": "./src/api/dataProducts/index.ts",
"./api/dataTypes": "./src/api/dataTypes/index.ts",
"./api/dataProducts": "./src/api/dataProducts/index.ts"
"./api/dataProductsCatalogs": "./src/api/dataProductsCatalogs/index.ts",
"./api/operations": "./src/api/operations/index.ts"
},
"dialects": [
"esm",
Expand Down Expand Up @@ -127,40 +127,22 @@
"default": "./dist/commonjs/models/index.js"
}
},
"./api/operations": {
"browser": {
"types": "./dist/browser/api/operations/index.d.ts",
"default": "./dist/browser/api/operations/index.js"
},
"react-native": {
"types": "./dist/react-native/api/operations/index.d.ts",
"default": "./dist/react-native/api/operations/index.js"
},
"import": {
"types": "./dist/esm/api/operations/index.d.ts",
"default": "./dist/esm/api/operations/index.js"
},
"require": {
"types": "./dist/commonjs/api/operations/index.d.ts",
"default": "./dist/commonjs/api/operations/index.js"
}
},
"./api/dataProductsCatalogs": {
"./api/dataProducts": {
"browser": {
"types": "./dist/browser/api/dataProductsCatalogs/index.d.ts",
"default": "./dist/browser/api/dataProductsCatalogs/index.js"
"types": "./dist/browser/api/dataProducts/index.d.ts",
"default": "./dist/browser/api/dataProducts/index.js"
},
"react-native": {
"types": "./dist/react-native/api/dataProductsCatalogs/index.d.ts",
"default": "./dist/react-native/api/dataProductsCatalogs/index.js"
"types": "./dist/react-native/api/dataProducts/index.d.ts",
"default": "./dist/react-native/api/dataProducts/index.js"
},
"import": {
"types": "./dist/esm/api/dataProductsCatalogs/index.d.ts",
"default": "./dist/esm/api/dataProductsCatalogs/index.js"
"types": "./dist/esm/api/dataProducts/index.d.ts",
"default": "./dist/esm/api/dataProducts/index.js"
},
"require": {
"types": "./dist/commonjs/api/dataProductsCatalogs/index.d.ts",
"default": "./dist/commonjs/api/dataProductsCatalogs/index.js"
"types": "./dist/commonjs/api/dataProducts/index.d.ts",
"default": "./dist/commonjs/api/dataProducts/index.js"
}
},
"./api/dataTypes": {
Expand All @@ -181,22 +163,40 @@
"default": "./dist/commonjs/api/dataTypes/index.js"
}
},
"./api/dataProducts": {
"./api/dataProductsCatalogs": {
"browser": {
"types": "./dist/browser/api/dataProducts/index.d.ts",
"default": "./dist/browser/api/dataProducts/index.js"
"types": "./dist/browser/api/dataProductsCatalogs/index.d.ts",
"default": "./dist/browser/api/dataProductsCatalogs/index.js"
},
"react-native": {
"types": "./dist/react-native/api/dataProducts/index.d.ts",
"default": "./dist/react-native/api/dataProducts/index.js"
"types": "./dist/react-native/api/dataProductsCatalogs/index.d.ts",
"default": "./dist/react-native/api/dataProductsCatalogs/index.js"
},
"import": {
"types": "./dist/esm/api/dataProducts/index.d.ts",
"default": "./dist/esm/api/dataProducts/index.js"
"types": "./dist/esm/api/dataProductsCatalogs/index.d.ts",
"default": "./dist/esm/api/dataProductsCatalogs/index.js"
},
"require": {
"types": "./dist/commonjs/api/dataProducts/index.d.ts",
"default": "./dist/commonjs/api/dataProducts/index.js"
"types": "./dist/commonjs/api/dataProductsCatalogs/index.d.ts",
"default": "./dist/commonjs/api/dataProductsCatalogs/index.js"
}
},
"./api/operations": {
"browser": {
"types": "./dist/browser/api/operations/index.d.ts",
"default": "./dist/browser/api/operations/index.js"
},
"react-native": {
"types": "./dist/react-native/api/operations/index.d.ts",
"default": "./dist/react-native/api/operations/index.js"
},
"import": {
"types": "./dist/esm/api/operations/index.d.ts",
"default": "./dist/esm/api/operations/index.js"
},
"require": {
"types": "./dist/commonjs/api/operations/index.d.ts",
"default": "./dist/commonjs/api/operations/index.js"
}
}
},
Expand Down
Loading

0 comments on commit 3b5a635

Please sign in to comment.