@remogram/provider-gitea-api 0.1.0-beta.1 → 0.1.0-beta.2

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -10,6 +10,7 @@ import {
10
10
  ERROR_CODES,
11
11
  forgeError,
12
12
  forgeIngestCapabilityFacts,
13
+ apiProviderCommands,
13
14
  } from '@remogram/core';
14
15
  const PUBLIC_GITEA_HOST = 'gitea.com';
15
16
  const PUBLIC_GITEA_API = 'https://gitea.com/api/v1';
@@ -22,7 +23,7 @@ const AUTH_CAPABILITIES = [
22
23
  'sync_plan',
23
24
  ];
24
25
 
25
- const STRUCTURED_COMMANDS = AUTH_CAPABILITIES.map((name) => ({ name, implemented: true }));
26
+ const STRUCTURED_COMMANDS = apiProviderCommands();
26
27
 
27
28
  export function giteaToken() {
28
29
  return process.env.GITEA_TOKEN || null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remogram/provider-gitea-api",
3
- "version": "0.1.0-beta.1",
3
+ "version": "0.1.0-beta.2",
4
4
  "description": "Gitea REST API forge provider for remogram",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -22,6 +22,6 @@
22
22
  "node": ">=20"
23
23
  },
24
24
  "dependencies": {
25
- "@remogram/core": "0.1.0-beta.1"
25
+ "@remogram/core": "0.1.0-beta.2"
26
26
  }
27
27
  }