@automateinc/fleet-types 1.0.32 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ name: Publish Package to npmjs
2
+ on:
3
+ push:
4
+ branches: ["main"]
5
+
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: read
11
+ id-token: write
12
+
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '20.x'
19
+ registry-url: 'https://registry.npmjs.org'
20
+
21
+ - run: npm install -g semver
22
+
23
+ - name: Bump version temporarily
24
+ run: |
25
+ PACKAGE_NAME=$(jq -r .name package.json)
26
+ LATEST_VERSION=$(npm view "$PACKAGE_NAME" version || echo "0.0.0")
27
+ echo "Latest version: $LATEST_VERSION"
28
+ NEW_VERSION=$(semver -i patch "$LATEST_VERSION")
29
+ echo "Temporary bump to: $NEW_VERSION"
30
+ jq ".version = \"$NEW_VERSION\"" package.json > package.tmp.json
31
+ mv package.tmp.json package.json
32
+
33
+ - run: npm ci
34
+
35
+ - run: npm publish --provenance --access public
36
+ env:
37
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -9,5 +9,6 @@ export interface IRequestAction {
9
9
  type: "VERIFICATION" | "APPROVAL" | "REJECTION" | "CREATION";
10
10
  operation: "HTTP";
11
11
  config: Record<string, any>;
12
+ order: number;
12
13
  fields: IRequestCategoryField[];
13
14
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@automateinc/fleet-types",
3
3
  "private": false,
4
- "version": "1.0.32",
4
+ "version": "1.0.34",
5
5
  "description": "Reusable TypeScript types and interfaces for Fleet API.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",