Skip to content

Commit

Permalink
Merge branch 'main' into ddb-fsa-appcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
DellaBitta committed Dec 16, 2024
2 parents 1e511b5 + 46c91bc commit ad17dab
Show file tree
Hide file tree
Showing 139 changed files with 4,641 additions and 3,102 deletions.
5 changes: 0 additions & 5 deletions .changeset/nervous-timers-call.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-toys-chew.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-peas-tell.md

This file was deleted.

53 changes: 0 additions & 53 deletions .changeset/tame-paws-nail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-boxes-brake.md

This file was deleted.

11 changes: 2 additions & 9 deletions .github/workflows/test-changed-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,12 @@ jobs:
run: xvfb-run yarn test:changed auth
test-firefox:
name: Test Auth on Firefox If Changed
# Whatever version of Firefox comes with 22.04 is causing Firefox
# startup to hang when launched by karma. Need to look further into
# why.

runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: install Firefox stable
run: |
sudo apt-get update
sudo apt-get install firefox
sudo apt-get install wget
run: npx @puppeteer/browsers install firefox@stable
- name: Checkout Repo
uses: actions/checkout@v4
with:
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/test-changed-firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,17 +169,12 @@ jobs:

compat-test-firefox:
name: Test Firestore Compatible on Firefox
# Whatever version of Firefox comes with 22.04 is causing Firefox
# startup to hang when launched by karma. Need to look further into
# why.
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: build
if: ${{ needs.build.outputs.changed == 'true'}}
steps:
- name: install Firefox stable
run: |
sudo apt-get update
sudo apt-get install firefox
run: npx @puppeteer/browsers install firefox@stable
- name: Set up Node (20)
uses: actions/setup-node@v3
with:
Expand All @@ -202,17 +197,12 @@ jobs:
strategy:
matrix:
test-name: ["test:browser", "test:travis", "test:lite:browser", "test:browser:prod:nameddb", "test:lite:browser:nameddb"]
# Whatever version of Firefox comes with 22.04 is causing Firefox
# startup to hang when launched by karma. Need to look further into
# why.
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: build
if: ${{ needs.build.outputs.changed == 'true'}}
steps:
- name: install Firefox stable
run: |
sudo apt-get update
sudo apt-get install firefox
run: npx @puppeteer/browsers install firefox@stable
- name: Download build archive
uses: actions/download-artifact@v3
with:
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/test-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,7 @@ jobs:

test-firefox:
name: Test Packages With Changed Files in Firefox
# Whatever version of Firefox comes with 22.04 is causing Firefox
# startup to hang when launched by karma. Need to look further into
# why.
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
Expand All @@ -65,9 +62,7 @@ jobs:
with:
node-version: 22.10.0
- name: install Firefox stable
run: |
sudo apt-get update
sudo apt-get install firefox
run: npx @puppeteer/browsers install firefox@stable
- name: Test setup and yarn install
run: |
cp config/ci.config.json config/project.json
Expand Down
25 changes: 22 additions & 3 deletions common/api-review/functions.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,18 @@ export type FunctionsErrorCodeCore = 'ok' | 'cancelled' | 'unknown' | 'invalid-a
export function getFunctions(app?: FirebaseApp, regionOrCustomDomain?: string): Functions;

// @public
export type HttpsCallable<RequestData = unknown, ResponseData = unknown> = (data?: RequestData | null) => Promise<HttpsCallableResult<ResponseData>>;
export interface HttpsCallable<RequestData = unknown, ResponseData = unknown, StreamData = unknown> {
// (undocumented)
(data?: RequestData | null): Promise<HttpsCallableResult<ResponseData>>;
// (undocumented)
stream: (data?: RequestData | null, options?: HttpsCallableStreamOptions) => Promise<HttpsCallableStreamResult<ResponseData, StreamData>>;
}

// @public
export function httpsCallable<RequestData = unknown, ResponseData = unknown>(functionsInstance: Functions, name: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>;
export function httpsCallable<RequestData = unknown, ResponseData = unknown, StreamData = unknown>(functionsInstance: Functions, name: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData, StreamData>;

// @public
export function httpsCallableFromURL<RequestData = unknown, ResponseData = unknown>(functionsInstance: Functions, url: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>;
export function httpsCallableFromURL<RequestData = unknown, ResponseData = unknown, StreamData = unknown>(functionsInstance: Functions, url: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData, StreamData>;

// @public
export interface HttpsCallableOptions {
Expand All @@ -54,5 +59,19 @@ export interface HttpsCallableResult<ResponseData = unknown> {
readonly data: ResponseData;
}

// @public
export interface HttpsCallableStreamOptions {
limitedUseAppCheckTokens?: boolean;
signal?: AbortSignal;
}

// @public
export interface HttpsCallableStreamResult<ResponseData = unknown, StreamData = unknown> {
// (undocumented)
readonly data: Promise<ResponseData>;
// (undocumented)
readonly stream: AsyncIterable<StreamData>;
}


```
1 change: 1 addition & 0 deletions config/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Uncomment this if you'd like others to create their own Firebase project.
Loading

0 comments on commit ad17dab

Please sign in to comment.