diff --git a/.github/workflows/go_ci.yaml b/.github/workflows/go_ci.yaml index d1c23084..b9a3e38d 100644 --- a/.github/workflows/go_ci.yaml +++ b/.github/workflows/go_ci.yaml @@ -12,10 +12,50 @@ jobs: lint-go: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout sources + uses: actions/checkout@v2 with: fetch-depth: 1 - - uses: dominikh/staticcheck-action@v1 + + - name: staticcheck + uses: dominikh/staticcheck-action@v1 with: version: "latest" working-directory: go + + - name: go fmt + uses: Jerome1337/gofmt-action@v1.0.5 + with: + gofmt-path: './go' + gofmt-flags: '-l -d' + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.22 + + - name: Verify dependencies + run: go mod verify + working-directory: go + + - name: Build + run: go build -v ./... + working-directory: go + + - name: Run go vet + run: go vet ./... + working-directory: go + + - name: Install staticcheck + run: go install honnef.co/go/tools/cmd/staticcheck@latest + working-directory: go + + - name: Run staticcheck + run: staticcheck ./... + working-directory: go + + - name: golangci-lint + uses: golangci/golangci-lint-action@v6 + with: + working-directory: go + version: v1.60 diff --git a/.github/workflows/go_release.yaml b/.github/workflows/go_release.yaml new file mode 100644 index 00000000..d742b6b1 --- /dev/null +++ b/.github/workflows/go_release.yaml @@ -0,0 +1,32 @@ +name: Go Module Publish + +on: + workflow_dispatch: + +jobs: + go-ci: + if: github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/tags') + uses: ./.github/workflows/go_ci.yaml + + publish-to-pkg-go-dev: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '1.22' + + - name: Extract version from tag + id: extract_version + run: | + TAG="${GITHUB_REF#refs/tags/}" + VERSION="${TAG#go/}" + echo "version=$VERSION" >> $GITHUB_ENV + + - name: Publish Go module + run: | + GOPROXY=proxy.golang.org go list -m github.com/sift-stack/sift/go@$VERSION diff --git a/README.md b/README.md index e3c1e79c..9f3c1ad3 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,7 @@ the [Manual Protobuf Compilation](#manual-protobuf-compilation) section. ### Installation via Package Managers -The following demonstrates how to install the Sift client library for each supported language. Packages that are downloaded -from Github are in the process of being moved to their language's official package repository. +The following demonstrates how to install the Sift client library for each supported language. #### Python @@ -45,7 +44,7 @@ $ cargo add sift_rs #### Go ``` -$ go get github.com/sift-stack/sift/go@main && go mod tidy +$ go get github.com/sift-stack/sift/go ``` ### Manual Protobuf Compilation diff --git a/go/README.md b/go/README.md new file mode 100644 index 00000000..2536aaf3 --- /dev/null +++ b/go/README.md @@ -0,0 +1,17 @@ +# Sift Go + +This library offers a Go API on top of Sift's protocol buffers to ergonomically interface with the Sift gRPC API. + +## Installation + +``` +$ go get github.com/sift-stack/sift/go +``` + +## Examples + +Various examples can be found in the [examples](./examples) directory. To run any of those examples clone this repo do the following: + +``` +$ SIFT_URI= SIFT_API_KEY= go run examples/ping/main.go +``` diff --git a/go/buf.gen.yaml b/go/buf.gen.yaml index 8d18c5a4..32c9c9c1 100644 --- a/go/buf.gen.yaml +++ b/go/buf.gen.yaml @@ -2,14 +2,14 @@ version: v1 managed: enabled: true go_package_prefix: - default: "github.com/sift-stack/sift/go/gen/protos/go" + default: "github.com/sift-stack/sift/go/gen" plugins: - plugin: buf.build/protocolbuffers/go:v1.28.1 - out: gen/protos/go + out: gen opt: paths=source_relative - plugin: go-vtproto - out: gen/protos/go + out: gen opt: paths=source_relative - plugin: buf.build/grpc-ecosystem/gateway:v2.16.2 - out: gen/protos/go + out: gen opt: paths=source_relative diff --git a/go/examples/.env-example b/go/examples/.env-example deleted file mode 100644 index b0ea428a..00000000 --- a/go/examples/.env-example +++ /dev/null @@ -1,10 +0,0 @@ -# Retrieve the BASE_URI from the Sift team -# Be sure to exclude "https://" from the BASE_URI and -# to include the port number. -# -# BASE URIs and further details can be found here: -# https://docs.siftstack.com/ingestion/overview -# BASE_URI= - -# Your sift api key -SIFT_API_KEY= diff --git a/go/examples/README.md b/go/examples/README.md deleted file mode 100644 index c64e3e5e..00000000 --- a/go/examples/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Sift Go Example - -To run this example proceed with the following steps and be sure to have your -Sift API key ready. If you need a Sift API key please refer to [these instructions](https://help.siftstack.com/en/articles/8600475-api-keys). - -Install dependencies: - -```bash -$ go get -d ./... -``` - -Create your `.env` file: - -```bash -$ cp .env-example .env -``` - -Be sure to set the appropriate environment variables in your `.env` file depending on the environment you're using. Comments -meant to serve as guides can be found in the `.env-example` file. - -Now execute the program by providing the partial string of the annotations you wish to query. In the following example -we'll be querying for all annotations whose name matches the `voltage` substring in a case-insensitive manner. - -```bash -$ go run . voltage -``` diff --git a/go/examples/go.mod b/go/examples/go.mod deleted file mode 100644 index 101a897d..00000000 --- a/go/examples/go.mod +++ /dev/null @@ -1,20 +0,0 @@ -module github.com/sift-go-cli - -go 1.21.8 - -require ( - github.com/joho/godotenv v1.5.1 - github.com/sift-stack/sift/go v0.0.0-20240429200641-2d2177e474d6 - google.golang.org/grpc v1.63.2 -) - -require ( - github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect - github.com/planetscale/vtprotobuf v0.6.0 // indirect - golang.org/x/net v0.23.0 // indirect - golang.org/x/sys v0.18.0 // indirect - golang.org/x/text v0.14.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect - google.golang.org/protobuf v1.33.0 // indirect -) diff --git a/go/examples/go.sum b/go/examples/go.sum deleted file mode 100644 index 3d6b98a7..00000000 --- a/go/examples/go.sum +++ /dev/null @@ -1,26 +0,0 @@ -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM= -github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= -github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= -github.com/planetscale/vtprotobuf v0.6.0 h1:nBeETjudeJ5ZgBHUz1fVHvbqUKnYOXNhsIEabROxmNA= -github.com/planetscale/vtprotobuf v0.6.0/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= -github.com/sift-stack/sift/go v0.0.0-20240429200641-2d2177e474d6 h1:iAG70DUQ+OxK8JP4sTUjpKLkCFQAxp1GYkGXHHxFD5c= -github.com/sift-stack/sift/go v0.0.0-20240429200641-2d2177e474d6/go.mod h1:3CUha7OGY2uD9C0h2Ogghnavw018bm8NbXanEJRvOP8= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY= -google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo= -google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0= -google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= -google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= -google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= diff --git a/go/examples/ingestion/main.go b/go/examples/ingestion/main.go new file mode 100644 index 00000000..36e1df60 --- /dev/null +++ b/go/examples/ingestion/main.go @@ -0,0 +1,169 @@ +package main + +import ( + "context" + "fmt" + "log" + "math/rand" + "os" + "time" + + "github.com/sift-stack/sift/go/gen/sift/common/type/v1" + ingestv1 "github.com/sift-stack/sift/go/gen/sift/ingest/v1" + "github.com/sift-stack/sift/go/gen/sift/ingestion_configs/v1" + "github.com/sift-stack/sift/go/gen/sift/runs/v2" + "github.com/sift-stack/sift/go/grpc" + "google.golang.org/protobuf/types/known/timestamppb" +) + +const ( + assetName = "Sift-LV-426" + clientKey = "sift-lv-426-v1" +) + +func main() { + ctx := context.Background() + + grpcChannel, err := grpc.UseSiftChannel(ctx, grpc.SiftChannelConfig{ + Uri: os.Getenv("SIFT_URI"), + Apikey: os.Getenv("SIFT_API_KEY"), + }) + if err != nil { + log.Fatalln(err) + } + + ingestionConfig, err := getOrCreateIngestionConfig(ctx, grpcChannel, assetName, clientKey) + if err != nil { + log.Fatalln(err) + } + log.Printf("initialized ingestion config %s\n", ingestionConfig.ClientKey) + + run, err := createRun(ctx, grpcChannel, assetName) + if err != nil { + log.Fatalln(err) + } + log.Printf("initialized run %s\n", run.Name) + + siftStream, err := ingestv1.NewIngestServiceClient(grpcChannel).IngestWithConfigDataStream(ctx) + if err != nil { + log.Fatalln(err) + } + + dataStream := dataSource() + + for data := range dataStream { + req := &ingestv1.IngestWithConfigDataStreamRequest{ + IngestionConfigId: ingestionConfig.IngestionConfigId, + RunId: run.RunId, + Flow: "velocity_reading", + Timestamp: timestamppb.New(data.Timestamp), + ChannelValues: []*ingestv1.IngestWithConfigDataChannelValue{ + {Type: &ingestv1.IngestWithConfigDataChannelValue_Double{Double: data.Value}}, + }, + // Set this flag to `true` only for debugging purposes to get real-time data validation from + // the Sift API. Do not use in production as it will hurt performance. + EndStreamOnValidationError: false, + } + if err := siftStream.Send(req); err != nil { + log.Fatalln(err) + } + log.Println("ingested a velocity_reading flow") + } + + // Close the stream when finished and check if there are any errors + if _, err := siftStream.CloseAndRecv(); err != nil { + log.Fatalln(err) + } + + log.Println("done.") +} + +type dataPoint struct { + Timestamp time.Time + Value float64 +} + +func dataSource() <-chan dataPoint { + dataChannel := make(chan dataPoint) + go func() { + rng := rand.New(rand.NewSource(time.Now().UnixNano())) + duration := 60 * time.Second + start := time.Now() + + for time.Since(start) < duration { + dataChannel <- dataPoint{ + Timestamp: time.Now(), + Value: rng.Float64(), + } + time.Sleep(500 * time.Millisecond) + } + }() + return dataChannel +} + +// Flow and channel configuration +func config() []*ingestion_configsv1.FlowConfig { + return []*ingestion_configsv1.FlowConfig{ + { + Name: "velocity_reading", + Channels: []*ingestion_configsv1.ChannelConfig{ + { + Name: "velocity", + Component: "mainmotor", + Unit: "km/hr", + Description: "vehicle speed", + DataType: typev1.ChannelDataType_CHANNEL_DATA_TYPE_DOUBLE, + }, + }, + }, + } +} + +// Retrieves an existing ingestion config or create it. +func getOrCreateIngestionConfig( + ctx context.Context, + grpcChannel grpc.SiftChannel, + assetName, + clientKey string, +) (*ingestion_configsv1.IngestionConfig, error) { + svc := ingestion_configsv1.NewIngestionConfigServiceClient(grpcChannel) + + listRes, err := svc.ListIngestionConfigs(ctx, &ingestion_configsv1.ListIngestionConfigsRequest{ + Filter: fmt.Sprintf("client_key == '%s'", clientKey), + }) + if err != nil { + return nil, err + } + if listRes != nil && len(listRes.IngestionConfigs) > 0 { + return listRes.IngestionConfigs[0], nil + } + + createRes, err := svc.CreateIngestionConfig(ctx, &ingestion_configsv1.CreateIngestionConfigRequest{ + AssetName: assetName, + ClientKey: clientKey, + Flows: config(), + }) + if err != nil { + return nil, err + } + return createRes.IngestionConfig, nil +} + +// Create a run to use to group all the data ingested during this period. +func createRun( + ctx context.Context, + grpcChannel grpc.SiftChannel, + runName string, +) (*runsv2.Run, error) { + svc := runsv2.NewRunServiceClient(grpcChannel) + ts := timestamppb.Now() + + createRes, err := svc.CreateRun(ctx, &runsv2.CreateRunRequest{ + Name: fmt.Sprintf("[%s].%d", runName, ts.Seconds), + StartTime: ts, + }) + if err != nil { + return nil, err + } + return createRes.Run, nil +} diff --git a/go/examples/main.go b/go/examples/main.go deleted file mode 100644 index bf4c2929..00000000 --- a/go/examples/main.go +++ /dev/null @@ -1,110 +0,0 @@ -package main - -import ( - "context" - "crypto/tls" - "fmt" - "log" - "os" - - "github.com/joho/godotenv" - "github.com/sift-stack/sift/go/gen/protos/go/sift/annotations/v1" - "google.golang.org/grpc" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/metadata" -) - -func main() { - err := godotenv.Load() - if err != nil { - log.Fatalf("Error loading .env file: %v", err) - } - - siftApiKey := os.Getenv("SIFT_API_KEY") - - if siftApiKey == "" { - log.Fatalln("Expected 'SIFT_API_KEY' to exist in .env") - } - - baseUri := os.Getenv("BASE_URI") - - if baseUri == "" { - log.Fatalln("Expected 'BASE_URI' to exist in .env") - } - - name := os.Args[1] - - if name == "" { - log.Fatalln("Expected a name to be provided") - } - - unaryInterceptor := func( - ctx context.Context, - method string, - req, reply interface{}, - cc *grpc.ClientConn, - invoker grpc.UnaryInvoker, - opts ...grpc.CallOption, - ) error { - ctx = metadata.AppendToOutgoingContext(ctx, "authorization", fmt.Sprintf("Bearer %s", siftApiKey)) - return invoker(ctx, method, req, reply, cc, opts...) - } - - ctx := context.Background() - - conn, err := grpc.DialContext( - ctx, - baseUri, - grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{})), - grpc.WithUnaryInterceptor(unaryInterceptor), - ) - - if err != nil { - log.Fatalf("Failed to dial: %v", err) - } - - client := annotationsv1.NewAnnotationServiceClient(conn) - - req := annotationsv1.ListAnnotationsRequest{ - Filter: fmt.Sprintf("name.matches(\"(?i)%s\")", name), - PageSize: 10, - PageToken: "", - } - - res, err := client.ListAnnotations(ctx, &req) - - if err != nil { - log.Fatalln("Failed to get annotations with err: %v", err) - } - - out := "" - - if len(res.Annotations) == 0 { - log.Printf("No annotations found whose name matches '%s'\n", name) - return - } - - for _, annotation := range res.Annotations { - out += fmt.Sprintf(` -Annotation ID: %s - Name: %s - Description: %s - State: %s - Type: %s - Created at: %v - Modified at: %v - Created by rule condition ID: %s - `, - annotation.GetAnnotationId(), - annotation.GetName(), - annotation.GetDescription(), - annotation.GetState(), - annotation.GetAnnotationType(), - annotation.GetCreatedDate().AsTime(), - annotation.GetModifiedDate().AsTime(), - annotation.GetCreatedByConditionId(), - ) - } - - fmt.Println(out) -} diff --git a/go/examples/ping/main.go b/go/examples/ping/main.go new file mode 100644 index 00000000..fa059658 --- /dev/null +++ b/go/examples/ping/main.go @@ -0,0 +1,29 @@ +package main + +import ( + "context" + "fmt" + "log" + "os" + + "github.com/sift-stack/sift/go/gen/sift/ping/v1" + "github.com/sift-stack/sift/go/grpc" +) + +func main() { + ctx := context.Background() + channelConfig := grpc.SiftChannelConfig{ + Uri: os.Getenv("SIFT_URI"), + Apikey: os.Getenv("SIFT_API_KEY"), + } + conn, err := grpc.UseSiftChannel(ctx, channelConfig) + if err != nil { + log.Fatalln(err) + } + pingClient := pingv1.NewPingServiceClient(conn) + res, err := pingClient.Ping(ctx, &pingv1.PingRequest{}) + if err != nil { + log.Fatalln(err) + } + fmt.Println(res.Response) +} diff --git a/go/gen/protos/go/google/api/annotations.pb.go b/go/gen/google/api/annotations.pb.go similarity index 100% rename from go/gen/protos/go/google/api/annotations.pb.go rename to go/gen/google/api/annotations.pb.go diff --git a/go/gen/protos/go/google/api/field_behavior.pb.go b/go/gen/google/api/field_behavior.pb.go similarity index 100% rename from go/gen/protos/go/google/api/field_behavior.pb.go rename to go/gen/google/api/field_behavior.pb.go diff --git a/go/gen/protos/go/google/api/http.pb.go b/go/gen/google/api/http.pb.go similarity index 100% rename from go/gen/protos/go/google/api/http.pb.go rename to go/gen/google/api/http.pb.go diff --git a/go/gen/protos/go/google/api/http_vtproto.pb.go b/go/gen/google/api/http_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/google/api/http_vtproto.pb.go rename to go/gen/google/api/http_vtproto.pb.go diff --git a/go/gen/protos/go/protoc-gen-openapiv2/options/annotations.pb.go b/go/gen/protoc-gen-openapiv2/options/annotations.pb.go similarity index 100% rename from go/gen/protos/go/protoc-gen-openapiv2/options/annotations.pb.go rename to go/gen/protoc-gen-openapiv2/options/annotations.pb.go diff --git a/go/gen/protos/go/protoc-gen-openapiv2/options/openapiv2.pb.go b/go/gen/protoc-gen-openapiv2/options/openapiv2.pb.go similarity index 100% rename from go/gen/protos/go/protoc-gen-openapiv2/options/openapiv2.pb.go rename to go/gen/protoc-gen-openapiv2/options/openapiv2.pb.go diff --git a/go/gen/protos/go/protoc-gen-openapiv2/options/openapiv2_vtproto.pb.go b/go/gen/protoc-gen-openapiv2/options/openapiv2_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/protoc-gen-openapiv2/options/openapiv2_vtproto.pb.go rename to go/gen/protoc-gen-openapiv2/options/openapiv2_vtproto.pb.go diff --git a/go/gen/protos/go/sift/annotation_logs/v1/annotation_logs.pb.go b/go/gen/sift/annotation_logs/v1/annotation_logs.pb.go similarity index 98% rename from go/gen/protos/go/sift/annotation_logs/v1/annotation_logs.pb.go rename to go/gen/sift/annotation_logs/v1/annotation_logs.pb.go index 86e0b912..332f4b5e 100644 --- a/go/gen/protos/go/sift/annotation_logs/v1/annotation_logs.pb.go +++ b/go/gen/sift/annotation_logs/v1/annotation_logs.pb.go @@ -7,8 +7,8 @@ package annotation_logsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" @@ -1266,24 +1266,23 @@ var file_sift_annotation_logs_v1_annotation_logs_proto_rawDesc = []byte{ 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x2f, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x2f, - 0x32, 0x36, 0x35, 0x34, 0x38, 0x36, 0x36, 0x38, 0x35, 0x42, 0x83, 0x02, 0x0a, 0x1b, 0x63, 0x6f, + 0x32, 0x36, 0x35, 0x34, 0x38, 0x36, 0x36, 0x38, 0x35, 0x42, 0xf9, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, + 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, - 0x66, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x6f, - 0x67, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x41, 0x58, 0xaa, 0x02, 0x16, - 0x53, 0x69, 0x66, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, - 0x6f, 0x67, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, 0x6e, - 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x73, 0x5c, 0x56, 0x31, 0xe2, - 0x02, 0x22, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4c, 0x6f, 0x67, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x41, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, + 0x53, 0x41, 0x58, 0xaa, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x53, + 0x69, 0x66, 0x74, 0x5c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, + 0x67, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x22, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x69, 0x66, + 0x74, 0x3a, 0x3a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, + 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/annotation_logs/v1/annotation_logs.pb.gw.go b/go/gen/sift/annotation_logs/v1/annotation_logs.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/annotation_logs/v1/annotation_logs.pb.gw.go rename to go/gen/sift/annotation_logs/v1/annotation_logs.pb.gw.go diff --git a/go/gen/protos/go/sift/annotation_logs/v1/annotation_logs_vtproto.pb.go b/go/gen/sift/annotation_logs/v1/annotation_logs_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/annotation_logs/v1/annotation_logs_vtproto.pb.go rename to go/gen/sift/annotation_logs/v1/annotation_logs_vtproto.pb.go diff --git a/go/gen/protos/go/sift/annotations/v1/annotations.pb.go b/go/gen/sift/annotations/v1/annotations.pb.go similarity index 98% rename from go/gen/protos/go/sift/annotations/v1/annotations.pb.go rename to go/gen/sift/annotations/v1/annotations.pb.go index da5f6396..bf5b15ca 100644 --- a/go/gen/protos/go/sift/annotations/v1/annotations.pb.go +++ b/go/gen/sift/annotations/v1/annotations.pb.go @@ -7,8 +7,8 @@ package annotationsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -1614,23 +1614,23 @@ var file_sift_annotations_v1_annotations_proto_rawDesc = []byte{ 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x2f, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x2f, 0x32, 0x36, 0x35, 0x34, 0x38, 0x36, 0x36, - 0x38, 0x35, 0x42, 0x81, 0x02, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, + 0x38, 0x35, 0x42, 0xf7, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, + 0x50, 0x01, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, - 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, - 0x73, 0x69, 0x66, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x76, - 0x31, 0xa2, 0x02, 0x03, 0x53, 0x41, 0x58, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x41, - 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, - 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x41, 0x6e, - 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x16, - 0x12, 0x14, 0x0a, 0x12, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x41, 0x58, 0xaa, 0x02, 0x13, + 0x53, 0x69, 0x66, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, + 0x5c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x53, 0x69, + 0x66, 0x74, 0x3a, 0x3a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, + 0x3a, 0x56, 0x31, 0x92, 0x41, 0x16, 0x12, 0x14, 0x0a, 0x12, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/annotations/v1/annotations.pb.gw.go b/go/gen/sift/annotations/v1/annotations.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/annotations/v1/annotations.pb.gw.go rename to go/gen/sift/annotations/v1/annotations.pb.gw.go diff --git a/go/gen/protos/go/sift/annotations/v1/annotations_vtproto.pb.go b/go/gen/sift/annotations/v1/annotations_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/annotations/v1/annotations_vtproto.pb.go rename to go/gen/sift/annotations/v1/annotations_vtproto.pb.go diff --git a/go/gen/protos/go/sift/assets/v1/assets.pb.go b/go/gen/sift/assets/v1/assets.pb.go similarity index 96% rename from go/gen/protos/go/sift/assets/v1/assets.pb.go rename to go/gen/sift/assets/v1/assets.pb.go index 11e51544..2da46e58 100644 --- a/go/gen/protos/go/sift/assets/v1/assets.pb.go +++ b/go/gen/sift/assets/v1/assets.pb.go @@ -7,8 +7,8 @@ package assetsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -693,21 +693,20 @@ var file_sift_assets_v1_assets_proto_rawDesc = []byte{ 0x74, 0x29, 0x2e, 0x1a, 0x2f, 0x0a, 0x20, 0x52, 0x65, 0x61, 0x64, 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x77, 0x68, 0x61, 0x74, 0x20, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x20, 0x61, 0x72, 0x65, 0x2e, 0x12, 0x0b, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2d, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x42, 0xd4, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, + 0x6f, 0x64, 0x65, 0x6c, 0x42, 0xca, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, + 0x65, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, - 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x76, 0x31, 0xa2, - 0x02, 0x03, 0x53, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x11, 0x12, 0x0f, 0x0a, 0x0d, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, + 0x66, 0x74, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x41, 0x58, 0xaa, 0x02, 0x0e, 0x53, 0x69, + 0x66, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x53, + 0x69, 0x66, 0x74, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, + 0x53, 0x69, 0x66, 0x74, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x69, 0x66, + 0x74, 0x3a, 0x3a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x11, + 0x12, 0x0f, 0x0a, 0x0d, 0x41, 0x73, 0x73, 0x65, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/assets/v1/assets.pb.gw.go b/go/gen/sift/assets/v1/assets.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/assets/v1/assets.pb.gw.go rename to go/gen/sift/assets/v1/assets.pb.gw.go diff --git a/go/gen/protos/go/sift/assets/v1/assets_vtproto.pb.go b/go/gen/sift/assets/v1/assets_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/assets/v1/assets_vtproto.pb.go rename to go/gen/sift/assets/v1/assets_vtproto.pb.go diff --git a/go/gen/protos/go/sift/calculated_channels/v1/calculated_channels.pb.go b/go/gen/sift/calculated_channels/v1/calculated_channels.pb.go similarity index 97% rename from go/gen/protos/go/sift/calculated_channels/v1/calculated_channels.pb.go rename to go/gen/sift/calculated_channels/v1/calculated_channels.pb.go index 8c92e792..ede65be0 100644 --- a/go/gen/protos/go/sift/calculated_channels/v1/calculated_channels.pb.go +++ b/go/gen/sift/calculated_channels/v1/calculated_channels.pb.go @@ -7,9 +7,9 @@ package calculated_channelsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -947,28 +947,28 @@ var file_sift_calculated_channels_v1_calculated_channels_proto_rawDesc = []byte{ 0x66, 0x74, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x2f, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, - 0x65, 0x2f, 0x32, 0x36, 0x35, 0x34, 0x32, 0x31, 0x31, 0x35, 0x33, 0x42, 0xc5, 0x02, 0x0a, 0x1f, + 0x65, 0x2f, 0x32, 0x36, 0x35, 0x34, 0x32, 0x31, 0x31, 0x35, 0x33, 0x42, 0xbb, 0x02, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5d, 0x67, 0x69, 0x74, 0x68, + 0x65, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, - 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x61, 0x6c, - 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, - 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x58, 0xaa, - 0x02, 0x1a, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, - 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x53, - 0x69, 0x66, 0x74, 0x5c, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x43, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x26, 0x53, 0x69, 0x66, 0x74, - 0x5c, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x1c, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x61, 0x6c, 0x63, 0x75, - 0x6c, 0x61, 0x74, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x3a, 0x3a, 0x56, - 0x31, 0x92, 0x41, 0x1f, 0x12, 0x1d, 0x0a, 0x1b, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, - 0x65, 0x64, 0x20, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x20, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, + 0x66, 0x74, 0x2f, 0x63, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x61, 0x6c, 0x63, 0x75, 0x6c, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x76, 0x31, 0xa2, + 0x02, 0x03, 0x53, 0x43, 0x58, 0xaa, 0x02, 0x1a, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x61, 0x6c, + 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x1a, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, + 0x61, 0x74, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x5c, 0x56, 0x31, 0xe2, + 0x02, 0x26, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, + 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x53, 0x69, 0x66, 0x74, 0x3a, + 0x3a, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x1f, 0x12, 0x1d, 0x0a, 0x1b, 0x43, 0x61, + 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x20, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x73, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/go/gen/protos/go/sift/calculated_channels/v1/calculated_channels.pb.gw.go b/go/gen/sift/calculated_channels/v1/calculated_channels.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/calculated_channels/v1/calculated_channels.pb.gw.go rename to go/gen/sift/calculated_channels/v1/calculated_channels.pb.gw.go diff --git a/go/gen/protos/go/sift/calculated_channels/v1/calculated_channels_vtproto.pb.go b/go/gen/sift/calculated_channels/v1/calculated_channels_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/calculated_channels/v1/calculated_channels_vtproto.pb.go rename to go/gen/sift/calculated_channels/v1/calculated_channels_vtproto.pb.go index a0bf0eb4..7738d0ca 100644 --- a/go/gen/protos/go/sift/calculated_channels/v1/calculated_channels_vtproto.pb.go +++ b/go/gen/sift/calculated_channels/v1/calculated_channels_vtproto.pb.go @@ -8,7 +8,7 @@ import ( context "context" fmt "fmt" protohelpers "github.com/planetscale/vtprotobuf/protohelpers" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/campaigns/v1/campaigns.pb.go b/go/gen/sift/campaigns/v1/campaigns.pb.go similarity index 97% rename from go/gen/protos/go/sift/campaigns/v1/campaigns.pb.go rename to go/gen/sift/campaigns/v1/campaigns.pb.go index 737e5590..71f880a0 100644 --- a/go/gen/protos/go/sift/campaigns/v1/campaigns.pb.go +++ b/go/gen/sift/campaigns/v1/campaigns.pb.go @@ -7,10 +7,10 @@ package campaignsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v11 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/tags/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v11 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/tags/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -1128,23 +1128,22 @@ var file_sift_campaigns_v1_campaigns_proto_rawDesc = []byte{ 0x64, 0x73, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x20, 0x60, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x60, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x3a, 0x01, 0x2a, 0x32, 0x11, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, - 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x42, 0xef, 0x01, 0x0a, 0x15, 0x63, + 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x42, 0xe5, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, - 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, - 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, - 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x76, - 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x58, 0xaa, 0x02, 0x11, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, - 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x11, 0x53, 0x69, - 0x66, 0x74, 0x5c, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0xe2, - 0x02, 0x1d, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, - 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, - 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x14, 0x12, 0x12, 0x0a, 0x10, 0x43, 0x61, 0x6d, 0x70, - 0x61, 0x69, 0x67, 0x6e, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, + 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x61, 0x6d, 0x70, + 0x61, 0x69, 0x67, 0x6e, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x58, 0xaa, 0x02, 0x11, + 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x11, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, + 0x6e, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1d, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x61, 0x6d, + 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x61, + 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x14, 0x12, 0x12, + 0x0a, 0x10, 0x43, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/campaigns/v1/campaigns.pb.gw.go b/go/gen/sift/campaigns/v1/campaigns.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/campaigns/v1/campaigns.pb.gw.go rename to go/gen/sift/campaigns/v1/campaigns.pb.gw.go diff --git a/go/gen/protos/go/sift/campaigns/v1/campaigns_vtproto.pb.go b/go/gen/sift/campaigns/v1/campaigns_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/campaigns/v1/campaigns_vtproto.pb.go rename to go/gen/sift/campaigns/v1/campaigns_vtproto.pb.go index 62d132d1..5de8f30f 100644 --- a/go/gen/protos/go/sift/campaigns/v1/campaigns_vtproto.pb.go +++ b/go/gen/sift/campaigns/v1/campaigns_vtproto.pb.go @@ -10,8 +10,8 @@ import ( protohelpers "github.com/planetscale/vtprotobuf/protohelpers" fieldmaskpb1 "github.com/planetscale/vtprotobuf/types/known/fieldmaskpb" timestamppb1 "github.com/planetscale/vtprotobuf/types/known/timestamppb" - v11 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/tags/v1" + v11 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/tags/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/channel_schemas/v1/channel_schemas.pb.go b/go/gen/sift/channel_schemas/v1/channel_schemas.pb.go similarity index 93% rename from go/gen/protos/go/sift/channel_schemas/v1/channel_schemas.pb.go rename to go/gen/sift/channel_schemas/v1/channel_schemas.pb.go index 670dde78..764afdf7 100644 --- a/go/gen/protos/go/sift/channel_schemas/v1/channel_schemas.pb.go +++ b/go/gen/sift/channel_schemas/v1/channel_schemas.pb.go @@ -7,9 +7,9 @@ package channel_schemasv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -382,26 +382,25 @@ var file_sift_channel_schemas_v1_channel_schemas_proto_rawDesc = []byte{ 0x41, 0x3b, 0x12, 0x39, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x74, 0x6f, 0x20, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x20, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x42, 0xa0, 0x02, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x20, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x42, 0x96, 0x02, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, - 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, - 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, - 0x58, 0xaa, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x53, 0x69, 0x66, - 0x74, 0x5c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, - 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x22, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x3a, - 0x3a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x3a, - 0x3a, 0x56, 0x31, 0x92, 0x41, 0x1a, 0x12, 0x18, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x20, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, + 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x76, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x58, 0xaa, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x2e, 0x56, 0x31, + 0xca, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x22, 0x53, 0x69, 0x66, 0x74, + 0x5c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x18, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x1a, 0x12, 0x18, 0x0a, 0x16, + 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x20, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x20, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/channel_schemas/v1/channel_schemas.pb.gw.go b/go/gen/sift/channel_schemas/v1/channel_schemas.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/channel_schemas/v1/channel_schemas.pb.gw.go rename to go/gen/sift/channel_schemas/v1/channel_schemas.pb.gw.go diff --git a/go/gen/protos/go/sift/channel_schemas/v1/channel_schemas_vtproto.pb.go b/go/gen/sift/channel_schemas/v1/channel_schemas_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/channel_schemas/v1/channel_schemas_vtproto.pb.go rename to go/gen/sift/channel_schemas/v1/channel_schemas_vtproto.pb.go index 882a6ab6..d4679e7b 100644 --- a/go/gen/protos/go/sift/channel_schemas/v1/channel_schemas_vtproto.pb.go +++ b/go/gen/sift/channel_schemas/v1/channel_schemas_vtproto.pb.go @@ -8,7 +8,7 @@ import ( context "context" fmt "fmt" protohelpers "github.com/planetscale/vtprotobuf/protohelpers" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/channels/v2/channels.pb.go b/go/gen/sift/channels/v2/channels.pb.go similarity index 96% rename from go/gen/protos/go/sift/channels/v2/channels.pb.go rename to go/gen/sift/channels/v2/channels.pb.go index f173bc55..ed78faa0 100644 --- a/go/gen/protos/go/sift/channels/v2/channels.pb.go +++ b/go/gen/sift/channels/v2/channels.pb.go @@ -7,9 +7,9 @@ package channelsv2 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" @@ -558,22 +558,21 @@ var file_sift_channels_v2_channels_proto_rawDesc = []byte{ 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x2f, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x2f, 0x32, 0x36, 0x35, 0x34, 0x35, 0x33, 0x39, 0x34, - 0x33, 0x42, 0xe6, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, + 0x33, 0x42, 0xdc, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x0d, 0x43, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, + 0x6e, 0x65, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, - 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x73, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x58, 0xaa, 0x02, 0x10, 0x53, 0x69, 0x66, - 0x74, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x10, - 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x5c, 0x56, 0x32, - 0xe2, 0x02, 0x1c, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, - 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x12, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, - 0x3a, 0x3a, 0x56, 0x32, 0x92, 0x41, 0x13, 0x12, 0x11, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, + 0x69, 0x66, 0x74, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x76, 0x32, 0x3b, + 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x58, + 0xaa, 0x02, 0x10, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, + 0x2e, 0x56, 0x32, 0xca, 0x02, 0x10, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x73, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x1c, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x3a, 0x3a, 0x56, 0x32, 0x92, 0x41, 0x13, 0x12, 0x11, 0x0a, + 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/channels/v2/channels.pb.gw.go b/go/gen/sift/channels/v2/channels.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/channels/v2/channels.pb.gw.go rename to go/gen/sift/channels/v2/channels.pb.gw.go diff --git a/go/gen/protos/go/sift/channels/v2/channels_vtproto.pb.go b/go/gen/sift/channels/v2/channels_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/channels/v2/channels_vtproto.pb.go rename to go/gen/sift/channels/v2/channels_vtproto.pb.go index 85954ab5..f1fe1633 100644 --- a/go/gen/protos/go/sift/channels/v2/channels_vtproto.pb.go +++ b/go/gen/sift/channels/v2/channels_vtproto.pb.go @@ -9,7 +9,7 @@ import ( fmt "fmt" protohelpers "github.com/planetscale/vtprotobuf/protohelpers" timestamppb1 "github.com/planetscale/vtprotobuf/types/known/timestamppb" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/common/type/v1/channel_bit_field_element.pb.go b/go/gen/sift/common/type/v1/channel_bit_field_element.pb.go similarity index 87% rename from go/gen/protos/go/sift/common/type/v1/channel_bit_field_element.pb.go rename to go/gen/sift/common/type/v1/channel_bit_field_element.pb.go index fa9ef4ab..df63ab0a 100644 --- a/go/gen/protos/go/sift/common/type/v1/channel_bit_field_element.pb.go +++ b/go/gen/sift/common/type/v1/channel_bit_field_element.pb.go @@ -7,7 +7,7 @@ package typev1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" + _ "github.com/sift-stack/sift/go/gen/google/api" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -101,23 +101,22 @@ var file_sift_common_type_v1_channel_bit_field_element_proto_rawDesc = []byte{ 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x20, 0x0a, 0x09, 0x62, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x03, 0xe0, 0x41, - 0x02, 0x52, 0x08, 0x62, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xed, 0x01, 0x0a, 0x17, + 0x02, 0x52, 0x08, 0x62, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xe3, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x1b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x69, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, - 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, - 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, - 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x76, 0x31, 0xa2, 0x02, - 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, - 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, - 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, + 0x70, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, + 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x31, + 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, + 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x3a, + 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/common/type/v1/channel_bit_field_element_vtproto.pb.go b/go/gen/sift/common/type/v1/channel_bit_field_element_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/common/type/v1/channel_bit_field_element_vtproto.pb.go rename to go/gen/sift/common/type/v1/channel_bit_field_element_vtproto.pb.go diff --git a/go/gen/protos/go/sift/common/type/v1/channel_data_type.pb.go b/go/gen/sift/common/type/v1/channel_data_type.pb.go similarity index 89% rename from go/gen/protos/go/sift/common/type/v1/channel_data_type.pb.go rename to go/gen/sift/common/type/v1/channel_data_type.pb.go index 1a1e0019..4721cc6d 100644 --- a/go/gen/protos/go/sift/common/type/v1/channel_data_type.pb.go +++ b/go/gen/sift/common/type/v1/channel_data_type.pb.go @@ -123,22 +123,21 @@ var file_sift_common_type_v1_channel_data_type_proto_rawDesc = []byte{ 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x5f, 0x36, 0x34, 0x10, 0x09, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x49, 0x4e, 0x54, 0x5f, 0x36, 0x34, 0x10, 0x0a, 0x42, 0xe6, 0x01, 0x0a, 0x17, 0x63, 0x6f, + 0x55, 0x49, 0x4e, 0x54, 0x5f, 0x36, 0x34, 0x10, 0x0a, 0x42, 0xdc, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x44, 0x61, - 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, + 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, - 0x79, 0x70, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, - 0x66, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, - 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, - 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, - 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, - 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, + 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, + 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, + 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, + 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/common/type/v1/channel_enum_type.pb.go b/go/gen/sift/common/type/v1/channel_enum_type.pb.go similarity index 85% rename from go/gen/protos/go/sift/common/type/v1/channel_enum_type.pb.go rename to go/gen/sift/common/type/v1/channel_enum_type.pb.go index 28ddb472..b165b43e 100644 --- a/go/gen/protos/go/sift/common/type/v1/channel_enum_type.pb.go +++ b/go/gen/sift/common/type/v1/channel_enum_type.pb.go @@ -7,7 +7,7 @@ package typev1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" + _ "github.com/sift-stack/sift/go/gen/google/api" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -89,22 +89,21 @@ var file_sift_common_type_v1_channel_enum_type_proto_rawDesc = []byte{ 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x03, 0xe0, 0x41, - 0x02, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x42, 0xe6, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x02, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x42, 0xdc, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x6e, 0x75, 0x6d, 0x54, - 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, + 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, - 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, - 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, - 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, + 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, + 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, + 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, + 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, + 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, + 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/common/type/v1/channel_enum_type_vtproto.pb.go b/go/gen/sift/common/type/v1/channel_enum_type_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/common/type/v1/channel_enum_type_vtproto.pb.go rename to go/gen/sift/common/type/v1/channel_enum_type_vtproto.pb.go diff --git a/go/gen/protos/go/sift/common/type/v1/organization.pb.go b/go/gen/sift/common/type/v1/organization.pb.go similarity index 84% rename from go/gen/protos/go/sift/common/type/v1/organization.pb.go rename to go/gen/sift/common/type/v1/organization.pb.go index db84bc8d..f248ee7c 100644 --- a/go/gen/protos/go/sift/common/type/v1/organization.pb.go +++ b/go/gen/sift/common/type/v1/organization.pb.go @@ -88,22 +88,21 @@ var file_sift_common_type_v1_organization_proto_rawDesc = []byte{ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x42, 0xe3, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, + 0x61, 0x6d, 0x65, 0x42, 0xd9, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, - 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, - 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, - 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, - 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, - 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, - 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, - 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, + 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, + 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, + 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/common/type/v1/organization_vtproto.pb.go b/go/gen/sift/common/type/v1/organization_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/common/type/v1/organization_vtproto.pb.go rename to go/gen/sift/common/type/v1/organization_vtproto.pb.go diff --git a/go/gen/protos/go/sift/common/type/v1/resource_identifier.pb.go b/go/gen/sift/common/type/v1/resource_identifier.pb.go similarity index 95% rename from go/gen/protos/go/sift/common/type/v1/resource_identifier.pb.go rename to go/gen/sift/common/type/v1/resource_identifier.pb.go index a7dc5c1a..2e87f604 100644 --- a/go/gen/protos/go/sift/common/type/v1/resource_identifier.pb.go +++ b/go/gen/sift/common/type/v1/resource_identifier.pb.go @@ -7,7 +7,7 @@ package typev1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" + _ "github.com/sift-stack/sift/go/gen/google/api" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -530,22 +530,21 @@ var file_sift_common_type_v1_resource_identifier_proto_rawDesc = []byte{ 0x02, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x22, 0x0a, 0x05, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x42, 0xe9, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, + 0x73, 0x42, 0xdf, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, - 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, - 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, + 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, + 0x74, 0x79, 0x70, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, + 0x69, 0x66, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, + 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, + 0x74, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/common/type/v1/resource_identifier_vtproto.pb.go b/go/gen/sift/common/type/v1/resource_identifier_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/common/type/v1/resource_identifier_vtproto.pb.go rename to go/gen/sift/common/type/v1/resource_identifier_vtproto.pb.go diff --git a/go/gen/protos/go/sift/common/type/v1/user.pb.go b/go/gen/sift/common/type/v1/user.pb.go similarity index 85% rename from go/gen/protos/go/sift/common/type/v1/user.pb.go rename to go/gen/sift/common/type/v1/user.pb.go index 9fcac0fd..699e8035 100644 --- a/go/gen/protos/go/sift/common/type/v1/user.pb.go +++ b/go/gen/sift/common/type/v1/user.pb.go @@ -7,7 +7,7 @@ package typev1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" + _ "github.com/sift-stack/sift/go/gen/google/api" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -104,21 +104,20 @@ var file_sift_common_type_v1_user_proto_rawDesc = []byte{ 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x42, 0xdb, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x6f, + 0x42, 0xd1, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x55, 0x73, - 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, - 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x76, - 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, - 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, - 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, + 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x31, + 0x3b, 0x74, 0x79, 0x70, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x43, 0x54, 0xaa, 0x02, 0x13, + 0x53, 0x69, 0x66, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, + 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x69, + 0x66, 0x74, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/common/type/v1/user_vtproto.pb.go b/go/gen/sift/common/type/v1/user_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/common/type/v1/user_vtproto.pb.go rename to go/gen/sift/common/type/v1/user_vtproto.pb.go diff --git a/go/gen/protos/go/sift/data/v1/data.pb.go b/go/gen/sift/data/v1/data.pb.go similarity index 98% rename from go/gen/protos/go/sift/data/v1/data.pb.go rename to go/gen/sift/data/v1/data.pb.go index d5ee4408..433d0bb6 100644 --- a/go/gen/protos/go/sift/data/v1/data.pb.go +++ b/go/gen/sift/data/v1/data.pb.go @@ -7,10 +7,10 @@ package datav1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/calculated_channels/v1" - v11 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v1 "github.com/sift-stack/sift/go/gen/sift/calculated_channels/v1" + v11 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" @@ -2207,20 +2207,19 @@ var file_sift_data_v1_data_proto_rawDesc = []byte{ 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x3a, 0x01, 0x2a, 0x22, 0x0c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x1a, 0x92, 0x41, 0x17, 0x12, 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 0x74, 0x6f, 0x20, 0x71, 0x75, 0x65, 0x72, 0x79, 0x20, - 0x64, 0x61, 0x74, 0x61, 0x42, 0xc3, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, + 0x64, 0x61, 0x74, 0x61, 0x42, 0xb9, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x44, 0x61, 0x74, 0x61, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, - 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, - 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, - 0x3b, 0x64, 0x61, 0x74, 0x61, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x44, 0x58, 0xaa, 0x02, 0x0c, - 0x53, 0x69, 0x66, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, - 0x69, 0x66, 0x74, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x69, - 0x66, 0x74, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x44, - 0x61, 0x74, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x10, 0x12, 0x0e, 0x0a, 0x0c, 0x44, 0x61, - 0x74, 0x61, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x64, + 0x61, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x76, 0x31, 0xa2, 0x02, 0x03, + 0x53, 0x44, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x5c, 0x56, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x53, + 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x10, + 0x12, 0x0e, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/data/v1/data.pb.gw.go b/go/gen/sift/data/v1/data.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/data/v1/data.pb.gw.go rename to go/gen/sift/data/v1/data.pb.gw.go diff --git a/go/gen/protos/go/sift/data/v1/data_vtproto.pb.go b/go/gen/sift/data/v1/data_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/data/v1/data_vtproto.pb.go rename to go/gen/sift/data/v1/data_vtproto.pb.go index c0a990e3..e9640aa1 100644 --- a/go/gen/protos/go/sift/data/v1/data_vtproto.pb.go +++ b/go/gen/sift/data/v1/data_vtproto.pb.go @@ -11,8 +11,8 @@ import ( protohelpers "github.com/planetscale/vtprotobuf/protohelpers" anypb1 "github.com/planetscale/vtprotobuf/types/known/anypb" timestamppb1 "github.com/planetscale/vtprotobuf/types/known/timestamppb" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/calculated_channels/v1" - v11 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/calculated_channels/v1" + v11 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/ingest/v1/ingest.pb.go b/go/gen/sift/ingest/v1/ingest.pb.go similarity index 96% rename from go/gen/protos/go/sift/ingest/v1/ingest.pb.go rename to go/gen/sift/ingest/v1/ingest.pb.go index 1de2a258..6acbcadf 100644 --- a/go/gen/protos/go/sift/ingest/v1/ingest.pb.go +++ b/go/gen/sift/ingest/v1/ingest.pb.go @@ -436,19 +436,19 @@ var file_sift_ingest_v1_ingest_proto_rawDesc = []byte{ 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x61, 0x74, 0x61, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x28, 0x01, 0x42, 0xc0, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, + 0x73, 0x65, 0x28, 0x01, 0x42, 0xb6, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x49, 0x6e, 0x67, - 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, + 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, - 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x69, 0x6e, 0x67, - 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x76, 0x31, 0xa2, - 0x02, 0x03, 0x53, 0x49, 0x58, 0xaa, 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x49, 0x6e, 0x67, - 0x65, 0x73, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x49, 0x6e, - 0x67, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x49, - 0x6e, 0x67, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x67, - 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, + 0x66, 0x74, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6e, 0x67, + 0x65, 0x73, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x49, 0x58, 0xaa, 0x02, 0x0e, 0x53, 0x69, + 0x66, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x53, + 0x69, 0x66, 0x74, 0x5c, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, + 0x53, 0x69, 0x66, 0x74, 0x5c, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x69, 0x66, + 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/ingest/v1/ingest_vtproto.pb.go b/go/gen/sift/ingest/v1/ingest_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/ingest/v1/ingest_vtproto.pb.go rename to go/gen/sift/ingest/v1/ingest_vtproto.pb.go diff --git a/go/gen/protos/go/sift/ingestion_configs/v1/ingestion_configs.pb.go b/go/gen/sift/ingestion_configs/v1/ingestion_configs.pb.go similarity index 97% rename from go/gen/protos/go/sift/ingestion_configs/v1/ingestion_configs.pb.go rename to go/gen/sift/ingestion_configs/v1/ingestion_configs.pb.go index aa17b80d..d55e6385 100644 --- a/go/gen/protos/go/sift/ingestion_configs/v1/ingestion_configs.pb.go +++ b/go/gen/sift/ingestion_configs/v1/ingestion_configs.pb.go @@ -7,9 +7,9 @@ package ingestion_configsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -1066,27 +1066,26 @@ var file_sift_ingestion_configs_v1_ingestion_configs_proto_rawDesc = []byte{ 0x66, 0x69, 0x67, 0x73, 0x20, 0x61, 0x72, 0x65, 0x2e, 0x12, 0x2a, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x2d, 0x61, 0x6d, 0x65, 0x6e, 0x64, 0x2d, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2d, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0xb2, 0x02, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0xa8, 0x02, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, + 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, - 0x66, 0x74, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x49, - 0x58, 0xaa, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, - 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 0x53, - 0x69, 0x66, 0x74, 0x5c, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x24, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x49, - 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x5c, - 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x1a, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x1c, 0x12, 0x1a, - 0x0a, 0x18, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6e, + 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x76, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x49, 0x58, 0xaa, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x49, + 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x24, + 0x53, 0x69, 0x66, 0x74, 0x5c, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1a, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x67, + 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x3a, 0x3a, 0x56, + 0x31, 0x92, 0x41, 0x1c, 0x12, 0x1a, 0x0a, 0x18, 0x49, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, + 0x6e, 0x20, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/ingestion_configs/v1/ingestion_configs.pb.gw.go b/go/gen/sift/ingestion_configs/v1/ingestion_configs.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/ingestion_configs/v1/ingestion_configs.pb.gw.go rename to go/gen/sift/ingestion_configs/v1/ingestion_configs.pb.gw.go diff --git a/go/gen/protos/go/sift/ingestion_configs/v1/ingestion_configs_vtproto.pb.go b/go/gen/sift/ingestion_configs/v1/ingestion_configs_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/ingestion_configs/v1/ingestion_configs_vtproto.pb.go rename to go/gen/sift/ingestion_configs/v1/ingestion_configs_vtproto.pb.go index 6a8200c5..8e5c4004 100644 --- a/go/gen/protos/go/sift/ingestion_configs/v1/ingestion_configs_vtproto.pb.go +++ b/go/gen/sift/ingestion_configs/v1/ingestion_configs_vtproto.pb.go @@ -8,7 +8,7 @@ import ( context "context" fmt "fmt" protohelpers "github.com/planetscale/vtprotobuf/protohelpers" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/notifications/v1/notifications.pb.go b/go/gen/sift/notifications/v1/notifications.pb.go similarity index 96% rename from go/gen/protos/go/sift/notifications/v1/notifications.pb.go rename to go/gen/sift/notifications/v1/notifications.pb.go index 4dd01f80..de35831a 100644 --- a/go/gen/protos/go/sift/notifications/v1/notifications.pb.go +++ b/go/gen/sift/notifications/v1/notifications.pb.go @@ -7,8 +7,8 @@ package notificationsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -664,25 +664,24 @@ var file_sift_notifications_v1_notifications_proto_rawDesc = []byte{ 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x69, 0x6e, 0x2d, 0x61, 0x70, 0x70, 0x20, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x42, 0x93, 0x02, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, + 0x6f, 0x6e, 0x73, 0x2e, 0x42, 0x89, 0x02, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, - 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x6f, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x4e, - 0x58, 0xaa, 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, - 0x5c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, - 0x31, 0xe2, 0x02, 0x21, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x4e, 0x6f, - 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, - 0x41, 0x18, 0x12, 0x16, 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, + 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x31, 0x3b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x76, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x4e, 0x58, 0xaa, 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x53, 0x69, + 0x66, 0x74, 0x3a, 0x3a, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x18, 0x12, 0x16, 0x0a, 0x14, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/notifications/v1/notifications.pb.gw.go b/go/gen/sift/notifications/v1/notifications.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/notifications/v1/notifications.pb.gw.go rename to go/gen/sift/notifications/v1/notifications.pb.gw.go diff --git a/go/gen/protos/go/sift/notifications/v1/notifications_vtproto.pb.go b/go/gen/sift/notifications/v1/notifications_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/notifications/v1/notifications_vtproto.pb.go rename to go/gen/sift/notifications/v1/notifications_vtproto.pb.go diff --git a/go/gen/protos/go/sift/ping/v1/ping.pb.go b/go/gen/sift/ping/v1/ping.pb.go similarity index 88% rename from go/gen/protos/go/sift/ping/v1/ping.pb.go rename to go/gen/sift/ping/v1/ping.pb.go index c15fc70a..a5d7ca0b 100644 --- a/go/gen/protos/go/sift/ping/v1/ping.pb.go +++ b/go/gen/sift/ping/v1/ping.pb.go @@ -7,8 +7,8 @@ package pingv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -129,20 +129,19 @@ var file_sift_ping_v1_ping_proto_rawDesc = []byte{ 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x42, 0xc3, 0x01, 0x0a, 0x10, 0x63, + 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x42, 0xb9, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, - 0x09, 0x50, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, + 0x09, 0x50, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x70, - 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x69, 0x6e, 0x67, 0x76, 0x31, 0xa2, 0x02, 0x03, - 0x53, 0x50, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x2e, - 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x50, 0x69, 0x6e, 0x67, 0x5c, 0x56, - 0x31, 0xe2, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x50, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x53, - 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x50, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x10, - 0x12, 0x0e, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x69, 0x66, 0x74, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x69, 0x6e, + 0x67, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x50, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, + 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x5c, + 0x50, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x50, + 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x50, 0x69, 0x6e, 0x67, 0x3a, + 0x3a, 0x56, 0x31, 0x92, 0x41, 0x10, 0x12, 0x0e, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x20, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/ping/v1/ping.pb.gw.go b/go/gen/sift/ping/v1/ping.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/ping/v1/ping.pb.gw.go rename to go/gen/sift/ping/v1/ping.pb.gw.go diff --git a/go/gen/protos/go/sift/ping/v1/ping_vtproto.pb.go b/go/gen/sift/ping/v1/ping_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/ping/v1/ping_vtproto.pb.go rename to go/gen/sift/ping/v1/ping_vtproto.pb.go diff --git a/go/gen/protos/go/sift/remote_files/v1/remote_files.pb.go b/go/gen/sift/remote_files/v1/remote_files.pb.go similarity index 98% rename from go/gen/protos/go/sift/remote_files/v1/remote_files.pb.go rename to go/gen/sift/remote_files/v1/remote_files.pb.go index 7664fdcb..e9dc227f 100644 --- a/go/gen/protos/go/sift/remote_files/v1/remote_files.pb.go +++ b/go/gen/sift/remote_files/v1/remote_files.pb.go @@ -7,8 +7,8 @@ package remote_filesv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -1529,24 +1529,23 @@ var file_sift_remote_files_v1_remote_files_proto_rawDesc = []byte{ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2d, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x64, 0x6f, - 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x2d, 0x75, 0x72, 0x6c, 0x42, 0x84, 0x02, 0x0a, 0x18, 0x63, + 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x2d, 0x75, 0x72, 0x6c, 0x42, 0xfa, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x69, 0x74, + 0x69, 0x6c, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, - 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, - 0x52, 0x58, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x46, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, - 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x16, 0x12, 0x14, 0x0a, 0x12, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, + 0x69, 0x66, 0x74, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, + 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, + 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, 0x13, 0x53, 0x69, 0x66, 0x74, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x13, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, + 0x16, 0x12, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x20, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/remote_files/v1/remote_files.pb.gw.go b/go/gen/sift/remote_files/v1/remote_files.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/remote_files/v1/remote_files.pb.gw.go rename to go/gen/sift/remote_files/v1/remote_files.pb.gw.go diff --git a/go/gen/protos/go/sift/remote_files/v1/remote_files_vtproto.pb.go b/go/gen/sift/remote_files/v1/remote_files_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/remote_files/v1/remote_files_vtproto.pb.go rename to go/gen/sift/remote_files/v1/remote_files_vtproto.pb.go diff --git a/go/gen/protos/go/sift/report_templates/v1/report_templates.pb.go b/go/gen/sift/report_templates/v1/report_templates.pb.go similarity index 97% rename from go/gen/protos/go/sift/report_templates/v1/report_templates.pb.go rename to go/gen/sift/report_templates/v1/report_templates.pb.go index f7a2cbb1..2f156e45 100644 --- a/go/gen/protos/go/sift/report_templates/v1/report_templates.pb.go +++ b/go/gen/sift/report_templates/v1/report_templates.pb.go @@ -7,8 +7,8 @@ package report_templatesv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -1182,26 +1182,26 @@ var file_sift_report_templates_v1_report_templates_proto_rawDesc = []byte{ 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x20, 0x60, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x60, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x01, 0x2a, 0x32, 0x18, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x2d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0xa8, 0x02, 0x0a, 0x1c, + 0x74, 0x2d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x42, 0x9e, 0x02, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, - 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, - 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, - 0x53, 0x52, 0x58, 0xaa, 0x02, 0x17, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, - 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, + 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x72, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, + 0x3b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, 0x17, 0x53, 0x69, 0x66, 0x74, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x23, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x23, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, - 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x1a, 0x12, 0x18, 0x0a, 0x16, - 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x20, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x52, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, + 0x41, 0x1a, 0x12, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/report_templates/v1/report_templates.pb.gw.go b/go/gen/sift/report_templates/v1/report_templates.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/report_templates/v1/report_templates.pb.gw.go rename to go/gen/sift/report_templates/v1/report_templates.pb.gw.go diff --git a/go/gen/protos/go/sift/report_templates/v1/report_templates_vtproto.pb.go b/go/gen/sift/report_templates/v1/report_templates_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/report_templates/v1/report_templates_vtproto.pb.go rename to go/gen/sift/report_templates/v1/report_templates_vtproto.pb.go diff --git a/go/gen/protos/go/sift/reports/v1/reports.pb.go b/go/gen/sift/reports/v1/reports.pb.go similarity index 98% rename from go/gen/protos/go/sift/reports/v1/reports.pb.go rename to go/gen/sift/reports/v1/reports.pb.go index af62f9b9..c64f0f42 100644 --- a/go/gen/protos/go/sift/reports/v1/reports.pb.go +++ b/go/gen/sift/reports/v1/reports.pb.go @@ -7,8 +7,8 @@ package reportsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" @@ -1854,21 +1854,21 @@ var file_sift_reports_v1_reports_proto_rawDesc = []byte{ 0x62, 0x65, 0x20, 0x73, 0x61, 0x76, 0x65, 0x64, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x22, 0x22, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x63, 0x61, 0x6e, - 0x63, 0x65, 0x6c, 0x42, 0xdd, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, + 0x63, 0x65, 0x6c, 0x42, 0xd3, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x52, 0x65, 0x70, - 0x6f, 0x72, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x69, 0x74, + 0x6f, 0x72, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, - 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x72, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x69, 0x66, 0x74, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0f, 0x53, 0x69, 0x66, - 0x74, 0x5c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1b, 0x53, - 0x69, 0x66, 0x74, 0x5c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x53, 0x69, 0x66, - 0x74, 0x3a, 0x3a, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, - 0x12, 0x12, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, + 0x69, 0x66, 0x74, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, + 0x0f, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, 0x56, 0x31, + 0xca, 0x02, 0x0f, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5c, + 0x56, 0x31, 0xe2, 0x02, 0x1b, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x11, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, + 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x12, 0x12, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/go/gen/protos/go/sift/reports/v1/reports.pb.gw.go b/go/gen/sift/reports/v1/reports.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/reports/v1/reports.pb.gw.go rename to go/gen/sift/reports/v1/reports.pb.gw.go diff --git a/go/gen/protos/go/sift/reports/v1/reports_vtproto.pb.go b/go/gen/sift/reports/v1/reports_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/reports/v1/reports_vtproto.pb.go rename to go/gen/sift/reports/v1/reports_vtproto.pb.go diff --git a/go/gen/protos/go/sift/rule_evaluation/v1/rule_evaluation.pb.go b/go/gen/sift/rule_evaluation/v1/rule_evaluation.pb.go similarity index 97% rename from go/gen/protos/go/sift/rule_evaluation/v1/rule_evaluation.pb.go rename to go/gen/sift/rule_evaluation/v1/rule_evaluation.pb.go index e86394e1..5b5e399f 100644 --- a/go/gen/protos/go/sift/rule_evaluation/v1/rule_evaluation.pb.go +++ b/go/gen/sift/rule_evaluation/v1/rule_evaluation.pb.go @@ -7,10 +7,10 @@ package rule_evaluationv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" - v11 "github.com/sift-stack/sift/go/gen/protos/go/sift/rules/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" + v11 "github.com/sift-stack/sift/go/gen/sift/rules/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" @@ -968,26 +968,25 @@ var file_sift_rule_evaluation_v1_rule_evaluation_proto_rawDesc = []byte{ 0x74, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x2f, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, - 0x2f, 0x32, 0x36, 0x35, 0x34, 0x32, 0x31, 0x31, 0x30, 0x32, 0x42, 0xa1, 0x02, 0x0a, 0x1b, 0x63, + 0x2f, 0x32, 0x36, 0x35, 0x34, 0x32, 0x31, 0x31, 0x30, 0x32, 0x42, 0x97, 0x02, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, + 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, - 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, - 0x69, 0x66, 0x74, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, - 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, - 0x16, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, - 0x75, 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x22, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, - 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x52, 0x75, - 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, - 0x92, 0x41, 0x1b, 0x12, 0x19, 0x0a, 0x17, 0x52, 0x75, 0x6c, 0x65, 0x20, 0x45, 0x76, 0x61, 0x6c, - 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x65, + 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x75, 0x6c, + 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0xa2, 0x02, + 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, 0x16, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x52, 0x75, 0x6c, 0x65, + 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, + 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x22, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, + 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x53, 0x69, + 0x66, 0x74, 0x3a, 0x3a, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x1b, 0x12, 0x19, 0x0a, 0x17, 0x52, 0x75, 0x6c, + 0x65, 0x20, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/rule_evaluation/v1/rule_evaluation.pb.gw.go b/go/gen/sift/rule_evaluation/v1/rule_evaluation.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/rule_evaluation/v1/rule_evaluation.pb.gw.go rename to go/gen/sift/rule_evaluation/v1/rule_evaluation.pb.gw.go diff --git a/go/gen/protos/go/sift/rule_evaluation/v1/rule_evaluation_vtproto.pb.go b/go/gen/sift/rule_evaluation/v1/rule_evaluation_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/rule_evaluation/v1/rule_evaluation_vtproto.pb.go rename to go/gen/sift/rule_evaluation/v1/rule_evaluation_vtproto.pb.go index 983421e0..0d00df81 100644 --- a/go/gen/protos/go/sift/rule_evaluation/v1/rule_evaluation_vtproto.pb.go +++ b/go/gen/sift/rule_evaluation/v1/rule_evaluation_vtproto.pb.go @@ -9,8 +9,8 @@ import ( fmt "fmt" protohelpers "github.com/planetscale/vtprotobuf/protohelpers" timestamppb1 "github.com/planetscale/vtprotobuf/types/known/timestamppb" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" - v11 "github.com/sift-stack/sift/go/gen/protos/go/sift/rules/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" + v11 "github.com/sift-stack/sift/go/gen/sift/rules/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/rules/v1/rules.pb.go b/go/gen/sift/rules/v1/rules.pb.go similarity index 99% rename from go/gen/protos/go/sift/rules/v1/rules.pb.go rename to go/gen/sift/rules/v1/rules.pb.go index 5b9d1d08..a356ab32 100644 --- a/go/gen/protos/go/sift/rules/v1/rules.pb.go +++ b/go/gen/sift/rules/v1/rules.pb.go @@ -15,9 +15,9 @@ package rulesv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/annotations/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v1 "github.com/sift-stack/sift/go/gen/sift/annotations/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" @@ -4487,20 +4487,20 @@ var file_sift_rules_v1_rules_proto_rawDesc = []byte{ 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x2f, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x2f, - 0x32, 0x36, 0x35, 0x34, 0x32, 0x31, 0x31, 0x30, 0x32, 0x42, 0xcb, 0x01, 0x0a, 0x11, 0x63, 0x6f, + 0x32, 0x36, 0x35, 0x34, 0x32, 0x31, 0x31, 0x30, 0x32, 0x42, 0xc1, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, - 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, + 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, 0x0d, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x0f, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x52, 0x75, 0x6c, 0x65, 0x73, - 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x10, 0x12, 0x0e, 0x0a, 0x0c, 0x52, 0x75, 0x6c, 0x65, 0x20, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, + 0x75, 0x6c, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, 0x0d, 0x53, + 0x69, 0x66, 0x74, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x53, + 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x53, + 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x53, 0x69, 0x66, 0x74, 0x3a, + 0x3a, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x10, 0x12, 0x0e, 0x0a, + 0x0c, 0x52, 0x75, 0x6c, 0x65, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/rules/v1/rules.pb.gw.go b/go/gen/sift/rules/v1/rules.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/rules/v1/rules.pb.gw.go rename to go/gen/sift/rules/v1/rules.pb.gw.go diff --git a/go/gen/protos/go/sift/rules/v1/rules_vtproto.pb.go b/go/gen/sift/rules/v1/rules_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/rules/v1/rules_vtproto.pb.go rename to go/gen/sift/rules/v1/rules_vtproto.pb.go index cff69cd6..c14e881e 100644 --- a/go/gen/protos/go/sift/rules/v1/rules_vtproto.pb.go +++ b/go/gen/sift/rules/v1/rules_vtproto.pb.go @@ -10,7 +10,7 @@ import ( fmt "fmt" protohelpers "github.com/planetscale/vtprotobuf/protohelpers" timestamppb1 "github.com/planetscale/vtprotobuf/types/known/timestamppb" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/annotations/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/annotations/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/runs/v2/runs.pb.go b/go/gen/sift/runs/v2/runs.pb.go similarity index 98% rename from go/gen/protos/go/sift/runs/v2/runs.pb.go rename to go/gen/sift/runs/v2/runs.pb.go index 8ddad0f4..1a6bc0ff 100644 --- a/go/gen/protos/go/sift/runs/v2/runs.pb.go +++ b/go/gen/sift/runs/v2/runs.pb.go @@ -7,8 +7,8 @@ package runsv2 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -1200,20 +1200,19 @@ var file_sift_runs_v2_runs_proto_rawDesc = []byte{ 0x61, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x2f, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x2f, 0x32, 0x36, - 0x35, 0x34, 0x35, 0x34, 0x30, 0x35, 0x33, 0x42, 0xc2, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, + 0x35, 0x34, 0x35, 0x34, 0x30, 0x35, 0x33, 0x42, 0xb8, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x72, 0x75, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x09, 0x52, 0x75, - 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, - 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x72, 0x75, 0x6e, 0x73, - 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x75, 0x6e, 0x73, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, - 0xaa, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x52, 0x75, 0x6e, 0x73, 0x2e, 0x56, 0x32, 0xca, - 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, 0x6e, 0x73, 0x5c, 0x56, 0x32, 0xe2, 0x02, - 0x18, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, 0x6e, 0x73, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, - 0x3a, 0x3a, 0x52, 0x75, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x32, 0x92, 0x41, 0x0f, 0x12, 0x0d, 0x0a, - 0x0b, 0x52, 0x75, 0x6e, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, + 0x74, 0x2f, 0x72, 0x75, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x75, 0x6e, 0x73, 0x76, 0x32, + 0xa2, 0x02, 0x03, 0x53, 0x52, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x52, 0x75, + 0x6e, 0x73, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, 0x6e, + 0x73, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x52, 0x75, 0x6e, 0x73, + 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x52, 0x75, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x32, + 0x92, 0x41, 0x0f, 0x12, 0x0d, 0x0a, 0x0b, 0x52, 0x75, 0x6e, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/runs/v2/runs.pb.gw.go b/go/gen/sift/runs/v2/runs.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/runs/v2/runs.pb.gw.go rename to go/gen/sift/runs/v2/runs.pb.gw.go diff --git a/go/gen/protos/go/sift/runs/v2/runs_vtproto.pb.go b/go/gen/sift/runs/v2/runs_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/runs/v2/runs_vtproto.pb.go rename to go/gen/sift/runs/v2/runs_vtproto.pb.go diff --git a/go/gen/protos/go/sift/saved_searches/v1/saved_searches.pb.go b/go/gen/sift/saved_searches/v1/saved_searches.pb.go similarity index 97% rename from go/gen/protos/go/sift/saved_searches/v1/saved_searches.pb.go rename to go/gen/sift/saved_searches/v1/saved_searches.pb.go index 3d9bb032..ed71c84d 100644 --- a/go/gen/protos/go/sift/saved_searches/v1/saved_searches.pb.go +++ b/go/gen/sift/saved_searches/v1/saved_searches.pb.go @@ -7,8 +7,8 @@ package saved_searchesv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -1214,25 +1214,24 @@ var file_sift_saved_searches_v1_saved_searches_proto_rawDesc = []byte{ 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x61, 0x76, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x42, 0x95, 0x02, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, + 0x6c, 0x65, 0x74, 0x65, 0x42, 0x8b, 0x02, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x73, 0x61, 0x76, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x53, 0x61, 0x76, 0x65, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, - 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x73, 0x61, 0x76, 0x65, - 0x64, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x61, - 0x76, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, - 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x53, 0x61, 0x76, 0x65, - 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x53, - 0x69, 0x66, 0x74, 0x5c, 0x53, 0x61, 0x76, 0x65, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, - 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x53, 0x61, 0x76, 0x65, - 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x53, 0x69, 0x66, 0x74, 0x3a, - 0x3a, 0x53, 0x61, 0x76, 0x65, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x3a, 0x3a, - 0x56, 0x31, 0x92, 0x41, 0x17, 0x12, 0x15, 0x0a, 0x13, 0x53, 0x61, 0x76, 0x65, 0x64, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, + 0x74, 0x2f, 0x73, 0x61, 0x76, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, + 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x61, 0x76, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x15, 0x53, 0x69, 0x66, + 0x74, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x15, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x53, 0x61, 0x76, 0x65, 0x64, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x53, 0x69, 0x66, + 0x74, 0x5c, 0x53, 0x61, 0x76, 0x65, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x17, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x53, 0x61, 0x76, 0x65, 0x64, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x17, 0x12, 0x15, 0x0a, 0x13, 0x53, + 0x61, 0x76, 0x65, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/saved_searches/v1/saved_searches.pb.gw.go b/go/gen/sift/saved_searches/v1/saved_searches.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/saved_searches/v1/saved_searches.pb.gw.go rename to go/gen/sift/saved_searches/v1/saved_searches.pb.gw.go diff --git a/go/gen/protos/go/sift/saved_searches/v1/saved_searches_vtproto.pb.go b/go/gen/sift/saved_searches/v1/saved_searches_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/saved_searches/v1/saved_searches_vtproto.pb.go rename to go/gen/sift/saved_searches/v1/saved_searches_vtproto.pb.go diff --git a/go/gen/protos/go/sift/tags/v1/tags.pb.go b/go/gen/sift/tags/v1/tags.pb.go similarity index 91% rename from go/gen/protos/go/sift/tags/v1/tags.pb.go rename to go/gen/sift/tags/v1/tags.pb.go index fe719239..f7bd3144 100644 --- a/go/gen/protos/go/sift/tags/v1/tags.pb.go +++ b/go/gen/sift/tags/v1/tags.pb.go @@ -7,7 +7,7 @@ package tagsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" + _ "github.com/sift-stack/sift/go/gen/google/api" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" @@ -210,18 +210,18 @@ var file_sift_tags_v1_tags_proto_rawDesc = []byte{ 0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x42, 0xb0, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, + 0x61, 0x6d, 0x65, 0x42, 0xa6, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x74, 0x61, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x54, 0x61, 0x67, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, - 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, - 0x67, 0x6f, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x74, 0x61, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x3b, - 0x74, 0x61, 0x67, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x54, 0x58, 0xaa, 0x02, 0x0c, 0x53, - 0x69, 0x66, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x69, - 0x66, 0x74, 0x5c, 0x54, 0x61, 0x67, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x69, 0x66, - 0x74, 0x5c, 0x54, 0x61, 0x67, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x54, 0x61, - 0x67, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x74, 0x61, + 0x67, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x61, 0x67, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, + 0x54, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x0c, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x54, 0x61, 0x67, 0x73, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x18, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x54, 0x61, 0x67, 0x73, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x53, 0x69, + 0x66, 0x74, 0x3a, 0x3a, 0x54, 0x61, 0x67, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/tags/v1/tags_vtproto.pb.go b/go/gen/sift/tags/v1/tags_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/tags/v1/tags_vtproto.pb.go rename to go/gen/sift/tags/v1/tags_vtproto.pb.go diff --git a/go/gen/protos/go/sift/users/v2/users.pb.go b/go/gen/sift/users/v2/users.pb.go similarity index 95% rename from go/gen/protos/go/sift/users/v2/users.pb.go rename to go/gen/sift/users/v2/users.pb.go index b530d63e..3aae70be 100644 --- a/go/gen/protos/go/sift/users/v2/users.pb.go +++ b/go/gen/sift/users/v2/users.pb.go @@ -7,9 +7,9 @@ package usersv2 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -452,20 +452,19 @@ var file_sift_users_v2_users_proto_rawDesc = []byte{ 0x74, 0x6f, 0x20, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x42, - 0xcb, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x75, 0x73, 0x65, + 0xc1, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, - 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, - 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x75, - 0x73, 0x65, 0x72, 0x73, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x53, 0x55, 0x58, 0xaa, 0x02, 0x0d, 0x53, - 0x69, 0x66, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x0d, 0x53, - 0x69, 0x66, 0x74, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x19, 0x53, - 0x69, 0x66, 0x74, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x53, 0x69, 0x66, 0x74, 0x3a, - 0x3a, 0x55, 0x73, 0x65, 0x72, 0x73, 0x3a, 0x3a, 0x56, 0x32, 0x92, 0x41, 0x10, 0x12, 0x0e, 0x0a, - 0x0c, 0x55, 0x73, 0x65, 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, + 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x73, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x53, + 0x55, 0x58, 0xaa, 0x02, 0x0d, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x2e, + 0x56, 0x32, 0xca, 0x02, 0x0d, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x5c, + 0x56, 0x32, 0xe2, 0x02, 0x19, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x5c, + 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x0f, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x55, 0x73, 0x65, 0x72, 0x73, 0x3a, 0x3a, 0x56, 0x32, + 0x92, 0x41, 0x10, 0x12, 0x0e, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/users/v2/users.pb.gw.go b/go/gen/sift/users/v2/users.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/users/v2/users.pb.gw.go rename to go/gen/sift/users/v2/users.pb.gw.go diff --git a/go/gen/protos/go/sift/users/v2/users_vtproto.pb.go b/go/gen/sift/users/v2/users_vtproto.pb.go similarity index 99% rename from go/gen/protos/go/sift/users/v2/users_vtproto.pb.go rename to go/gen/sift/users/v2/users_vtproto.pb.go index 4a70b2b5..6d0151f6 100644 --- a/go/gen/protos/go/sift/users/v2/users_vtproto.pb.go +++ b/go/gen/sift/users/v2/users_vtproto.pb.go @@ -8,7 +8,7 @@ import ( context "context" fmt "fmt" protohelpers "github.com/planetscale/vtprotobuf/protohelpers" - v1 "github.com/sift-stack/sift/go/gen/protos/go/sift/common/type/v1" + v1 "github.com/sift-stack/sift/go/gen/sift/common/type/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/go/gen/protos/go/sift/views/v1/views.pb.go b/go/gen/sift/views/v1/views.pb.go similarity index 98% rename from go/gen/protos/go/sift/views/v1/views.pb.go rename to go/gen/sift/views/v1/views.pb.go index 9cf4b0f5..83d33173 100644 --- a/go/gen/protos/go/sift/views/v1/views.pb.go +++ b/go/gen/sift/views/v1/views.pb.go @@ -7,8 +7,8 @@ package viewsv1 import ( - _ "github.com/sift-stack/sift/go/gen/protos/go/google/api" - _ "github.com/sift-stack/sift/go/gen/protos/go/protoc-gen-openapiv2/options" + _ "github.com/sift-stack/sift/go/gen/google/api" + _ "github.com/sift-stack/sift/go/gen/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" @@ -1500,21 +1500,20 @@ var file_sift_views_v1_views_proto_rawDesc = []byte{ 0x2e, 0x73, 0x69, 0x66, 0x74, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x64, 0x65, 0x73, 0x6b, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x2f, 0x32, 0x2f, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x6c, 0x65, 0x2f, 0x32, 0x39, 0x38, 0x31, 0x38, 0x38, 0x38, 0x30, 0x39, 0x42, 0xcb, + 0x69, 0x63, 0x6c, 0x65, 0x2f, 0x32, 0x39, 0x38, 0x31, 0x38, 0x38, 0x38, 0x30, 0x39, 0x42, 0xc1, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x69, 0x66, 0x74, 0x2e, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x56, 0x69, 0x65, 0x77, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, + 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x67, - 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x2f, - 0x73, 0x69, 0x66, 0x74, 0x2f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x69, - 0x65, 0x77, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x56, 0x58, 0xaa, 0x02, 0x0d, 0x53, 0x69, - 0x66, 0x74, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x53, 0x69, - 0x66, 0x74, 0x5c, 0x56, 0x69, 0x65, 0x77, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x53, 0x69, - 0x66, 0x74, 0x5c, 0x56, 0x69, 0x65, 0x77, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, - 0x56, 0x69, 0x65, 0x77, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0x10, 0x12, 0x0e, 0x0a, 0x0c, - 0x56, 0x69, 0x65, 0x77, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x69, 0x66, 0x74, 0x2f, 0x76, 0x69, 0x65, 0x77, 0x73, + 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x69, 0x65, 0x77, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x56, + 0x58, 0xaa, 0x02, 0x0d, 0x53, 0x69, 0x66, 0x74, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x73, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x0d, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x56, 0x69, 0x65, 0x77, 0x73, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x19, 0x53, 0x69, 0x66, 0x74, 0x5c, 0x56, 0x69, 0x65, 0x77, 0x73, 0x5c, 0x56, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, + 0x53, 0x69, 0x66, 0x74, 0x3a, 0x3a, 0x56, 0x69, 0x65, 0x77, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x92, + 0x41, 0x10, 0x12, 0x0e, 0x0a, 0x0c, 0x56, 0x69, 0x65, 0x77, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/go/gen/protos/go/sift/views/v1/views.pb.gw.go b/go/gen/sift/views/v1/views.pb.gw.go similarity index 100% rename from go/gen/protos/go/sift/views/v1/views.pb.gw.go rename to go/gen/sift/views/v1/views.pb.gw.go diff --git a/go/gen/protos/go/sift/views/v1/views_vtproto.pb.go b/go/gen/sift/views/v1/views_vtproto.pb.go similarity index 100% rename from go/gen/protos/go/sift/views/v1/views_vtproto.pb.go rename to go/gen/sift/views/v1/views_vtproto.pb.go diff --git a/go/go.mod b/go/go.mod index a206e50a..4604fd9d 100644 --- a/go/go.mod +++ b/go/go.mod @@ -1,18 +1,19 @@ module github.com/sift-stack/sift/go -go 1.21.8 +go 1.22.5 require ( - github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 - github.com/planetscale/vtprotobuf v0.6.0 - google.golang.org/grpc v1.63.2 - google.golang.org/protobuf v1.33.0 + github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 + github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 + google.golang.org/grpc v1.59.0 + google.golang.org/protobuf v1.34.2 ) require ( - golang.org/x/net v0.23.0 // indirect - golang.org/x/sys v0.18.0 // indirect - golang.org/x/text v0.14.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect + github.com/golang/protobuf v1.5.3 // indirect + golang.org/x/net v0.29.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/text v0.18.0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect ) diff --git a/go/go.sum b/go/go.sum index 20371246..a942eeec 100644 --- a/go/go.sum +++ b/go/go.sum @@ -1,22 +1,31 @@ -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM= -github.com/planetscale/vtprotobuf v0.6.0 h1:nBeETjudeJ5ZgBHUz1fVHvbqUKnYOXNhsIEabROxmNA= -github.com/planetscale/vtprotobuf v0.6.0/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY= -google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo= -google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0= -google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= -google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= -google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rHAxPBD8KFhJpmcqms= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= +github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= +github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= +golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= +golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= +golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d h1:VBu5YqKPv6XiJ199exd8Br+Aetz+o08F+PLMnwJQHAY= +google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= +google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d h1:DoPTO70H+bcDXcd39vOqb2viZxgqeBeSGtZ55yZU4/Q= +google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1:pPJltXNxVzT4pK9yD8vR9X75DaWYYmLGMsEvBfFQZzQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= +google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk= +google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/go/grpc/grpc.go b/go/grpc/grpc.go new file mode 100644 index 00000000..e949f53c --- /dev/null +++ b/go/grpc/grpc.go @@ -0,0 +1,55 @@ +package grpc + +import ( + "context" + "net" + + "google.golang.org/grpc" + "google.golang.org/grpc/credentials" + "google.golang.org/grpc/credentials/insecure" +) + +// Configuration for [SiftChannel]. +type SiftChannelConfig struct { + Uri string + Apikey string +} + +// Type alias for a gRPC channel configured specifically to communicate with the Sift API. +type SiftChannel = *grpc.ClientConn + +// Initializes a gRPC connection to Sift. +func UseSiftChannel(ctx context.Context, config SiftChannelConfig) (SiftChannel, error) { + transportCred := grpc.WithTransportCredentials(credentials.NewClientTLSFromCert(nil, "")) + if useInsecure(config.Uri) { + transportCred = grpc.WithTransportCredentials(insecure.NewCredentials()) + } + + // When adding new interceptors keep in mind that from top to bottom it's outermost + // to innermost. + unaryInterceptors := grpc.WithChainUnaryInterceptor( + initAuthUnaryInterceptor(config.Apikey), + ) + + // When adding new interceptors keep in mind that from top to bottom it's outermost + // to innermost. + streamInterceptors := grpc.WithChainStreamInterceptor( + initAuthStreamInterceptor(config.Apikey), + ) + + return grpc.DialContext( + ctx, + config.Uri, + transportCred, + unaryInterceptors, + streamInterceptors, + ) +} + +func useInsecure(uri string) bool { + host, _, err := net.SplitHostPort(uri) + if err != nil { + host = uri + } + return host == "localhost" || host == "127.0.0.1" || host == "::1" +} diff --git a/go/grpc/interceptor.go b/go/grpc/interceptor.go new file mode 100644 index 00000000..2ab49de1 --- /dev/null +++ b/go/grpc/interceptor.go @@ -0,0 +1,38 @@ +package grpc + +import ( + "context" + "fmt" + + "google.golang.org/grpc" + "google.golang.org/grpc/metadata" +) + +func initAuthUnaryInterceptor(apikey string) grpc.UnaryClientInterceptor { + return func( + ctx context.Context, + method string, + req, + reply any, + cc *grpc.ClientConn, + invoker grpc.UnaryInvoker, + opts ...grpc.CallOption, + ) error { + ctx = metadata.AppendToOutgoingContext(ctx, "authorization", fmt.Sprintf("Bearer %s", apikey)) + return invoker(ctx, method, req, reply, cc, opts...) + } +} + +func initAuthStreamInterceptor(apikey string) grpc.StreamClientInterceptor { + return func( + ctx context.Context, + desc *grpc.StreamDesc, + cc *grpc.ClientConn, + method string, + streamer grpc.Streamer, + opts ...grpc.CallOption, + ) (grpc.ClientStream, error) { + ctx = metadata.AppendToOutgoingContext(ctx, "authorization", fmt.Sprintf("Bearer %s", apikey)) + return streamer(ctx, desc, cc, method, opts...) + } +} diff --git a/rust/Cargo.lock b/rust/Cargo.lock index b1a4d40b..c52d96fe 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -530,9 +530,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "matchit" diff --git a/rust/examples/ingestion/config.rs b/rust/examples/ingestion/config.rs deleted file mode 100644 index 22e8c67c..00000000 --- a/rust/examples/ingestion/config.rs +++ /dev/null @@ -1,44 +0,0 @@ -use sift_rs::gen::sift::{ - common::r#type::v1::ChannelDataType, - ingestion_configs::v1::{ChannelConfig, FlowConfig}, -}; - -/// Name of the asset that we want to ingest data for. -pub const ASSET_NAME: &str = "LV426"; - -/// Unique client-chosen identifier used to identify an ingestion config. -pub const CLIENT_KEY: &str = "lv426-v1"; - -/// Channel and flow configuration used to create an ingestion config. -pub fn channel_configs() -> Vec { - return vec![ - FlowConfig { - name: String::from("reading"), - channels: vec![ - ChannelConfig { - name: "velocity".to_string(), - component: "mainmotor".to_string(), - unit: "km/hr".to_string(), - description: "vehicle speed".to_string(), - data_type: ChannelDataType::Double.into(), - ..Default::default() - }, - ChannelConfig { - name: "voltage".to_string(), - unit: "kV".to_string(), - description: "potential difference".to_string(), - data_type: ChannelDataType::Double.into(), - ..Default::default() - }, - ], - }, - FlowConfig { - name: String::from("log"), - channels: vec![ChannelConfig { - name: "log".to_string(), - data_type: ChannelDataType::String.into(), - ..Default::default() - }], - }, - ]; -} diff --git a/rust/examples/ingestion/data.rs b/rust/examples/ingestion/data.rs new file mode 100644 index 00000000..5076b24f --- /dev/null +++ b/rust/examples/ingestion/data.rs @@ -0,0 +1,22 @@ +use chrono::{DateTime, Utc}; +use rand::Rng; +use std::{ + sync::mpsc::{channel, Receiver}, + thread, + time::{Duration, Instant}, +}; + +pub fn data_source() -> Receiver<(DateTime, f64)> { + let (tx, rx) = channel(); + thread::spawn(move || { + let duration = Duration::from_secs(60); + let start = Instant::now(); + let mut rng = rand::thread_rng(); + + while Instant::now().duration_since(start) < duration { + tx.send((Utc::now(), rng.gen_range(0.0..100.0))).unwrap(); + thread::sleep(Duration::from_millis(500)); + } + }); + rx +} diff --git a/rust/examples/ingestion/main.rs b/rust/examples/ingestion/main.rs index 7b6f58ea..17f13671 100644 --- a/rust/examples/ingestion/main.rs +++ b/rust/examples/ingestion/main.rs @@ -1,37 +1,42 @@ use chrono::Utc; use pbjson_types::Timestamp; -use rand::Rng; use sift_rs::{ gen::sift::{ + common::r#type::v1::ChannelDataType, ingest::v1::{ ingest_service_client::IngestServiceClient, ingest_with_config_data_channel_value::Type, IngestWithConfigDataChannelValue, IngestWithConfigDataStreamRequest, }, ingestion_configs::v1::{ - ingestion_config_service_client::IngestionConfigServiceClient, - CreateIngestionConfigRequest, IngestionConfig, ListIngestionConfigsRequest, + ingestion_config_service_client::IngestionConfigServiceClient, ChannelConfig, + CreateIngestionConfigRequest, FlowConfig, IngestionConfig, ListIngestionConfigsRequest, }, runs::v2::{run_service_client::RunServiceClient, CreateRunRequest, Run}, }, grpc::{use_sift_channel, SiftChannel, SiftChannelConfig}, }; -use std::{ - env, - error::Error, - time::{Duration, Instant}, -}; +use std::{env, error::Error}; + +/// Simulates a data source +mod data; +use data::data_source; -/// Contains our asset and channel configurations -pub mod config; -use config::{channel_configs, ASSET_NAME, CLIENT_KEY}; +/// Name of the asset that we want to ingest data for. +pub const ASSET_NAME: &str = "LV-426"; + +/// Unique client-chosen identifier used to identify an ingestion config. +pub const CLIENT_KEY: &str = "lv-426-v1"; #[tokio::main] async fn main() -> Result<(), Box> { - let uri = env::var("SIFT_URI")?; - let apikey = env::var("SIFT_API_KEY")?; - let grpc_channel = use_sift_channel(SiftChannelConfig { uri, apikey })?; + // Connect to Sift + let grpc_channel = use_sift_channel(SiftChannelConfig { + uri: env::var("SIFT_URI")?, + apikey: env::var("SIFT_API_KEY")?, + })?; + // Create your ingestion config which defines the schema of your telemetry. let ingestion_config = get_or_create_ingestion_config(grpc_channel.clone(), ASSET_NAME, CLIENT_KEY).await?; println!( @@ -39,92 +44,54 @@ async fn main() -> Result<(), Box> { ingestion_config.client_key ); + // Create a run to group all the data ingested during this period. let run = create_run(grpc_channel.clone(), ASSET_NAME).await?; println!("initialized run {}", &run.name); let mut ingestion_service = IngestServiceClient::new(grpc_channel); - - // RNG to simulate real data - let mut rng = rand::thread_rng(); - - let start = Instant::now(); - let duration = Duration::from_secs(60); - - // Frequency to send data for each flow - let readings_frequency_hz = 1.5; - let logs_frequency_hz = 2.0; - let readings_interval = Duration::from_secs_f64(1.0 / readings_frequency_hz); - let logs_interval = Duration::from_secs_f64(1.0 / logs_frequency_hz); - - let mut last_reading = Instant::now(); - let mut last_log = Instant::now(); - - // Buffer our requests rather than sending them 1 by 1 for better performance - let mut buffer = Vec::new(); - let send_threshold = 5; - - while Instant::now().duration_since(start) < duration { - let current = Instant::now(); - - if current.duration_since(last_reading) >= readings_interval { - buffer.push(IngestWithConfigDataStreamRequest { - ingestion_config_id: String::from(&ingestion_config.ingestion_config_id), - run_id: String::from(&run.run_id), - flow: String::from("reading"), - timestamp: Some(Timestamp::from(Utc::now())), - channel_values: vec![ - // velocity channel - IngestWithConfigDataChannelValue { - r#type: Some(Type::Double(rng.gen_range(1.0..10.0))), - }, - // voltage channel - IngestWithConfigDataChannelValue { - r#type: Some(Type::Double(rng.gen_range(1.0..10.0))), - }, - ], - // Use this flag only for debugging purposes to get real-time data validation from - // the Sift API. Do not use in production as it will hurt performance. - end_stream_on_validation_error: true, - ..Default::default() - }); - last_reading = current; - } - - if current.duration_since(last_log) >= logs_interval { - buffer.push(IngestWithConfigDataStreamRequest { - ingestion_config_id: String::from(&ingestion_config.ingestion_config_id), - run_id: String::from(&run.run_id), - flow: String::from("log"), - timestamp: Some(Timestamp::from(Utc::now())), - channel_values: vec![ - // log channel - IngestWithConfigDataChannelValue { - r#type: Some(Type::String("test log emission".to_string())), - }, - ], - // Use this flag only for debugging purposes to get real-time data validation from - // the Sift API. Do not use in production as it will hurt performance. - end_stream_on_validation_error: true, - ..Default::default() - }); - last_log = current; - } - - // Send data once buffer is full and re-init buffer - if buffer.len() > send_threshold { - println!("ingestion {} flows", buffer.len()); - let stream = tokio_stream::iter(buffer); - ingestion_service - .ingest_with_config_data_stream(stream) - .await?; - buffer = Vec::new(); - } + let data_stream = data_source(); + + // Stream data to Sift from a data source. + while let Ok((timestamp, velocity)) = data_stream.recv() { + let req = IngestWithConfigDataStreamRequest { + run_id: run.run_id.clone(), + ingestion_config_id: String::from(&ingestion_config.ingestion_config_id), + flow: String::from("velocity_reading"), + timestamp: Some(Timestamp::from(timestamp)), + channel_values: vec![IngestWithConfigDataChannelValue { + r#type: Some(Type::Double(velocity)), + }], + // Set this flag to `true` only for debugging purposes to get real-time data validation from + // the Sift API. Do not use in production as it will hurt performance. + end_stream_on_validation_error: false, + ..Default::default() + }; + ingestion_service + .ingest_with_config_data_stream(tokio_stream::once(req)) + .await?; + println!("ingested a velocity_reading flow"); } + println!("done."); Ok(()) } -/// Retrieves an existing ingestion config or creates it +/// Channel and flow configuration used to create an ingestion config. +pub fn channel_configs() -> Vec { + return vec![FlowConfig { + name: String::from("velocity_reading"), + channels: vec![ChannelConfig { + name: String::from("velocity"), + component: String::from("mainmotor"), + unit: String::from("km/hr"), + description: String::from("vehicle speed"), + data_type: ChannelDataType::Double.into(), + ..Default::default() + }], + }]; +} + +/// Retrieves an existing ingestion config or create it. async fn get_or_create_ingestion_config( grpc_channel: SiftChannel, asset_name: &str,