-
Notifications
You must be signed in to change notification settings - Fork 213
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 #40 from parca-dev/web_grpc_module
ui: Integrate app/web with API
- Loading branch information
Showing
42 changed files
with
1,672 additions
and
9 deletions.
There are no files selected for viewing
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
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
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
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,46 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "google/api/annotations.proto", | ||
"version": "version not set" | ||
}, | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": {}, | ||
"definitions": { | ||
"protobufAny": { | ||
"type": "object", | ||
"properties": { | ||
"typeUrl": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string", | ||
"format": "byte" | ||
} | ||
} | ||
}, | ||
"rpcStatus": { | ||
"type": "object", | ||
"properties": { | ||
"code": { | ||
"type": "integer", | ||
"format": "int32" | ||
}, | ||
"message": { | ||
"type": "string" | ||
}, | ||
"details": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/protobufAny" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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,46 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "google/api/http.proto", | ||
"version": "version not set" | ||
}, | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": {}, | ||
"definitions": { | ||
"protobufAny": { | ||
"type": "object", | ||
"properties": { | ||
"typeUrl": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string", | ||
"format": "byte" | ||
} | ||
} | ||
}, | ||
"rpcStatus": { | ||
"type": "object", | ||
"properties": { | ||
"code": { | ||
"type": "integer", | ||
"format": "int32" | ||
}, | ||
"message": { | ||
"type": "string" | ||
}, | ||
"details": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/protobufAny" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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,46 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "google/api/timestamp.proto", | ||
"version": "version not set" | ||
}, | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": {}, | ||
"definitions": { | ||
"protobufAny": { | ||
"type": "object", | ||
"properties": { | ||
"typeUrl": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string", | ||
"format": "byte" | ||
} | ||
} | ||
}, | ||
"rpcStatus": { | ||
"type": "object", | ||
"properties": { | ||
"code": { | ||
"type": "integer", | ||
"format": "int32" | ||
}, | ||
"message": { | ||
"type": "string" | ||
}, | ||
"details": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/protobufAny" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
PATH_PREFIX=/template | ||
HOST=http://localhost:9090 |
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
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
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 |
---|---|---|
|
@@ -6,4 +6,3 @@ | |
}, | ||
"exclude": ["node_modules"] | ||
} | ||
|
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,12 @@ | ||
{ | ||
"name": "@parca/client", | ||
"version": "0.0.0", | ||
"description": "Parca API Client", | ||
"main": "src/index.ts", | ||
"scripts": { | ||
"test": "jest --coverage --config ../../../jest.config.js ./src/*" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,9 @@ | ||
// package: google.api | ||
// file: google/api/annotations.proto | ||
|
||
import * as jspb from "google-protobuf"; | ||
import * as google_api_http_pb from "../../google/api/http_pb"; | ||
import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; | ||
|
||
export const http: jspb.ExtensionFieldInfo<google_api_http_pb.HttpRule>; | ||
|
48 changes: 48 additions & 0 deletions
48
ui/packages/shared/client/src/google/api/annotations_pb.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,48 @@ | ||
// source: google/api/annotations.proto | ||
/** | ||
* @fileoverview | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
* field starts with 'MSG_' and isn't a translatable message. | ||
* @public | ||
*/ | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
|
||
var jspb = require('google-protobuf'); | ||
var goog = jspb; | ||
var global = Function('return this')(); | ||
|
||
var google_api_http_pb = require('../../google/api/http_pb.js'); | ||
goog.object.extend(proto, google_api_http_pb); | ||
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); | ||
goog.object.extend(proto, google_protobuf_descriptor_pb); | ||
goog.exportSymbol('proto.google.api.http', null, global); | ||
|
||
/** | ||
* A tuple of {field number, class constructor} for the extension | ||
* field named `http`. | ||
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>} | ||
*/ | ||
proto.google.api.http = new jspb.ExtensionFieldInfo( | ||
72295728, | ||
{http: 0}, | ||
google_api_http_pb.HttpRule, | ||
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( | ||
google_api_http_pb.HttpRule.toObject), | ||
0); | ||
|
||
google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( | ||
proto.google.api.http, | ||
jspb.BinaryReader.prototype.readMessage, | ||
jspb.BinaryWriter.prototype.writeMessage, | ||
google_api_http_pb.HttpRule.serializeBinaryToWriter, | ||
google_api_http_pb.HttpRule.deserializeBinaryFromReader, | ||
false); | ||
// This registers the extension field with the extended class, so that | ||
// toObject() will function correctly. | ||
google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; | ||
|
||
goog.object.extend(exports, proto.google.api); |
3 changes: 3 additions & 0 deletions
3
ui/packages/shared/client/src/google/api/annotations_pb_service.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,3 @@ | ||
// package: google.api | ||
// file: google/api/annotations.proto | ||
|
3 changes: 3 additions & 0 deletions
3
ui/packages/shared/client/src/google/api/annotations_pb_service.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,3 @@ | ||
// package: google.api | ||
// file: google/api/annotations.proto | ||
|
Oops, something went wrong.