Граф коммитов

30 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Meng 6a2c7300eb [eslint-plugin] add rule "@typescript-eslint/consistent-type-imports": "warn"
- apply lint:fix results

- revert fixes that are not related to consistent-type-imports and cases error

- regenerate .api.md files

- format

- update core-comparison diff
2024-10-30 15:48:52 +00:00
Daniel Getu 3adb516574
Add overloads to `TableTransaction.updateEntity` (#23132)
The existing API for `TableTransaction.updateEntity` requires passing `undefined` explicitly when using the default `updateMode` with `updateOptions`. This change allows for either optional argument to be passed through their respective binary function declaration.
2022-09-07 18:16:07 +00:00
Tom McGannon d0d647e66a
[Table] Add option to transaction.updateEntity() command (#22562)
* feat(Table): add options to transaction update

Adds the ability to pass an update option to an update transaction.

* doc(Tables): add JSDoc for updateEntity()

* test(Tables): add unit test for updateEntity()

* Recordings for new test case

Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
2022-07-25 10:31:55 -07:00
Daniel Hensby 25bc12cabd
Add NamedKeyCredential to exports for easier consumption (#20935) 2022-04-26 14:22:48 -07:00
Daniel Hensby 6e2b3d13fb
[tables] Add RestError export (#18635)
* NEW Add RestError export

* Update API Extractor docs
2021-11-11 13:45:55 -08:00
Jose Manuel Heredia Hidalgo 43143dd5ca
[Tables] Take base64 string when inserting a binary through metadata object (#18251)
* Take base64 string when inserting a binary through metadata object

* Change long test name

* Update changelog
2021-11-09 13:14:01 -08:00
Jose Manuel Heredia Hidalgo 74b93c7fb8
[Tables] Expose continuation token on TableServiceClient.listTables (#18277)
* Expose continuation token on TableServiceClient.listTables

* Update changelog
2021-11-03 18:14:40 -07:00
Jose Manuel Heredia Hidalgo 3e965811e6
Support manually handling continuationTokens (#18179)
* Support manually handling continuationTokens

* Use PageSettings and update version

* Update samples and page type

* Address PR Comments

* Undo changes to generated samples

* Fix format
2021-10-15 14:42:08 -07:00
Jose Manuel Heredia Hidalgo e9192be985
[Tables] Use generated useragent (#16730)
* Use generated useragent

* add packageDetails to metadata

* Update generated code

* Add transform to fix mappers
2021-08-06 11:46:18 -07:00
Jose Manuel Heredia Hidalgo 2d2c6561ca
[Tables] Support AAD Authentication (#15852)
* Support AAD Authentication

* Update changelog

* Update recordings

* fix format

* Update sdk/tables/data-tables/README.md

Co-authored-by: Matt Ellis <matt.ellis@microsoft.com>

* Address comments and add test

* Update release version

* Add Acknowledgments to changelog

* Fix link

* Remove breaking changes section

Co-authored-by: Matt Ellis <matt.ellis@microsoft.com>
2021-06-23 15:49:17 -07:00
Jose Manuel Heredia Hidalgo 540791d0af
[Tables] Fix setting access policy and add test (#15633)
* Re-generate and Custom serialization for ACL

* format

* update readme

* format readme

* Update changelog

* set swagger package-version

* Update format script

* Fix test and update changelog

* update recorder and recordings

* fix test and changelog

* use deterministic date for test

* update format

* fix lint

* return await

* Update TSDoc samples

* Add additional samples to TSDoc
2021-06-09 13:36:52 -07:00
Jose Manuel Heredia Hidalgo 60d4d5b47c
[Tables] Support SAS Credential and SAS generation (#15564) 2021-06-07 19:55:02 -07:00
Jose Manuel Heredia Hidalgo 60f5b7ae02
[Tables] Drop TablesSharedKeyCredential in favor of core-auth NamedKeyCredential (#15529) 2021-06-03 15:31:08 -07:00
Jose Manuel Heredia Hidalgo c44cfc8bce
[Tables] Support bigint (#15275)
* First stab at supporting bigint

* Address PR comments

* Fix lint issues

* expose pipeline

* Update CI and API Surface

* Try excluding node8

* TestType filter

* Display name filter

* Remove variables

* Keep jobMatrixFilter
2021-05-17 09:37:06 -07:00
Jose Manuel Heredia Hidalgo 044d139da2
[Tables] Refactor Tables transaction (#15250)
* Refactor Transaction

* Add TableTransaction helper

* update changelog

* fix lint

* update docstring

* Update jsdocs and cache interceptClient

* Fix lint
2021-05-13 13:07:05 -07:00
Jose Manuel Heredia Hidalgo 29d1a7d806
[Tables] Add createIfNotExists and deleteIfExists (#14956)
* Add createIfNotExists and deleteIfExists. Loosen Entity output type

* Rename property tableName to name

* update samples

* Cleanup models

* more type cleanup

* remove un-used request options

* Remove next prefixed properties from public types

* Add date samples

* Update batch sample

* Publish samples

* Remove ifNotExist and ifExist
2021-05-11 17:11:31 -07:00
Jose Manuel Heredia Hidalgo b8c4ac2f09
Add upsert operation to BatchClient and upgrade samples (#14799)
* Add upsert operation to BatchClient and upgrade samples

* delete legacy samples

* Remove locale

* Fix links

* Fix samples logger issue

* Re-publish samples
2021-04-13 18:32:50 -07:00
Jeff Fisher e4838de481
[core-https] Rename core-https to core-rest-pipeline (#14042) 2021-03-03 12:11:11 -08:00
Jeff Fisher 7d9c3dd890
[core-client] Unify PipelineOptions and ServiceClientOptions (#13928)
* Clean up high level client options story

* Update dependant clients

* Remove unnecessary properties

* fixup XML imports
2021-02-24 14:01:03 -08:00
Jeff Fisher 959a8c9b96
[data-tables] Manual port of data-tables package to corev2 (#12548)
* Move tables to new core packages
2021-02-01 15:06:48 -08:00
Sarangan Rajamanickam d122851b03
Upgrade V6 SDK Generator Version for Tables (#13362)
* Upgrade V6 SDK Generator Version for Tables

* Hide the clients
2021-01-25 10:07:12 -08:00
Jose Manuel Heredia Hidalgo 1810528404
[Tables] Don't deserialize DateTime to avoid losing precision (#12650)
Fixes #12646

Tables service supports ns precision DateTime however JavaScript doesn't. As part of entity deserialization, whenever we get a property with type Edm.DateTime we parse it into a JavaScript Date object, which can lead to losing precision.

To fix this we need to disable the default deserialization for Edm.DateTime and give the user an "edm" object, similar to what we do for Guid and Int64

```typescript
{
partitionKey: "p1",
rowKey: "r1",
blahblah: {type: "DateTime", value:"the date"}
}
```
2020-11-20 23:27:00 +00:00
Jose Manuel Heredia Hidalgo 8e16eed9e3
[Tables] Rename etag and timestamp system properties (#12060)
* Rename etag and timestamp system properties

* Add test
2020-10-29 14:03:53 -07:00
Jose Manuel Heredia Hidalgo 88d5134b72
[Tables] Tables batch (#11551)
* Prototype batch

* Format

* Support SharedKey auth

* Formatting

* Add comments

* Take InnerBatchRequest

* Address some comments

* Fix circular dependency

* Hide internalBatchRequest

* Parse sub responses

* rename subResponses

* Update import

* move sample interface to the top

* Fix eslint

* Add span

* Split tests

* Fix lint

* undo changes in tableclient test

* Use the right URL

* Hide BatchOptions and mock guid

* Format

* Workaround generateUuid stub issue

* format
2020-10-03 14:04:20 -07:00
Jose Manuel Heredia Hidalgo 89c6f1bf2b
[Tables] Tables serialization fixes (#11052)
* Fix serialization of null and undefined and add missing queryOptions

* Add test for null and undefined
2020-09-04 17:11:22 -05:00
Jose Manuel Heredia Hidalgo ac742c3bb7
[Tables] make PartitionKey and RowKey camel case (#10990)
* Initial changes for casing

* update surface

* Update readme

* Update missing instances of RowKey and PartitionKey

* Use maps

* update

* Use native Map

* remove unused properties

* fix typo
2020-09-04 15:16:27 -05:00
Jose Manuel Heredia Hidalgo 5c7d58e570
[Tables] Fix Shared Key auth and update Readme (#10988)
* Fix Shared Key auth and update Readme

* Use SharedKeyLite

* formatting

* remove double quote

* Escape quotes before signing and add test

* formatting

* Test SharedKey signing

* Remove not needed recordings

* Remove un-needed changes

* Fix test guard
2020-09-04 10:34:31 -05:00
Jose Manuel Heredia Hidalgo f57a7c0c0a
[Tables] Add tracing pipelines (#10941)
* Add tracing

* Address feedback
2020-09-01 09:11:54 -05:00
Jose Manuel Heredia Hidalgo 83c1da1b4b
[Tables] Implement PagableAsyncIterators for listEnitites and listTables operations (#10884)
* Implement async iterators for listEntity

* Add list table

* Fix extra request

* Update API surface

* update samples and rollup externals

* Add create operation

* Update api surface

* Clean up

* Add details for running tests locally

* Make _response non-enumerable

* Fix lint errors
2020-08-28 19:08:33 -05:00
Jose Manuel Heredia Hidalgo 1f22653d2b
[Tables] CreateEntity and CreateTable tests (#10755)
* Add integration tests for Create Table and Table Entity

* Format

* rename azure-tables to azure-data-tables

* int and float test

* Address PR comments

* Fix folder name

* azure-data-tables

* Remove stale api surface

* rename to data-tables

* update sample ur;

* Rename in ci
2020-08-22 00:27:00 -05:00