Skip to content

Commit

Permalink
[Tables] Add the initial files for the track 2 Tables library (Azure#…
Browse files Browse the repository at this point in the history
…9565)

* Add the initial files for the track 2 tables library

* Update the package.json file

* Update pnpm-lock.yaml file

* Fix small nits

* Remove articats from ci.yml

* Add downlevel types

Co-authored-by: Mahdi Varposhti <t-mavar@microsoft.com>
  • Loading branch information
mahdiva and Mahdi Varposhti authored Jun 24, 2020
1 parent ab6926b commit e257985
Show file tree
Hide file tree
Showing 23 changed files with 743 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
/sdk/keyvault/ @jonathandturner @sadasant
/sdk/storage/ @XiaoningLiu @jeremymeng @HarshaNalluru @vinjiang @jiacfan @ljian3377

/sdk/tables/ @mahdiva @joheredi

/sdk/test-utils/ @HarshaNalluru @sadasant
/sdk/textanalytics/ @xirzec @willmtemple
/sdk/formrecognizer/ @jeremymeng @willmtemple
Expand Down
56 changes: 55 additions & 1 deletion common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions dataplane.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@
"name": "storage-queue",
"path": "sdk\\storage\\storage-queue"
},
{
"name": "tables",
"path": "sdk\\tables\\azure-tables"
},
{
"name": "text analytics",
"path": "sdk\\textanalytics\\ai-text-analytics"
Expand Down Expand Up @@ -162,9 +166,11 @@
"**/test-browser/*": true
},
"typescript.tsdk": "core-http\\node_modules\\typescript\\lib",

},
"extensions": {
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
}
5 changes: 5 additions & 0 deletions rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,11 @@
"projectFolder": "sdk/storage/storage-queue",
"versionPolicyName": "client"
},
{
"packageName": "@azure/tables",
"projectFolder": "sdk/tables/azure-tables",
"versionPolicyName": "client"
},
{
"packageName": "@azure/template",
"projectFolder": "sdk/template/template",
Expand Down
4 changes: 4 additions & 0 deletions sdk/tables/azure-tables/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"plugins": ["@azure/azure-sdk"],
"extends": ["plugin:@azure/azure-sdk/azure-sdk-base"]
}
42 changes: 42 additions & 0 deletions sdk/tables/azure-tables/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Current TS File",
"args": [
"${fileBasename}"
],
"runtimeArgs": [
"--nolazy",
"-r",
"ts-node/register"
],
"cwd": "${fileDirname}",
"sourceMaps": true,
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
"name": "Run unit tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/dist-test/index.node.js"
],
"cwd": "${workspaceFolder}",
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": [
"<node_internals>/**/async_hooks.js",
"<node_internals>/**/*.js"
]
}
]
}
16 changes: 16 additions & 0 deletions sdk/tables/azure-tables/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build Node",
"type": "npm",
"script": "build:node",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
3 changes: 3 additions & 0 deletions sdk/tables/azure-tables/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Release History

## 1.0.0-preview.1 (UNRELEASED)
21 changes: 21 additions & 0 deletions sdk/tables/azure-tables/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2020 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
70 changes: 70 additions & 0 deletions sdk/tables/azure-tables/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Azure Tables client library for JavaScript

[Azure Tables](https://azure.microsoft.com/en-us/services/storage/tables/) is a cloud-based service that stores structured NoSQL data, providing a key/attribute store with a schemaless design. Tables storage gives developers flexibility and scalability with all the best parts of Azure cloud.

Use the client library to:

- Create/Delete Tables
- Query/Create/Read/Update/Delete Entities

[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/azure-tables/) | [Package (NPM)](https://www.npmjs.com/package/@azure/tables) | [API reference documentation](https://aka.ms/js-docs) | [Product documentation](https://docs.microsoft.com/en-us/azure/storage/tables/table-storage-overview/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/tables/azure-tables/samples/)

## Getting started

### Currently supported environments

- Node.js version 8.x.x or higher

### Prerequisites

TODO: content

### Install the `@azure/tables` package

TODO: content

### Create and authenticate a `TableServiceClient`

TODO: content

#### Using a Shared Account Key (Connection String)

TODO: content

#### Using a Shared Access Signature

TODO: content

## Key concepts

TODO: content

## Examples

TODO: content

## Troubleshooting

TODO: content

## Next steps

TODO: content

## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/tables/README.png)
31 changes: 31 additions & 0 deletions sdk/tables/azure-tables/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "types/src/index.d.ts",
"docModel": {
"enabled": false
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/latest/tables.d.ts"
},
"messages": {
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
Loading

0 comments on commit e257985

Please sign in to comment.