@dataform/core 3.0.49 → 3.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.d.ts +1 -1
- package/bundle.js +1 -1
- package/extension.proto +41 -0
- package/package.json +1 -1
package/extension.proto
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Copyright 2023 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package dataform;
|
|
18
|
+
|
|
19
|
+
option java_package = "com.dataform.protos";
|
|
20
|
+
option java_outer_classname = "ExtensionMeta";
|
|
21
|
+
option java_multiple_files = true;
|
|
22
|
+
|
|
23
|
+
option go_package = "github.com/dataform-co/dataform/protos/dataform";
|
|
24
|
+
|
|
25
|
+
// Execution mode of compilation extension.
|
|
26
|
+
enum ExtensionCompilationMode {
|
|
27
|
+
// Unspecified compiled mode - extension will be skipped.
|
|
28
|
+
COMPILATION_MODE_UNSPECIFIED = 0;
|
|
29
|
+
// Execute before regular Dataform compilation.
|
|
30
|
+
PROLOGUE = 1;
|
|
31
|
+
// Replace regular Dataform compilation.
|
|
32
|
+
APPLICATION_CODE = 2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message Extension {
|
|
36
|
+
// Name of the extension (JS module) to delegate the compilation to.
|
|
37
|
+
string name = 1;
|
|
38
|
+
|
|
39
|
+
// Compilation mode of the extension, required.
|
|
40
|
+
ExtensionCompilationMode compilation_mode = 2;
|
|
41
|
+
}
|