Skip to content
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
d0ff2c9
Separate pipelines API into a subpackages
MarkDuckworth Apr 24, 2025
6416ce7
Finish refactoring Pipelines to namespace of the main module export. …
MarkDuckworth May 28, 2025
a6c6045
Updated samples and added placeholder in readme partials, for pipelines
MarkDuckworth May 28, 2025
b2529e5
Update signatures of add and multiply to take exactly 2 args
MarkDuckworth May 28, 2025
468207e
PipelineOptions for execute
MarkDuckworth Jun 2, 2025
77ba06a
Every stage accepts a StageOptions object
MarkDuckworth Jun 9, 2025
a47e57f
Implement and test stage options
MarkDuckworth Jun 12, 2025
e157283
Preview protos
MarkDuckworth Jun 12, 2025
fa62225
Merge branch 'markduckworth/pipelines-proto-update' of github.com:goo…
MarkDuckworth Jun 12, 2025
520de0e
Merge branch 'main' of github.com:googleapis/nodejs-firestore into ma…
MarkDuckworth Jun 13, 2025
495047a
Update.sh script fixes
MarkDuckworth Jun 13, 2025
01e655b
Update google-gax dependency to v5
MarkDuckworth Jun 13, 2025
c9b2cf0
Fixed preview protos
MarkDuckworth Jun 13, 2025
a6694d5
Merge branch 'markduckworth/pipelines-proto-update' of github.com:goo…
MarkDuckworth Jun 13, 2025
b257b2c
Fixes for google-gax major version update
MarkDuckworth Jun 13, 2025
7a92e14
Code formatting
MarkDuckworth Jun 25, 2025
d303183
Implement explain result parsing and tests.
MarkDuckworth Jul 1, 2025
80b48e8
Merge branch 'feat/pipelines' of github.com:googleapis/nodejs-firesto…
MarkDuckworth Jul 1, 2025
c58c234
Merge branch 'markduckworth/pipelines-subpackage' into markduckworth/…
MarkDuckworth Jul 1, 2025
8a19d72
Replaced rawValue(): unknown with rawData(): IAny
MarkDuckworth Jul 2, 2025
801f73f
Test error propagation for pipelines.
MarkDuckworth Jul 11, 2025
96e9121
Test that explain stats are accessible in an error case.
MarkDuckworth Jul 11, 2025
40febb1
Rename array_offset to array_get
MarkDuckworth Jul 14, 2025
777a844
Remove bit* functions. These are not included in the upcoming release.
MarkDuckworth Jul 14, 2025
5d1f81c
Remove replaceAll and replaceFirst
MarkDuckworth Jul 14, 2025
6baf1f3
Rename substr to substring
MarkDuckworth Jul 14, 2025
89cbe8a
Add arrayReverse expression
MarkDuckworth Jul 14, 2025
ce6296b
add expression 'ceil'
MarkDuckworth Jul 14, 2025
21b67c5
Implement expression
MarkDuckworth Jul 16, 2025
259fc80
Adding expression 'exp'
MarkDuckworth Jul 16, 2025
c8742be
Add floor expression
MarkDuckworth Jul 16, 2025
4bbbb07
Add todos for new-expression
MarkDuckworth Jul 17, 2025
a998398
Implement expression pow
MarkDuckworth Jul 17, 2025
8f1a199
Add expression 'round'
MarkDuckworth Jul 17, 2025
370f9da
collectionId expression
MarkDuckworth Jul 18, 2025
7358780
fix length expression tests and exports
MarkDuckworth Jul 18, 2025
35babde
ln, log, sqrt expressions
MarkDuckworth Jul 18, 2025
fe58924
feat: Add strReverse expression (#2394)
MarkDuckworth Jul 21, 2025
3c6559a
Fix reference parsing
MarkDuckworth Jul 22, 2025
850e485
Markduckworth/better reference value handling (#2395)
MarkDuckworth Jul 30, 2025
3fcd99d
Merge branch 'markduckworth/pipelines-new-expressions' of github.com:…
MarkDuckworth Jul 30, 2025
24cc92d
Merge branch 'feat/pipelines' of github.com:googleapis/nodejs-firesto…
MarkDuckworth Jul 30, 2025
2347f81
Test cleanup
MarkDuckworth Jul 30, 2025
e1389f7
Merge branch 'feat/pipelines' of github.com:googleapis/nodejs-firesto…
MarkDuckworth Jul 31, 2025
2e6c64f
Fix linter errors
MarkDuckworth Jul 31, 2025
2eea5f3
Fix eslint config and resolve remaining eslint errors
MarkDuckworth Jul 31, 2025
c158888
Markduckworth/pipelines api review (#2410)
MarkDuckworth Aug 19, 2025
5b918fd
Remove json from explain output format
MarkDuckworth Aug 25, 2025
76ca8e5
Fix PR comments
MarkDuckworth Oct 21, 2025
3c90c07
formatting
MarkDuckworth Oct 21, 2025
0c3ff95
Delete scripts/extract-tsdoc.py
MarkDuckworth Oct 21, 2025
d669f02
Merge branch 'markduckworth/pipelines-new-expressions' of github.com:…
MarkDuckworth Oct 21, 2025
49c539c
Add @beta tag to the full API surface
MarkDuckworth Oct 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"overrides": [
{
"files": [
"dev/src/*.ts"
"dev/src/**/*.ts"
],
"excludedFiles": [
"dev/src/v1/*.ts",
"dev/src/v1beta1/*.ts"
],
"parser": "@typescript-eslint/parser",
"rules": {
Expand All @@ -18,7 +22,8 @@
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_$" // Ignore args that are underscore only
// Ignore args that are underscore only
"argsIgnorePattern": "^_$"
}
]
}
Expand All @@ -40,6 +45,13 @@
"object": "it",
"property": "only"
}
],
"@typescript-eslint/no-unused-vars": [
"warn",
{
// Ignore args that are underscore only
"argsIgnorePattern": "^_$"
}
]
}
}
Expand Down
11 changes: 8 additions & 3 deletions dev/src/path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const DEFAULT_DATABASE_ID = '(default)';
*/
const RESOURCE_PATH_RE =
// Note: [\s\S] matches all characters including newlines.
/^projects\/([^/]*)\/databases\/([^/]*)(?:\/documents\/)?([\s\S]*)$/;
/^projects\/([^/]+)\/databases\/([^/]+)(?:\/documents(?:\/([^/]+(?:\/[^/]+)*))?)?$/;

/*!
* A regular expression to verify whether a field name can be passed to the
Expand Down Expand Up @@ -455,8 +455,13 @@ export class QualifiedResourcePath extends ResourcePath {
if (elements) {
const project = elements[1];
const database = elements[2];
const path = elements[3];
return new QualifiedResourcePath(project, database).append(path);
const root = new QualifiedResourcePath(project, database);

if (!elements[3]) {
return root;
} else {
return root.append(elements[3]);
}
}

throw new Error(`Resource name '${absolutePath}' is not valid.`);
Expand Down
Loading
Loading