@openfn/language-mssql 4.3.2 → 5.0.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.
Files changed (2) hide show
  1. package/ast.json +50 -45
  2. package/package.json +3 -3
package/ast.json CHANGED
@@ -636,15 +636,15 @@
636
636
  "description": null,
637
637
  "type": null
638
638
  },
639
- {
640
- "title": "example",
641
- "description": "fn(state => {\n // do some things to state\n return state;\n});"
642
- },
643
639
  {
644
640
  "title": "function",
645
641
  "description": null,
646
642
  "name": null
647
643
  },
644
+ {
645
+ "title": "example",
646
+ "description": "fn(state => {\n // do some things to state\n return state;\n});"
647
+ },
648
648
  {
649
649
  "title": "param",
650
650
  "description": "is the function",
@@ -680,15 +680,15 @@
680
680
  "description": null,
681
681
  "type": null
682
682
  },
683
- {
684
- "title": "example",
685
- "description": "fnIf((state) => state?.data?.name, get(\"https://example.com\"));"
686
- },
687
683
  {
688
684
  "title": "function",
689
685
  "description": null,
690
686
  "name": null
691
687
  },
688
+ {
689
+ "title": "example",
690
+ "description": "fnIf((state) => state?.data?.name, get(\"https://example.com\"));"
691
+ },
692
692
  {
693
693
  "title": "param",
694
694
  "description": "The condition that returns true",
@@ -732,15 +732,15 @@
732
732
  "description": null,
733
733
  "type": null
734
734
  },
735
- {
736
- "title": "example",
737
- "description": "sourceValue('$.key')"
738
- },
739
735
  {
740
736
  "title": "function",
741
737
  "description": null,
742
738
  "name": null
743
739
  },
740
+ {
741
+ "title": "example",
742
+ "description": "sourceValue('$.key')"
743
+ },
744
744
  {
745
745
  "title": "param",
746
746
  "description": "JSONPath referencing a point in `state`.",
@@ -775,15 +775,15 @@
775
775
  "description": null,
776
776
  "type": null
777
777
  },
778
- {
779
- "title": "example",
780
- "description": "dataPath('key')"
781
- },
782
778
  {
783
779
  "title": "function",
784
780
  "description": null,
785
781
  "name": null
786
782
  },
783
+ {
784
+ "title": "example",
785
+ "description": "dataPath('key')"
786
+ },
787
787
  {
788
788
  "title": "param",
789
789
  "description": "JSONPath referencing a point in `data`.",
@@ -818,15 +818,15 @@
818
818
  "description": null,
819
819
  "type": null
820
820
  },
821
- {
822
- "title": "example",
823
- "description": "dataValue('key')"
824
- },
825
821
  {
826
822
  "title": "function",
827
823
  "description": null,
828
824
  "name": null
829
825
  },
826
+ {
827
+ "title": "example",
828
+ "description": "dataValue('key')"
829
+ },
830
830
  {
831
831
  "title": "param",
832
832
  "description": "JSONPath referencing a point in `data`.",
@@ -861,15 +861,15 @@
861
861
  "description": null,
862
862
  "type": null
863
863
  },
864
- {
865
- "title": "example",
866
- "description": "lastReferenceValue('key')"
867
- },
868
864
  {
869
865
  "title": "function",
870
866
  "description": null,
871
867
  "name": null
872
868
  },
869
+ {
870
+ "title": "example",
871
+ "description": "lastReferenceValue('key')"
872
+ },
873
873
  {
874
874
  "title": "param",
875
875
  "description": "JSONPath referencing a point in `references`.",
@@ -905,15 +905,15 @@
905
905
  "description": null,
906
906
  "type": null
907
907
  },
908
- {
909
- "title": "example",
910
- "description": "each(\"$.[*]\",\n create(\"SObject\",\n field(\"FirstName\", sourceValue(\"$.firstName\"))\n )\n)"
911
- },
912
908
  {
913
909
  "title": "function",
914
910
  "description": null,
915
911
  "name": null
916
912
  },
