mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-12 20:48:09 +00:00
api: Refactor meta/meta.proto to streams/meta.proto.
This commit is contained in:
8
api/js/Makefile
vendored
8
api/js/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
.PHONY: requirements common gw api integration meta
|
||||
.PHONY: requirements common gw api integration streams
|
||||
|
||||
PROTOC_PATH := ./node_modules/grpc-tools/bin/protoc
|
||||
PROTOC_GEN_TS_PATH := ./node_modules/.bin/protoc-gen-ts
|
||||
@ -6,7 +6,7 @@ PROTOC_GEN_GRPC_PATH := ./node_modules/.bin/grpc_tools_node_protoc_plugin
|
||||
PROTOC_ARGS := -I=/googleapis -I=../proto --plugin=protoc-gen-ts=$(PROTOC_GEN_TS_PATH) --plugin=protoc-gen-grpc=$(PROTOC_GEN_GRPC_PATH) --js_out=import_style=commonjs,binary:. --ts_out=service=grpc-node,mode=grpc-js:.
|
||||
PROTOC_GRPC_ARGS := $(PROTOC_ARGS) --grpc_out=grpc_js:.
|
||||
|
||||
all: requirements common gw api integration meta google-api
|
||||
all: requirements common gw api integration streams google-api
|
||||
|
||||
requirements:
|
||||
yarn install
|
||||
@ -34,8 +34,8 @@ api:
|
||||
integration:
|
||||
protoc ${PROTOC_ARGS} ../proto/integration/integration.proto
|
||||
|
||||
meta:
|
||||
protoc ${PROTOC_ARGS} ../proto/meta/meta.proto
|
||||
streams:
|
||||
protoc ${PROTOC_ARGS} ../proto/streams/meta.proto
|
||||
|
||||
google-api:
|
||||
protoc $(PROTOC_ARGS) /googleapis/google/api/*.proto
|
||||
|
@ -1,5 +1,5 @@
|
||||
// package: meta
|
||||
// file: meta/meta.proto
|
||||
// file: streams/meta.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as common_common_pb from "../common/common_pb";
|
@ -1,4 +1,4 @@
|
||||
// source: meta/meta.proto
|
||||
// source: streams/meta.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
Reference in New Issue
Block a user