-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1438 from ivanvolkoff/api-git_fix
git-api fix
- Loading branch information
Showing
5 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
api/api-javascript/api-git/src/main/resources/META-INF/dirigible/git/extensions/git.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
declare module "@dirigible/git" { | ||
module client { | ||
|
||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...api-javascript/api-git/src/main/resources/META-INF/dirigible/git/extensions/git.extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"module":"git/extensions/modules.js","extensionPoint":"api-modules","description":"Git API Module"} |
16 changes: 16 additions & 0 deletions
16
api/api-javascript/api-git/src/main/resources/META-INF/dirigible/git/extensions/modules.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) 2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: 2021 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
let registry = require("platform/v4/registry"); | ||
exports.getContent = function () { | ||
let file = registry.getText("git/extensions/modules.json"); | ||
return JSON.parse(file); | ||
}; |
16 changes: 16 additions & 0 deletions
16
api/api-javascript/api-git/src/main/resources/META-INF/dirigible/git/extensions/modules.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"name": "@dirigible/git", | ||
"description": "Dirigible Git Module", | ||
"isPackageDescription": true, | ||
"dtsPath": "git/extensions/git.d.ts" | ||
}, | ||
{ | ||
"name": "git/v4/client", | ||
"description": "Git Client API", | ||
"api": "client", | ||
"versionedPaths": [ | ||
"git/v4/client" | ||
], | ||
"pathDefault": "git/v4/client" | ||
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters