forked from cerc-io/laconic-sdk
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
990e427c3f | ||
|
|
419dddc35a | ||
|
|
99bc3f0ce5 | ||
|
|
fc2987a5ca | ||
|
|
aba95a275c | ||
|
|
a3603e2738 |
@@ -7,12 +7,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [ 16.x ]
|
node-version: [ 18.x ]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Download yarn
|
||||||
|
run: |
|
||||||
|
curl -fsSL -o /usr/local/bin/yarn https://github.com/yarnpkg/yarn/releases/download/v1.22.21/yarn-1.22.21.js
|
||||||
|
chmod +x /usr/local/bin/yarn
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
@@ -26,7 +30,7 @@ jobs:
|
|||||||
npm config set registry https://git.vdb.to/api/packages/cerc-io/npm/
|
npm config set registry https://git.vdb.to/api/packages/cerc-io/npm/
|
||||||
- name: Authenticate to git.vdb.to registry
|
- name: Authenticate to git.vdb.to registry
|
||||||
run: |
|
run: |
|
||||||
npm config set -- '//git.vdb.to/api/packages/cerc-io/npm/:_authToken' "${{ secrets.GITEA_PUBLISH_TOKEN }}"
|
npm config set -- '//git.vdb.to/api/packages/cerc-io/npm/:_authToken' "${{ secrets.CICD_PUBLISH_TOKEN }}"
|
||||||
- name: npm publish
|
- name: npm publish
|
||||||
run: |
|
run: |
|
||||||
npm publish
|
npm publish
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cerc-io/laconic-sdk",
|
"name": "@cerc-io/laconic-sdk",
|
||||||
"version": "0.1.7",
|
"version": "0.1.13",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"repository": "git@github.com:cerc-io/laconic-sdk.git",
|
"repository": "git@github.com:cerc-io/laconic-sdk.git",
|
||||||
|
|||||||
@@ -33,31 +33,88 @@ message WebsiteRegistrationRecord {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message ApplicationRecord {
|
message ApplicationRecord {
|
||||||
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
||||||
|
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
||||||
|
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
|
string homepage = 5 [(gogoproto.moretags) = "json:\"homepage\" yaml:\"homepage\""];
|
||||||
|
string license = 6 [(gogoproto.moretags) = "json:\"license\" yaml:\"license\""];
|
||||||
|
string author = 7 [(gogoproto.moretags) = "json:\"author\" yaml:\"author\""];
|
||||||
|
repeated string repository = 8 [(gogoproto.moretags) = "json:\"repository\" yaml:\"repository\""];
|
||||||
|
string repository_ref = 9 [(gogoproto.moretags) = "json:\"repositoryRef\" yaml:\"repositoryRef\""];
|
||||||
|
string app_version = 10 [(gogoproto.moretags) = "json:\"appVersion\" yaml:\"appVersion\""];
|
||||||
|
string app_type = 11 [(gogoproto.moretags) = "json:\"appType\" yaml:\"appType\""];
|
||||||
|
string engines = 12 [(gogoproto.moretags) = "json:\"engines\" yaml:\"engines\""];
|
||||||
|
repeated string os = 13 [(gogoproto.moretags) = "json:\"os\" yaml:\"os\""];
|
||||||
|
repeated string cpu = 14 [(gogoproto.moretags) = "json:\"cpu\" yaml:\"cpu\""];
|
||||||
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
|
}
|
||||||
|
|
||||||
|
message ApplicationArtifact {
|
||||||
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
||||||
|
string description = 4 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
||||||
|
string version = 5 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
|
string application = 6 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
|
||||||
|
string content_type = 7 [(gogoproto.moretags) = "json:\"contentType\" yaml:\"contentType\""];
|
||||||
|
string os = 8 [(gogoproto.moretags) = "json:\"os\" yaml:\"os\""];
|
||||||
|
string cpu = 9 [(gogoproto.moretags) = "json:\"cpu\" yaml:\"cpu\""];
|
||||||
|
repeated string uri = 10 [(gogoproto.moretags) = "json:\"uri\" yaml:\"uri\""];
|
||||||
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
|
}
|
||||||
|
|
||||||
|
message DnsRecord {
|
||||||
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
||||||
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
string resource_type = 4 [(gogoproto.moretags) = "json:\"resourceType\" yaml:\"resourceType\""];
|
||||||
string homepage = 5 [(gogoproto.moretags) = "json:\"homepage\" yaml:\"homepage\""];
|
string value = 5 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""];
|
||||||
string license = 6 [(gogoproto.moretags) = "json:\"license\" yaml:\"license\""];
|
string request = 6 [(gogoproto.moretags) = "json:\"request\" yaml:\"request\""];
|
||||||
string author = 7 [(gogoproto.moretags) = "json:\"author\" yaml:\"author\""];
|
|
||||||
string repository = 8 [(gogoproto.moretags) = "json:\"repository\" yaml:\"repository\""];
|
|
||||||
string repository_tag = 9 [(gogoproto.moretags) = "json:\"repositoryTag\" yaml:\"repositoryTag\""];
|
|
||||||
string app_version = 10 [(gogoproto.moretags) = "json:\"appVersion\" yaml:\"appVersion\""];
|
|
||||||
string app_type = 11 [(gogoproto.moretags) = "json:\"appType\" yaml:\"appType\""];
|
|
||||||
string engines = 12 [(gogoproto.moretags) = "json:\"engines\" yaml:\"engines\""];
|
|
||||||
repeated string os = 13 [(gogoproto.moretags) = "json:\"os\" yaml:\"os\""];
|
|
||||||
repeated string cpu = 14 [(gogoproto.moretags) = "json:\"cpu\" yaml:\"cpu\""];
|
|
||||||
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
}
|
}
|
||||||
|
|
||||||
message WebAppDeploymentRecord {
|
message ApplicationDeploymentRequest {
|
||||||
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
||||||
|
string version = 3 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
|
string application = 4 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
|
||||||
|
string dns = 5 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""];
|
||||||
|
string config = 6 [(gogoproto.moretags) = "json:\"config\" yaml:\"config\""];
|
||||||
|
string deployment = 7 [(gogoproto.moretags) = "json:\"deployment\" yaml:\"deployment\""];
|
||||||
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
|
}
|
||||||
|
|
||||||
|
message ApplicationDeploymentRecord {
|
||||||
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
string name = 2 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
||||||
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
string description = 3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
||||||
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
string application = 5 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
|
string application = 5 [(gogoproto.moretags) = "json:\"application\" yaml:\"application\""];
|
||||||
string url = 6 [(gogoproto.moretags) = "json:\"url\" yaml:\"url\""];
|
string url = 6 [(gogoproto.moretags) = "json:\"url\" yaml:\"url\""];
|
||||||
|
string dns = 7 [(gogoproto.moretags) = "json:\"dns\" yaml:\"dns\""];
|
||||||
|
string request = 8 [(gogoproto.moretags) = "json:\"request\" yaml:\"request\""];
|
||||||
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
|
}
|
||||||
|
|
||||||
|
message ApplicationDeploymentRemovalRequest {
|
||||||
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
|
string version = 2 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
|
string deployment = 3 [(gogoproto.moretags) = "json:\"deployment\" yaml:\"deployment\""];
|
||||||
|
string request = 4 [(gogoproto.moretags) = "json:\"request\" yaml:\"request\""];
|
||||||
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
|
}
|
||||||
|
|
||||||
|
message ApplicationDeploymentRemovalRecord {
|
||||||
|
string type = 1 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
|
string version = 2 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
|
string deployment = 3 [(gogoproto.moretags) = "json:\"deployment\" yaml:\"deployment\""];
|
||||||
|
string request = 4 [(gogoproto.moretags) = "json:\"request\" yaml:\"request\""];
|
||||||
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
}
|
}
|
||||||
@@ -71,4 +128,4 @@ message GeneralRecord {
|
|||||||
string value = 6 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""];
|
string value = 6 [(gogoproto.moretags) = "json:\"value\" yaml:\"value\""];
|
||||||
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
string meta = 20 [(gogoproto.moretags) = "json:\"meta\" yaml:\"meta\""];
|
||||||
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
repeated string tags = 21 [(gogoproto.moretags) = "json:\"tags\" yaml:\"tags\""];
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user