typescript-github-action-template 0.2.22 → 0.2.24

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.
@@ -1,16 +1,5 @@
1
1
  /* eslint-disable */
2
2
  import * as types from './graphql.js';
3
- /**
4
- * Map of all GraphQL operations in the project.
5
- *
6
- * This map has several performance disadvantages:
7
- * 1. It is not tree-shakeable, so it will include all operations in the project.
8
- * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
9
- * 3. It does not support dead code elimination, so it will add unused operations.
10
- *
11
- * Therefore it is highly recommended to use the babel or swc plugin for production.
12
- * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
13
- */
14
3
  const documents = {
15
4
  '\n query ViewerLogin {\n viewer {\n login\n }\n }\n': types.ViewerLoginDocument,
16
5
  };
@@ -1291,6 +1291,8 @@ export type Bot = Actor & Node & UniformResourceLocatable & {
1291
1291
  export type BotAvatarUrlArgs = {
1292
1292
  size?: InputMaybe<Scalars['Int']['input']>;
1293
1293
  };
1294
+ /** Used when either Bot or User are accepted. */
1295
+ export type BotOrUser = Bot | User;
1294
1296
  /** Types which can be actors for `BranchActorAllowance` objects. */
1295
1297
  export type BranchActorAllowanceActor = App | Team | User;
1296
1298
  /** Parameters to be used for the branch_name_pattern rule */
@@ -32977,9 +32979,9 @@ export type ViewerLoginQuery = {
32977
32979
  };
32978
32980
  };
32979
32981
  export declare class TypedDocumentString<TResult, TVariables> extends String implements DocumentTypeDecoration<TResult, TVariables> {
32982
+ __apiType?: DocumentTypeDecoration<TResult, TVariables>['__apiType'];
32980
32983
  private value;
32981
32984
  __meta__?: Record<string, any> | undefined;
32982
- __apiType?: DocumentTypeDecoration<TResult, TVariables>['__apiType'];
32983
32985
  constructor(value: string, __meta__?: Record<string, any> | undefined);
32984
32986
  toString(): string & DocumentTypeDecoration<TResult, TVariables>;
32985
32987
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typescript-github-action-template",
3
- "version": "0.2.22",
3
+ "version": "0.2.24",
4
4
  "description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.js",
@@ -30,7 +30,7 @@
30
30
  "@0no-co/graphqlsp": "^1.12.12",
31
31
  "@eslint/eslintrc": "^3.0.2",
32
32
  "@eslint/js": "^9.2.0",
33
- "@graphql-codegen/cli": "5.0.5",
33
+ "@graphql-codegen/cli": "5.0.6",
34
34
  "@graphql-codegen/near-operation-file-preset": "^3.0.0",
35
35
  "@graphql-codegen/typescript": "4.1.6",
36
36
  "@graphql-codegen/typescript-document-nodes": "4.0.16",
@@ -45,7 +45,7 @@
45
45
  "graphql": "^16.9.0",
46
46
  "husky": "^9.0.5",
47
47
  "is-ci": "^4.1.0",
48
- "lint-staged": "^15.0.2",
48
+ "lint-staged": "^16.0.0",
49
49
  "pinst": "^3.0.0",
50
50
  "prettier": "^3.0.2",
51
51
  "typescript": "^5.0.2",