@gooddata/maql-antlr4ts 0.3.1-51c8bcc4.0 → 0.3.1-54b1eb6a.0

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/README.md CHANGED
@@ -67,4 +67,31 @@ Use [yalc](https://github.com/wclr/yalc) to link the package to other repositori
67
67
 
68
68
  ## Publishing
69
69
 
70
- The package can be published by triggering the workflow https://github.com/gooddata/gdc-nas/actions/workflows/publish_maql_antlr4ts_npm.yml manually.
70
+ The package is published automatically after merging to master branch.
71
+
72
+ ### Manual publishing
73
+
74
+ > Unless you have a good reason to do so (i.e. you cannot test a feature otherwise)
75
+ **do not** publish the package manually.
76
+
77
+ Create a GitLab access token with `api` permissions and store it
78
+ in the `NPM_TOKEN` environment variable.
79
+
80
+ `export NPM_TOKEN=<your acces token>`
81
+
82
+ Build and publish the package. You must first set a new version of the package. You must choose one that is not yet
83
+ taken
84
+ (or delete the existing package). You can use
85
+ `yarn bump` or `yarn version <new version>`.
86
+
87
+ Then you should build the package
88
+
89
+ `yarn build`
90
+
91
+ and publish.
92
+
93
+ `npm publish`
94
+
95
+ You should now be able to see the package in the GitLab project registry.
96
+
97
+ The id of the project is set to `16539767`
package/dist/index.d.ts CHANGED
@@ -101,40 +101,37 @@ declare class MaqlLexer extends Lexer {
101
101
  static readonly YEAR = 85;
102
102
  static readonly WEEK = 86;
103
103
  static readonly WEEKOFYEAR = 87;
104
- static readonly FISCALMONTH = 88;
105
- static readonly FISCALQUARTER = 89;
106
- static readonly FISCALYEAR = 90;
107
- static readonly WS = 91;
108
- static readonly Comment = 92;
109
- static readonly UnterminatedString = 93;
110
- static readonly String = 94;
111
- static readonly LBRACE = 95;
112
- static readonly RBRACE = 96;
113
- static readonly RELOP = 97;
114
- static readonly COMMA = 98;
115
- static readonly SEMICOLON = 99;
116
- static readonly LPAREN = 100;
117
- static readonly RPAREN = 101;
118
- static readonly MINUS = 102;
119
- static readonly PERCENT = 103;
120
- static readonly PLUS = 104;
121
- static readonly MUL = 105;
122
- static readonly DIV = 106;
123
- static readonly ZERO = 107;
124
- static readonly Natural = 108;
125
- static readonly Real = 109;
126
- static readonly Identifier = 110;
127
- static readonly ERROR_CHARACTER = 111;
128
- static readonly FACT = 112;
129
- static readonly ATTRIBUTE = 113;
130
- static readonly METRIC_TYPE = 114;
131
- static readonly LABEL = 115;
132
- static readonly LOCAL = 116;
133
- static readonly PROMPT = 117;
134
- static readonly DATASET = 118;
135
- static readonly UNKNOWN_TYPE = 119;
136
- static readonly SEP = 120;
137
- static readonly ID = 121;
104
+ static readonly WS = 88;
105
+ static readonly Comment = 89;
106
+ static readonly UnterminatedString = 90;
107
+ static readonly String = 91;
108
+ static readonly LBRACE = 92;
109
+ static readonly RBRACE = 93;
110
+ static readonly RELOP = 94;
111
+ static readonly COMMA = 95;
112
+ static readonly SEMICOLON = 96;
113
+ static readonly LPAREN = 97;
114
+ static readonly RPAREN = 98;
115
+ static readonly MINUS = 99;
116
+ static readonly PERCENT = 100;
117
+ static readonly PLUS = 101;
118
+ static readonly MUL = 102;
119
+ static readonly DIV = 103;
120
+ static readonly ZERO = 104;
121
+ static readonly Natural = 105;
122
+ static readonly Real = 106;
123
+ static readonly Identifier = 107;
124
+ static readonly ERROR_CHARACTER = 108;
125
+ static readonly FACT = 109;
126
+ static readonly ATTRIBUTE = 110;
127
+ static readonly METRIC_TYPE = 111;
128
+ static readonly LABEL = 112;
129
+ static readonly LOCAL = 113;
130
+ static readonly PROMPT = 114;
131
+ static readonly DATASET = 115;
132
+ static readonly UNKNOWN_TYPE = 116;
133
+ static readonly SEP = 117;
134
+ static readonly ID = 118;
138
135
  static readonly OBJECT_TYPE = 1;
139
136
  static readonly OBJECT_ID = 2;
140
137
  static readonly channelNames: string[];
@@ -2040,40 +2037,37 @@ declare class MaqlParser extends Parser {
2040
2037
  static readonly YEAR = 85;
2041
2038
  static readonly WEEK = 86;
2042
2039
  static readonly WEEKOFYEAR = 87;
2043
- static readonly FISCALMONTH = 88;
2044
- static readonly FISCALQUARTER = 89;
2045
- static readonly FISCALYEAR = 90;
2046
- static readonly WS = 91;
2047
- static readonly Comment = 92;
2048
- static readonly UnterminatedString = 93;
2049
- static readonly String = 94;
2050
- static readonly LBRACE = 95;
2051
- static readonly RBRACE = 96;
2052
- static readonly RELOP = 97;
2053
- static readonly COMMA = 98;
2054
- static readonly SEMICOLON = 99;
2055
- static readonly LPAREN = 100;
2056
- static readonly RPAREN = 101;
2057
- static readonly MINUS = 102;
2058
- static readonly PERCENT = 103;
2059
- static readonly PLUS = 104;
2060
- static readonly MUL = 105;
2061
- static readonly DIV = 106;
2062
- static readonly ZERO = 107;
2063
- static readonly Natural = 108;
2064
- static readonly Real = 109;
2065
- static readonly Identifier = 110;
2066
- static readonly ERROR_CHARACTER = 111;
2067
- static readonly FACT = 112;
2068
- static readonly ATTRIBUTE = 113;
2069
- static readonly METRIC_TYPE = 114;
2070
- static readonly LABEL = 115;
2071
- static readonly LOCAL = 116;
2072
- static readonly PROMPT = 117;
2073
- static readonly DATASET = 118;
2074
- static readonly UNKNOWN_TYPE = 119;
2075
- static readonly SEP = 120;
2076
- static readonly ID = 121;
2040
+ static readonly WS = 88;
2041
+ static readonly Comment = 89;
2042
+ static readonly UnterminatedString = 90;
2043
+ static readonly String = 91;
2044
+ static readonly LBRACE = 92;
2045
+ static readonly RBRACE = 93;
2046
+ static readonly RELOP = 94;
2047
+ static readonly COMMA = 95;
2048
+ static readonly SEMICOLON = 96;
2049
+ static readonly LPAREN = 97;
2050
+ static readonly RPAREN = 98;
2051
+ static readonly MINUS = 99;
2052
+ static readonly PERCENT = 100;
2053
+ static readonly PLUS = 101;
2054
+ static readonly MUL = 102;
2055
+ static readonly DIV = 103;
2056
+ static readonly ZERO = 104;
2057
+ static readonly Natural = 105;
2058
+ static readonly Real = 106;
2059
+ static readonly Identifier = 107;
2060
+ static readonly ERROR_CHARACTER = 108;
2061
+ static readonly FACT = 109;
2062
+ static readonly ATTRIBUTE = 110;
2063
+ static readonly METRIC_TYPE = 111;
2064
+ static readonly LABEL = 112;
2065
+ static readonly LOCAL = 113;
2066
+ static readonly PROMPT = 114;
2067
+ static readonly DATASET = 115;
2068
+ static readonly UNKNOWN_TYPE = 116;
2069
+ static readonly SEP = 117;
2070
+ static readonly ID = 118;
2077
2071
  static readonly RULE_maql = 0;
2078
2072
  static readonly RULE_maqlExpression = 1;
2079
2073
  static readonly RULE_selectExpression = 2;
@@ -3283,9 +3277,6 @@ declare class GranularityContext extends ParserRuleContext {
3283
3277
  YEAR(): TerminalNode | undefined;
3284
3278
  WEEK(): TerminalNode | undefined;
3285
3279
  WEEKOFYEAR(): TerminalNode | undefined;
3286
- FISCALMONTH(): TerminalNode | undefined;
3287
- FISCALQUARTER(): TerminalNode | undefined;
3288
- FISCALYEAR(): TerminalNode | undefined;
3289
3280
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
3290
3281
  get ruleIndex(): number;
3291
3282
  enterRule(listener: MaqlParserListener): void;