@sveltia/cms 0.88.2 → 0.89.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/cms",
3
- "version": "0.88.2",
3
+ "version": "0.89.0",
4
4
  "description": "Sveltia CMS is a modern, lightweight, Git-based headless content management system.",
5
5
  "keywords": [
6
6
  "cms",
@@ -235,8 +235,8 @@
235
235
  },
236
236
  "repo": {
237
237
  "type": "string",
238
- "description": "Repository identifier. Required for Git backends. GitHub/Gitea: organization/user name and repository name joined by a slash, e.g. `owner/repo`. GitLab: namespace and project name joined by a slash, e.g. `group/project` or `group/subgroup/project`.",
239
- "markdownDescription": "Repository identifier. Required for Git backends. GitHub/Gitea: organization/user name and repository name joined by a slash, e.g. `owner/repo`. GitLab: namespace and project name joined by a slash, e.g. `group/project` or `group/subgroup/project`."
238
+ "description": "Repository identifier. Required for Git backends. GitHub/Gitea/Forgejo: organization/user name and repository name joined by a slash, e.g. `owner/repo`. GitLab: namespace and project name joined by a slash, e.g. `group/project` or `group/subgroup/project`.",
239
+ "markdownDescription": "Repository identifier. Required for Git backends. GitHub/Gitea/Forgejo: organization/user name and repository name joined by a slash, e.g. `owner/repo`. GitLab: namespace and project name joined by a slash, e.g. `group/project` or `group/subgroup/project`."
240
240
  },
241
241
  "branch": {
242
242
  "type": "string",
@@ -245,8 +245,8 @@
245
245
  },
246
246
  "api_root": {
247
247
  "type": "string",
248
- "description": "REST API endpoint for the backend. Git backends only. Required when using GitHub Enterprise Server, a self-hosted GitLab/Gitea instance. Default: `https://api.github.com` (GitHub), `https://gitlab.com/api/v4` (GitLab) or `https://gitea.com/api/v1` (Gitea).",
249
- "markdownDescription": "REST API endpoint for the backend. Git backends only. Required when using GitHub Enterprise Server, a self-hosted GitLab/Gitea instance. Default: `https://api.github.com` (GitHub), `https://gitlab.com/api/v4` (GitLab) or `https://gitea.com/api/v1` (Gitea)."
248
+ "description": "REST API endpoint for the backend. Git backends only. Required when using GitHub Enterprise Server, a self-hosted GitLab/Gitea/Forgejo instance. Default: `https://api.github.com` (GitHub), `https://gitlab.com/api/v4` (GitLab) or `https://gitea.com/api/v1` (Gitea/Forgejo).",
249
+ "markdownDescription": "REST API endpoint for the backend. Git backends only. Required when using GitHub Enterprise Server, a self-hosted GitLab/Gitea/Forgejo instance. Default: `https://api.github.com` (GitHub), `https://gitlab.com/api/v4` (GitLab) or `https://gitea.com/api/v1` (Gitea/Forgejo)."
250
250
  },
251
251
  "graphql_api_root": {
252
252
  "type": "string",
@@ -260,8 +260,8 @@
260
260
  },
261
261
  "base_url": {
262
262
  "type": "string",
263
- "description": "OAuth base URL origin. Git backends only. Required when using an OAuth client other than Netlify, including [Sveltia CMS Authenticator](https://github.com/sveltia/sveltia-cms-auth). Default: `https://api.netlify.com` (GitHub), `https://gitlab.com` (GitLab) or `https://gitea.com/` (Gitea).",
264
- "markdownDescription": "OAuth base URL origin. Git backends only. Required when using an OAuth client other than Netlify, including [Sveltia CMS Authenticator](https://github.com/sveltia/sveltia-cms-auth). Default: `https://api.netlify.com` (GitHub), `https://gitlab.com` (GitLab) or `https://gitea.com/` (Gitea)."
263
+ "description": "OAuth base URL origin. Git backends only. Required when using an OAuth client other than Netlify, including [Sveltia CMS Authenticator](https://github.com/sveltia/sveltia-cms-auth). Default: `https://api.netlify.com` (GitHub), `https://gitlab.com` (GitLab) or `https://gitea.com/` (Gitea/Forgejo).",
264
+ "markdownDescription": "OAuth base URL origin. Git backends only. Required when using an OAuth client other than Netlify, including [Sveltia CMS Authenticator](https://github.com/sveltia/sveltia-cms-auth). Default: `https://api.netlify.com` (GitHub), `https://gitlab.com` (GitLab) or `https://gitea.com/` (Gitea/Forgejo)."
265
265
  },
