Skip to content

Commit b010c26

Browse files
Merge pull request #2 from crispthinking/feature/action-fix
chore: update GitHub Actions workflow indentation and add .venv to .g…
2 parents 3cf26a2 + f513c6d commit b010c26

5 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/typedoc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Deploy TypeDoc on GitHub pages
22

33
on:
4-
push:
5-
branches:
6-
main
4+
push:
5+
branches:
6+
main
77

88
env:
99

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ build/
2828
# Misc
2929
.DS_Store
3030
.env
31+
32+
.venv

__tests__/unit/main.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('classifierHelper', () => {
2727
}
2828
// Assert error is unset
2929
expect(error).toBeNull();
30-
}, { timeout: 10000 })
30+
}, 10000)
3131
});
3232

3333
describe('classifyImage function', () => {
@@ -90,5 +90,5 @@ describe('classifyImage function', () => {
9090

9191
// Accept either a successful call or a connection error (for CI/dev convenience)
9292
expect(error).toBeUndefined();
93-
}, { timeout: 120000 });
93+
}, 120000);
9494
});

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import tseslint from 'typescript-eslint';
99
// You should change it to your needs following the documentation.
1010
export default tseslint.config(
1111
{
12-
ignores: ['**/build/**', '**/__tests__/**', '**/tmp/**', '**/coverage/**', 'src/athena/**'],
12+
ignores: ['**/build/**', '.venv/**', '**/__tests__/**', '**/tmp/**', '**/coverage/**', 'src/athena/**'],
1313
},
1414
eslint.configs.recommended,
1515
eslintConfigPrettier,

src/main.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import {
2424
} from './authenticationManager';
2525
import { computeHashesFromStream } from './hashing';
2626

27-
2827
/**
2928
* Options for the classifyImage method.
3029
* @property affiliate Optional affiliate identifier for the request.
@@ -41,7 +40,6 @@ export interface ClassifyImageOptions {
4140
format?: ClassifyRequest['inputs'][number]['format'];
4241
}
4342

44-
4543
/**
4644
* Options for initializing the ClassifierSdk helper.
4745
* @property keepAliveInterval Optional interval (ms) for keep-alive pings.
@@ -58,7 +56,6 @@ export interface ClassifierHelperOptions {
5856
authentication: AuthenticationOptions;
5957
}
6058

61-
6259
/**
6360
* Event types emitted by the ClassifierSdk.
6461
* @property error Emitted when an error occurs.
@@ -77,7 +74,6 @@ export type ClassifierEvents = {
7774
export const defaultGrpcAddress =
7875
'csam-classification-messages.crispdev.com:443';
7976

80-
8177
/**
8278
* SDK for interacting with the Athena classification service via gRPC.
8379
* Emits events for data, errors, open, and close.

0 commit comments

Comments
 (0)