saleor-marketplace/surrealdb/tests.surql
2024-10-02 20:34:47 +02:00

30 lines
1 KiB
Text

DELETE user:djkato;
DELETE saleor_app:[user:djkato, "stripe-payment-gateway"];
CREATE author:djkato SET
name = "Djkáťo",
socials = ["https://twitter.com/djkato_vfx"],
email = "djkatovfx@gmail.com";
CREATE saleor_app:[author:djkato, "stripe-payment-gateway"] SET
versions = ["1.0.0"],
current_version = "1.0.0",
images = ["https://imgur.com/g/img.jfif"],
is_verified = false,
supported_deployments = ["Docker"],
minimal_docker_compose = "",
categories = ["Payments"],
created= d"2024-09-14T20:58:53.766Z",
last_updated = d"2024-09-14T20:58:53.766Z",
manifest = {
about: "cool stripe integration",
app_permissions: ["MANAGE_USERS"],
app_url: "https://app-payment-gateway.test.com",
author: "Djkáťo <djkatovfx@gmail.com>",
token_target_url: "https://app-payment-gateway.test.com/api/register",
id: "stripe-payment-gateway",
name: "Stripe Payment Gateway",
version: "1.0",
};
SELECT manifest FROM saleor_app:[user:djkato, NONE]..[user:djkato];