913
+ {
914
+ "title": "example",
915
+ "description": "each(\"$.[*]\",\n create(\"SObject\",\n field(\"FirstName\", sourceValue(\"$.firstName\"))\n )\n)"
916
+ },
917
917
  {
918
918
  "title": "param",
919
919
  "description": "JSONPath referencing a point in `state`.",
@@ -957,15 +957,15 @@
957
957
  "description": null,
958
958
  "type": null
959
959
  },
960
- {
961
- "title": "example",
962
- "description": "combine(\n create('foo'),\n delete('bar')\n)"
963
- },
964
960
  {
965
961
  "title": "function",
966
962
  "description": null,
967
963
  "name": null
968
964
  },
965
+ {
966
+ "title": "example",
967
+ "description": "combine(\n create('foo'),\n delete('bar')\n)"
968
+ },
969
969
  {
970
970
  "title": "param",
971
971
  "description": "Operations to be performed.",
@@ -1001,15 +1001,15 @@
1001
1001
  "description": null,
1002
1002
  "type": null
1003
1003
  },
1004
- {
1005
- "title": "example",
1006
- "description": "field('destination_field_name__c', 'value')"
1007
- },
1008
1004
  {
1009
1005
  "title": "function",
1010
1006
  "description": null,
1011
1007
  "name": null
1012
1008
  },
1009
+ {
1010
+ "title": "example",
1011
+ "description": "field('destination_field_name__c', 'value')"
1012
+ },
1013
1013
  {
1014
1014
  "title": "param",
1015
1015
  "description": "Name of the field",
@@ -1053,15 +1053,15 @@
1053
1053
  "description": null,
1054
1054
  "type": null
1055
1055
  },
1056
- {
1057
- "title": "example",
1058
- "description": "fields(list_of_fields)"
1059
- },
1060
1056
  {
1061
1057
  "title": "function",
1062
1058
  "description": null,
1063
1059
  "name": null
1064
1060
  },
1061
+ {
1062
+ "title": "example",
1063
+ "description": "fields(list_of_fields)"
1064
+ },
1065
1065
  {
1066
1066
  "title": "param",
1067
1067
  "description": "a list of fields",
@@ -1106,6 +1106,11 @@
1106
1106
  "description": null,
1107
1107
  "name": null
1108
1108
  },
1109
+ {
1110
+ "title": "public",
1111
+ "description": null,
1112
+ "type": null
1113
+ },
1109
1114
  {
1110
1115
  "title": "param",
1111
1116
  "description": null,
@@ -1150,6 +1155,11 @@
1150
1155
  "description": null,
1151
1156
  "type": null
1152
1157
  },
1158
+ {
1159
+ "title": "function",
1160
+ "description": null,
1161
+ "name": null
1162
+ },
1153
1163
  {
1154
1164
  "title": "example",
1155
1165
  "description": "cursor($.cursor, { defaultValue: 'today' })",
@@ -1160,11 +1170,6 @@
1160
1170
  "description": "cursor(22)",
1161
1171
  "caption": "Use a pagination cursor"
1162
1172
  },
1163
- {
1164
- "title": "function",
1165
- "description": null,
1166
- "name": null
1167
- },
1168
1173
  {
1169
1174
  "title": "param",
1170
1175
  "description": "the cursor value. Usually an ISO date, natural language date, or page number",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-mssql",
3
- "version": "4.3.2",
3
+ "version": "5.0.0",
4
4
  "description": "A Microsoft SQL language pack for OpenFn",
5
5
  "exports": {
6
6
  ".": {
@@ -23,8 +23,8 @@
23
23
  "configuration-schema.json"
24
24
  ],
25
25
  "dependencies": {
26
- "@openfn/language-common": "1.15.0",
27
- "tedious": "15.1.0"
26
+ "tedious": "15.1.0",
27
+ "@openfn/language-common": "2.0.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@openfn/simple-ast": "0.4.1",