266
266
  "auth_endpoint": {
267
267
  "type": "string",
@@ -279,8 +279,8 @@
279
279
  },
280
280
  "app_id": {
281
281
  "type": "string",
282
- "description": "OAuth application ID. GitLab and Gitea only. Required for Gitea.",
283
- "markdownDescription": "OAuth application ID. GitLab and Gitea only. Required for Gitea."
282
+ "description": "OAuth application ID. GitLab, Gitea/Forgejo only. Required for Gitea/Forgejo.",
283
+ "markdownDescription": "OAuth application ID. GitLab, Gitea/Forgejo only. Required for Gitea/Forgejo."
284
284
  },
285
285
  "commit_messages": {
286
286
  "$ref": "#/definitions/CommitMessages",
package/types/public.d.ts CHANGED
@@ -1635,7 +1635,7 @@ export type BackendOptions = {
1635
1635
  */
1636
1636
  name: BackendName;
1637
1637
  /**
1638
- * Repository identifier. Required for Git backends. GitHub/Gitea:
1638
+ * Repository identifier. Required for Git backends. GitHub/Gitea/Forgejo:
1639
1639
  * organization/user name and repository name joined by a slash, e.g. `owner/repo`. GitLab:
1640
1640
  * namespace and project name joined by a slash, e.g. `group/project` or `group/subgroup/project`.
1641
1641
  */
@@ -1647,9 +1647,9 @@ export type BackendOptions = {
1647
1647
  branch?: string;
1648
1648
  /**
1649
1649
  * REST API endpoint for the backend. Git backends only. Required when
1650
- * using GitHub Enterprise Server, a self-hosted GitLab/Gitea instance. Default:
1650
+ * using GitHub Enterprise Server, a self-hosted GitLab/Gitea/Forgejo instance. Default:
1651
1651
  * `https://api.github.com` (GitHub), `https://gitlab.com/api/v4` (GitLab) or
1652
- * `https://gitea.com/api/v1` (Gitea).
1652
+ * `https://gitea.com/api/v1` (Gitea/Forgejo).
1653
1653
  */
1654
1654
  api_root?: string;
1655
1655
  /**
@@ -1667,7 +1667,7 @@ export type BackendOptions = {
1667
1667
  * OAuth base URL origin. Git backends only. Required when using an
1668
1668
  * OAuth client other than Netlify, including [Sveltia CMS
1669
1669
  * Authenticator](https://github.com/sveltia/sveltia-cms-auth). Default: `https://api.netlify.com`
1670
- * (GitHub), `https://gitlab.com` (GitLab) or `https://gitea.com/` (Gitea).
1670
+ * (GitHub), `https://gitlab.com` (GitLab) or `https://gitea.com/` (Gitea/Forgejo).
1671
1671
  */
1672
1672
  base_url?: string;
1673
1673
  /**
@@ -1681,7 +1681,8 @@ export type BackendOptions = {
1681
1681
  */
1682
1682
  auth_type?: "pkce" | "implicit";
1683
1683
  /**
1684
- * OAuth application ID. GitLab and Gitea only. Required for Gitea.
1684
+ * OAuth application ID. GitLab, Gitea/Forgejo only. Required for
1685
+ * Gitea/Forgejo.
1685
1686
  */
1686
1687
  app_id?: string;
1687
1688
  /**