Skip to content

Commit 9efd68a

Browse files
authored
feat: support format parameter (#13)
1 parent 760cf1c commit 9efd68a

File tree

8 files changed

+13428
-20
lines changed

8 files changed

+13428
-20
lines changed

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
test:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121

22-
- name: Use Node.js 12
23-
uses: actions/setup-node@v1
22+
- name: Use Node.js 16
23+
uses: actions/setup-node@v3
2424
with:
25-
node-version: 12.x
25+
node-version: 16.x
2626

2727
- run: npm install
2828

@@ -38,7 +38,7 @@ jobs:
3838
- test
3939
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta'
4040
steps:
41-
- uses: actions/checkout@v2
41+
- uses: actions/checkout@v3
4242
with:
4343
# Pulls all commits (needed for semantic release to correctly version)
4444
# See https://github.com/semantic-release/semantic-release/issues/1526
@@ -50,7 +50,7 @@ jobs:
5050
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
5151

5252
- name: Use Node.js 16
53-
uses: actions/setup-node@v1
53+
uses: actions/setup-node@v3
5454
with:
5555
node-version: 16.x
5656

@@ -62,4 +62,4 @@ jobs:
6262
env:
6363
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6464
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
65-
run: npx semantic-release
65+
run: npx semantic-release@^19

.npmrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
access=public
2-
package-lock=false
1+
access=public

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 VertiGIS North America Ltd.
3+
Copyright (c) 2023 VertiGIS North America Ltd.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# VertiGIS Studio Reporting Client for JavaScript
22

3-
![CI/CD](https://github.com/geocortex/vertigis-reporting-client-js/workflows/CI/CD/badge.svg) ![npm](https://img.shields.io/npm/v/@vertigis/reporting-client)
3+
![CI/CD](https://github.com/vertigis/vertigis-reporting-client-js/workflows/CI/CD/badge.svg) ![npm](https://img.shields.io/npm/v/@vertigis/reporting-client)
44

55
This library makes it easy to run [VertiGIS Studio Reporting](https://www.vertigisstudio.com/products/vertigis-studio-reporting/) or [VertiGIS Studio Printing](https://www.vertigisstudio.com/products/vertigis-studio-printing/) jobs in the browser.
66

@@ -37,6 +37,7 @@ const url = await run("itemId", options?);
3737
| -------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3838
| culture | string | The culture to use for localization. For example `"en-US"`. |
3939
| dpi | number | The DPI to use when rendering a map print. Defaults to `96`. |
40+
| format | string | The output format of the report. Defaults to `"pdf"`. |
4041
| parameters | object | An object specifying additional parameters to pass to the job. |
4142
| portalUrl | string | The URL of the ArcGIS Portal instance to use. Defaults to ArcGIS Online: `"https://www.arcgis.com"`. |
4243
| resultFileName | string | The name assigned to the output file. It is used as the name of the tab when viewing the result in a browser and as the suggested name when downloading the result. |
@@ -82,4 +83,4 @@ const url = await run("itemId", {
8283
8384
## Documentation
8485
85-
Find [further documentation on the SDK](https://developers.geocortex.com/docs/reporting/sdk-overview/) on the [VertiGIS Studio Developer Center](https://developers.geocortex.com/docs/reporting/overview/).
86+
Find [further documentation on the SDK](https://developers.vertigisstudio.com/docs/reporting/sdk-overview/) on the [VertiGIS Studio Developer Center](https://developers.vertigisstudio.com/docs/reporting/overview/).

0 commit comments

Comments
 (0)