zinkee 0.1.64 → 0.1.65
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
|
@@ -486,6 +486,8 @@ zinkee records clear projects
|
|
|
486
486
|
|
|
487
487
|
Option values are written as numbers (`--set status=1`) but returned as strings (`"1"`). Number values are stored and returned as strings.
|
|
488
488
|
|
|
489
|
+
Every record returned by `records get`, `list`, `query` and `update` carries `url`, its permanent link in the Zinkee web app (whoever opens it must sign in and be a member of the workspace); `records create` returns the links of the created records in `createdRecords`, in the order of `created`. Quote the link as is instead of building it.
|
|
490
|
+
|
|
489
491
|
`records clear` removes every record from the schema's table. Heritage rules
|
|
490
492
|
(`CASCADE` / `SET NULL`) propagate to child schemas asynchronously through the
|
|
491
493
|
CDC pipeline, so related tables converge eventually. A `RESTRICT` reference that
|
|
@@ -639,6 +639,7 @@ var specificExamples = {
|
|
|
639
639
|
"records": [
|
|
640
640
|
{
|
|
641
641
|
"recordId": "550e8400-e29b-41d4-a716-446655440000",
|
|
642
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/550e8400-e29b-41d4-a716-446655440000",
|
|
642
643
|
"values": {
|
|
643
644
|
"contact-name": "Ada Lovelace",
|
|
644
645
|
"status": 2,
|
|
@@ -1007,6 +1008,12 @@ var specificExamples = {
|
|
|
1007
1008
|
"created": [
|
|
1008
1009
|
"550e8400-e29b-41d4-a716-446655440000"
|
|
1009
1010
|
],
|
|
1011
|
+
"createdRecords": [
|
|
1012
|
+
{
|
|
1013
|
+
"recordId": "550e8400-e29b-41d4-a716-446655440000",
|
|
1014
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/550e8400-e29b-41d4-a716-446655440000"
|
|
1015
|
+
}
|
|
1016
|
+
],
|
|
1010
1017
|
"errors": []
|
|
1011
1018
|
}`
|
|
1012
1019
|
},
|
|
@@ -1034,6 +1041,12 @@ var specificExamples = {
|
|
|
1034
1041
|
"created": [
|
|
1035
1042
|
"550e8400-e29b-41d4-a716-446655440000"
|
|
1036
1043
|
],
|
|
1044
|
+
"createdRecords": [
|
|
1045
|
+
{
|
|
1046
|
+
"recordId": "550e8400-e29b-41d4-a716-446655440000",
|
|
1047
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/550e8400-e29b-41d4-a716-446655440000"
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1037
1050
|
"errors": [
|
|
1038
1051
|
{
|
|
1039
1052
|
"index": 1,
|
|
@@ -1057,6 +1070,7 @@ var specificExamples = {
|
|
|
1057
1070
|
}`,
|
|
1058
1071
|
response: `{
|
|
1059
1072
|
"created": [],
|
|
1073
|
+
"createdRecords": [],
|
|
1060
1074
|
"errors": [
|
|
1061
1075
|
{
|
|
1062
1076
|
"index": 0,
|
|
@@ -1081,6 +1095,12 @@ var specificExamples = {
|
|
|
1081
1095
|
"created": [
|
|
1082
1096
|
"550e8400-e29b-41d4-a716-446655440000"
|
|
1083
1097
|
],
|
|
1098
|
+
"createdRecords": [
|
|
1099
|
+
{
|
|
1100
|
+
"recordId": "550e8400-e29b-41d4-a716-446655440000",
|
|
1101
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/550e8400-e29b-41d4-a716-446655440000"
|
|
1102
|
+
}
|
|
1103
|
+
],
|
|
1084
1104
|
"errors": []
|
|
1085
1105
|
}`
|
|
1086
1106
|
}
|
|
@@ -1097,6 +1117,7 @@ var specificExamples = {
|
|
|
1097
1117
|
}`,
|
|
1098
1118
|
response: `{
|
|
1099
1119
|
"recordId": "550e8400-e29b-41d4-a716-446655440000",
|
|
1120
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/550e8400-e29b-41d4-a716-446655440000",
|
|
1100
1121
|
"values": {
|
|
1101
1122
|
"contact-name": "Ada Lovelace Updated",
|
|
1102
1123
|
"status": 2,
|
|
@@ -1135,6 +1156,7 @@ var specificExamples = {
|
|
|
1135
1156
|
}`,
|
|
1136
1157
|
response: `{
|
|
1137
1158
|
"recordId": "550e8400-e29b-41d4-a716-446655440000",
|
|
1159
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/550e8400-e29b-41d4-a716-446655440000",
|
|
1138
1160
|
"values": {
|
|
1139
1161
|
"deal-name": "Acme renewal",
|
|
1140
1162
|
"customer-ref": "8ad602a1-f6e3-43f6-9ab2-f1c5afc99621::Acme Corp"
|
|
@@ -2858,6 +2880,7 @@ var specificExamples = {
|
|
|
2858
2880
|
"records": [
|
|
2859
2881
|
{
|
|
2860
2882
|
"recordId": "550e8400-e29b-41d4-a716-446655440000",
|
|
2883
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/550e8400-e29b-41d4-a716-446655440000",
|
|
2861
2884
|
"values": {
|
|
2862
2885
|
"contact-name": "Ada Lovelace",
|
|
2863
2886
|
"contact-email": "ada@example.com",
|
|
@@ -2869,6 +2892,7 @@ var specificExamples = {
|
|
|
2869
2892
|
},
|
|
2870
2893
|
{
|
|
2871
2894
|
"recordId": "7c9a4b31-e85d-42f7-8b6a-123456789abc",
|
|
2895
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/7c9a4b31-e85d-42f7-8b6a-123456789abc",
|
|
2872
2896
|
"values": {
|
|
2873
2897
|
"contact-name": "Alan Turing",
|
|
2874
2898
|
"contact-email": "alan@example.com",
|
|
@@ -2897,6 +2921,7 @@ var specificExamples = {
|
|
|
2897
2921
|
command: `zinkee --json records get contacts ${SAMPLE_UUID}`,
|
|
2898
2922
|
response: `{
|
|
2899
2923
|
"recordId": "550e8400-e29b-41d4-a716-446655440000",
|
|
2924
|
+
"url": "https://z2.zinkee.com/r/3f2b1c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e/550e8400-e29b-41d4-a716-446655440000",
|
|
2900
2925
|
"values": {
|
|
2901
2926
|
"contact-name": "Ada Lovelace",
|
|
2902
2927
|
"contact-email": "ada@example.com",
|
|
@@ -4743,4 +4768,4 @@ function withResponseEnvelope({ responseMeta, ...example }, commandName) {
|
|
|
4743
4768
|
export {
|
|
4744
4769
|
getCommandExamples
|
|
4745
4770
|
};
|
|
4746
|
-
//# sourceMappingURL=examples-
|
|
4771
|
+
//# sourceMappingURL=examples-SC6U5M4S.js.map
|