@wix/data 1.0.148 → 1.0.150

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/data",
3
- "version": "1.0.148",
3
+ "version": "1.0.150",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -19,11 +19,11 @@
19
19
  "service-plugins"
20
20
  ],
21
21
  "dependencies": {
22
- "@wix/data_collections": "1.0.42",
23
- "@wix/data_external-database": "1.0.19",
24
- "@wix/data_external-database-connections": "1.0.38",
25
- "@wix/data_indexes": "1.0.32",
26
- "@wix/data_items": "1.0.48"
22
+ "@wix/data_collections": "1.0.43",
23
+ "@wix/data_external-database": "1.0.20",
24
+ "@wix/data_external-database-connections": "1.0.39",
25
+ "@wix/data_indexes": "1.0.33",
26
+ "@wix/data_items": "1.0.49"
27
27
  },
28
28
  "devDependencies": {
29
29
  "glob": "^10.4.1",
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "bae9e96f049eb010b52136b185616c2324ec613cb41693d23bc6ed98"
51
+ "falconPackageHash": "c1b80a7ee524dbde04651a5d702331e70a8965eb16bd36f8d5d12335"
52
52
  }
@@ -753,15 +753,26 @@ interface ExternalDatabaseSpiConfig {
753
753
  namespace?: string;
754
754
  }
755
755
  interface SpiBaseUri {
756
- /** URI that will be used by the host to call the implementer. The path-suffix defined on the method will be appended to it */
756
+ /**
757
+ * Base URI where the methods are called. Wix appends the path to the `baseUri`.
758
+ * For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.
759
+ */
757
760
  baseUri?: string;
758
- /** override method mappings per method */
761
+ /** Alternate, custom URIs to replace the default URIs for specific service plugin methods. */
759
762
  alternativeUris?: AlternativeUri[];
760
763
  }
761
764
  interface AlternativeUri {
762
- /** name of the method as it appears in the proto */
765
+ /**
766
+ * Name of the method to create a custom URI for.
767
+ *
768
+ * For `methodName`, use the name of the method in PascalCase.
769
+ * For example, for Get Shipping Rates use `GetShippingRates`.
770
+ */
763
771
  methodName?: string;
764
- /** absolute uri that will be used by the host to call that method. The path-suffix mapped from the method http option will NOT be appended to this URI. For TPAs. it must be https */
772
+ /**
773
+ * Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.
774
+ * Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.
775
+ */
765
776
  absoluteUri?: string;
766
777
  }
767
778
  /**
@@ -753,15 +753,26 @@ interface ExternalDatabaseSpiConfig {
753
753
  namespace?: string;
754
754
  }
755
755
  interface SpiBaseUri {
756
- /** URI that will be used by the host to call the implementer. The path-suffix defined on the method will be appended to it */
756
+ /**
757
+ * Base URI where the methods are called. Wix appends the path to the `baseUri`.
758
+ * For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.
759
+ */
757
760
  baseUri?: string;
758
- /** override method mappings per method */
761
+ /** Alternate, custom URIs to replace the default URIs for specific service plugin methods. */
759
762
  alternativeUris?: AlternativeUri[];
760
763
  }
761
764
  interface AlternativeUri {
762
- /** name of the method as it appears in the proto */
765
+ /**
766
+ * Name of the method to create a custom URI for.
767
+ *
768
+ * For `methodName`, use the name of the method in PascalCase.
769
+ * For example, for Get Shipping Rates use `GetShippingRates`.
770
+ */
763
771
  methodName?: string;
764
- /** absolute uri that will be used by the host to call that method. The path-suffix mapped from the method http option will NOT be appended to this URI. For TPAs. it must be https */
772
+ /**
773
+ * Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.
774
+ * Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.
775
+ */
765
776
  absoluteUri?: string;
766
777
  }
767
778
  /**