Skip to content

Commit 7bc8eda

Browse files
authored
initial commit of package:googleapis_firestore_v1 (#233)
1 parent 6274b72 commit 7bc8eda

File tree

7 files changed

+129
-0
lines changed

7 files changed

+129
-0
lines changed

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
- changed-files:
1313
- any-glob-to-any-file: 'pkgs/gcloud/**'
1414

15+
'package:googleapis_firestore_v1':
16+
- changed-files:
17+
- any-glob-to-any-file: 'pkgs/googleapis_firestore_v1/**'
18+
1519
'package:io_file':
1620
- changed-files:
1721
- any-glob-to-any-file: 'pkgs/io_file/**'
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: package:googleapis_firestore_v1
2+
3+
permissions: read-all
4+
5+
on:
6+
# Run CI on pushes to the main branch, and on PRs against main.
7+
push:
8+
branches: [ main ]
9+
paths:
10+
- '.github/workflows/googleapis_firestore_v1.yml'
11+
- 'pkgs/googleapis_firestore_v1/**'
12+
pull_request:
13+
branches: [ main ]
14+
paths:
15+
- '.github/workflows/googleapis_firestore_v1.yml'
16+
- 'pkgs/googleapis_firestore_v1/**'
17+
schedule:
18+
- cron: '0 0 * * 0' # weekly
19+
20+
defaults:
21+
run:
22+
working-directory: pkgs/googleapis_firestore_v1
23+
24+
jobs:
25+
build:
26+
runs-on: ubuntu-latest
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
sdk: [stable, dev]
31+
steps:
32+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
33+
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
34+
with:
35+
sdk: ${{ matrix.sdk }}
36+
37+
- run: dart pub get
38+
39+
- run: dart analyze --fatal-infos
40+
41+
- run: dart format --output=none --set-exit-if-changed .
42+
if: ${{ matrix.sdk == 'stable' }}
43+
44+
# - run: dart test
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://dart.dev/guides/libraries/private-files
2+
# Created by `dart pub`
3+
.dart_tool/
4+
5+
# Avoid committing pubspec.lock for library packages; see
6+
# https://dart.dev/guides/libraries/private-files#pubspeclock.
7+
pubspec.lock

pkgs/googleapis_firestore_v1/LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright 2025, the Dart project authors.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above
10+
copyright notice, this list of conditions and the following
11+
disclaimer in the documentation and/or other materials provided
12+
with the distribution.
13+
* Neither the name of Google LLC nor the names of its
14+
contributors may be used to endorse or promote products derived
15+
from this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
An experimental gRPC client for the Cloud Firestore API.
2+
3+
## About
4+
5+
Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
6+
document database that simplifies storing, syncing, and querying data for
7+
your mobile, web, and IoT apps at global scale. Its client libraries provide
8+
live synchronization and offline support, while its security features and
9+
integrations with Firebase and Google Cloud Platform accelerate building
10+
truly serverless apps.
11+
12+
See also:
13+
14+
- https://firebase.google.com/docs/firestore
15+
- https://cloud.google.com/firestore/native/docs/apis
16+
17+
This package is a generated gRPC client used to access the Firestore API.
18+
19+
## Status: Experimental
20+
21+
**NOTE**: This package is currently experimental and published under the
22+
[labs.dart.dev](https://dart.dev/dart-team-packages) pub publisher in order to
23+
solicit feedback.
24+
25+
For packages in the labs.dart.dev publisher we generally plan to either graduate
26+
the package into a supported publisher (dart.dev, tools.dart.dev) after a period
27+
of feedback and iteration, or discontinue the package. These packages have a
28+
much higher expected rate of API and breaking changes.
29+
30+
Your feedback is valuable and will help us evolve this package. For general
31+
feedback, suggestions, and comments, please file an issue in the
32+
[bug tracker](https://github.com/dart-lang/labs/issues).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include: package:lints/recommended.yaml
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: googleapis_firestore_v1
2+
description: A gRPC client for the Cloud Firestore API.
3+
version: 0.1.0
4+
repository: https://github.com/dart-lang/labs/tree/main/pkgs/googleapis_firestore_v1
5+
6+
publish_to: none
7+
8+
environment:
9+
sdk: ^3.7.0
10+
11+
#dependencies:
12+
13+
dev_dependencies:
14+
lints: ^6.0.0

0 commit comments

Comments
 (0)