@voxgig/create-sdkgen 0.5.1 → 0.6.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/package.json +1 -1
- package/project/standard/.sdk/test/primary/makeResponse.jsonic +1 -1
- package/project/standard/.sdk/test/primary/makeSpec.jsonic +1 -1
- package/project/standard/.sdk/test/primary/operator.jsonic +2 -2
- package/project/standard/.sdk/test/primary/param.jsonic +2 -2
- package/project/standard/.sdk/test/primary/prepareBody.jsonic +2 -2
- package/project/standard/.sdk/test/primary/prepareParams.jsonic +5 -5
- package/project/standard/.sdk/test/primary/prepareQuery.jsonic +5 -5
- package/project/standard/.sdk/test/primary/primary-test-index.jsonic +1 -1
- package/project/standard/.sdk/test/primary/transformRequest.jsonic +1 -1
- package/project/standard/.sdk/test/primary/transformResponse.jsonic +1 -1
- /package/project/standard/.sdk/test/primary/{makeTarget.jsonic → makePoint.jsonic} +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
DEF: {
|
|
4
|
-
ctx0: {
|
|
4
|
+
ctx0: {point:{alias:{}}}
|
|
5
5
|
ctx1: .ctx0
|
|
6
6
|
ctx2: .ctx1 & {reqmatch:{}}
|
|
7
7
|
ctx3: .ctx2 & {reqmatch:{a:'A'}}
|
|
8
8
|
ctx4: .ctx3
|
|
9
|
-
ctx5: .ctx4 & {
|
|
9
|
+
ctx5: .ctx4 & {point:{alias:{b:a}},spec:{alias:{}}}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
basic: set: [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
basic: set: [
|
|
3
3
|
{
|
|
4
4
|
ctx: {
|
|
5
|
-
opname:create,
|
|
5
|
+
opname:create, point:{transform:{req:'`reqdata.foo`'}},
|
|
6
6
|
reqdata:{foo:{x:1}}
|
|
7
7
|
}
|
|
8
8
|
out: {x:1}
|
|
@@ -10,7 +10,7 @@ basic: set: [
|
|
|
10
10
|
|
|
11
11
|
{
|
|
12
12
|
ctx: {
|
|
13
|
-
opname:create,
|
|
13
|
+
opname:create, point:{transform:{req:'`reqdata.bar`'}},
|
|
14
14
|
reqdata:{foo:{x:2}}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
basic: set: [
|
|
3
|
-
{ ctx: {
|
|
4
|
-
{ ctx: {
|
|
5
|
-
{ ctx: {
|
|
6
|
-
{ ctx: {
|
|
7
|
-
{ ctx: {
|
|
3
|
+
{ ctx: {point:{args:{params:[]},params:[],alias:{}}}, out:{} }
|
|
4
|
+
{ ctx: {point:{args:{params:[{name:a}]},params:[a],alias:{}},reqmatch:{}}, out:{} }
|
|
5
|
+
{ ctx: {point:{args:{params:[{name:a}]},params:[a],alias:{}},reqmatch:{a:A}}, out:{a:A} }
|
|
6
|
+
{ ctx: {point:{args:{params:[{name:a}]},params:[a],alias:{}},reqmatch:{b:B}}, out:{} }
|
|
7
|
+
{ ctx: {point:{args:{params:[{name:a}]},params:[a],alias:{}},reqmatch:{a:A,b:B}}, out:{a:A} }
|
|
8
8
|
|
|
9
9
|
]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
basic: set: [
|
|
3
|
-
{ mark:10, ctx: {
|
|
4
|
-
{ mark:20, ctx: {
|
|
5
|
-
{ mark:30, ctx: {
|
|
6
|
-
{ mark:40, ctx: {
|
|
7
|
-
{ mark:50, ctx: {
|
|
3
|
+
{ mark:10, ctx: {point:{params:[],alias:{}},reqmatch:{}}, out: {} }
|
|
4
|
+
{ mark:20, ctx: {point:{params:[a],alias:{}},reqmatch:{}}, out: {} }
|
|
5
|
+
{ mark:30, ctx: {point:{params:[a],alias:{}},reqmatch:{a:A}}, out: {} }
|
|
6
|
+
{ mark:40, ctx: {point:{params:[a],alias:{}},reqmatch:{b:B}}, out: {b:B} }
|
|
7
|
+
{ mark:50, ctx: {point:{params:[a],alias:{}},reqmatch:{a:A,b:B}}, out: {b:B} }
|
|
8
8
|
]
|
|
@@ -12,7 +12,7 @@ primary: makeRequest: @"makeRequest.jsonic"
|
|
|
12
12
|
primary: makeResponse: @"makeResponse.jsonic"
|
|
13
13
|
primary: makeResult: @"makeResult.jsonic"
|
|
14
14
|
primary: makeSpec: @"makeSpec.jsonic"
|
|
15
|
-
primary:
|
|
15
|
+
primary: makePoint: @"makePoint.jsonic"
|
|
16
16
|
primary: makeUrl: @"makeUrl.jsonic"
|
|
17
17
|
primary: operator: @"operator.jsonic"
|
|
18
18
|
primary: param: @"param.jsonic"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
basic: set: [
|
|
3
3
|
|
|
4
4
|
{
|
|
5
|
-
ctx: { result:{ok:true,body:{foo:{x:1}}}, spec:{step:''},
|
|
5
|
+
ctx: { result:{ok:true,body:{foo:{x:1}}}, spec:{step:''}, point:{transform:{res:'`body.foo`'}} }
|
|
6
6
|
out: {x:1}
|
|
7
7
|
match: ctx:spec:step:'resform'
|
|
8
8
|
}
|
|
File without changes
|