Skip to content

Commit

Permalink
Merge pull request #1438 from ivanvolkoff/api-git_fix
Browse files Browse the repository at this point in the history
git-api fix
  • Loading branch information
ThuF authored Jan 13, 2022
2 parents d6eaa6a + 05b050c commit 6a0c091
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
declare module "@dirigible/git" {
module client {

}
}
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"}
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);
};
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"
}]
9 changes: 7 additions & 2 deletions groups/api-javascript-all/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-groups-parent</artifactId>
Expand Down Expand Up @@ -95,5 +95,10 @@
<artifactId>dirigible-api-javascript-platform</artifactId>
<version>7.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-api-javascript-git</artifactId>
<version>7.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
</project>

0 comments on commit 6a0c091

Please sign in to comment.