From 221bbffe60b7bc667280dbc041a165be3b6b4b59 Mon Sep 17 00:00:00 2001 From: Till Rohrmann Date: Tue, 24 Oct 2023 16:16:31 +0200 Subject: [PATCH] Rename aux into auxiliary (#35) Don't use aux as a directory name since it is a reserved name on Windows platforms. This fixes #34. --- .../services/src/{aux => auxiliary}/mailgun_client.ts | 0 .../services/src/{aux => auxiliary}/stripe_client.ts | 0 typescript/ecommerce-store/services/src/email_service.ts | 2 +- typescript/ecommerce-store/services/src/payment_gateway.ts | 2 +- .../src/{aux => auxiliary}/delivery_provider_api_client.ts | 0 typescript/food-ordering/services/src/order_service.ts | 2 +- .../ticket-reservation/src/{aux => auxiliary}/email_client.ts | 0 .../src/{aux => auxiliary}/stripe_client.ts | 0 typescript/ticket-reservation/src/checkout.ts | 4 ++-- 9 files changed, 5 insertions(+), 5 deletions(-) rename typescript/ecommerce-store/services/src/{aux => auxiliary}/mailgun_client.ts (100%) rename typescript/ecommerce-store/services/src/{aux => auxiliary}/stripe_client.ts (100%) rename typescript/food-ordering/services/src/{aux => auxiliary}/delivery_provider_api_client.ts (100%) rename typescript/ticket-reservation/src/{aux => auxiliary}/email_client.ts (100%) rename typescript/ticket-reservation/src/{aux => auxiliary}/stripe_client.ts (100%) diff --git a/typescript/ecommerce-store/services/src/aux/mailgun_client.ts b/typescript/ecommerce-store/services/src/auxiliary/mailgun_client.ts similarity index 100% rename from typescript/ecommerce-store/services/src/aux/mailgun_client.ts rename to typescript/ecommerce-store/services/src/auxiliary/mailgun_client.ts diff --git a/typescript/ecommerce-store/services/src/aux/stripe_client.ts b/typescript/ecommerce-store/services/src/auxiliary/stripe_client.ts similarity index 100% rename from typescript/ecommerce-store/services/src/aux/stripe_client.ts rename to typescript/ecommerce-store/services/src/auxiliary/stripe_client.ts diff --git a/typescript/ecommerce-store/services/src/email_service.ts b/typescript/ecommerce-store/services/src/email_service.ts index b1477075..a45a0114 100644 --- a/typescript/ecommerce-store/services/src/email_service.ts +++ b/typescript/ecommerce-store/services/src/email_service.ts @@ -12,7 +12,7 @@ import * as restate from "@restatedev/restate-sdk"; import { EmailSender, SendEmailRequest } from "./generated/proto/shoppingcart"; import { Empty } from "./generated/proto/google/protobuf/empty"; -import { MailgunClient } from "./aux/mailgun_client"; +import { MailgunClient } from "./auxiliary/mailgun_client"; export class EmailSvc implements EmailSender { private mailgunClient: MailgunClient; diff --git a/typescript/ecommerce-store/services/src/payment_gateway.ts b/typescript/ecommerce-store/services/src/payment_gateway.ts index 13bc423e..d375af58 100644 --- a/typescript/ecommerce-store/services/src/payment_gateway.ts +++ b/typescript/ecommerce-store/services/src/payment_gateway.ts @@ -15,7 +15,7 @@ import { ChargeResponse, PaymentGateway, } from "./generated/proto/shoppingcart"; -import { StripeClient } from "./aux/stripe_client"; +import { StripeClient } from "./auxiliary/stripe_client"; export class PaymentGatewaySvc implements PaymentGateway { async charge(request: ChargeRequest): Promise { diff --git a/typescript/food-ordering/services/src/aux/delivery_provider_api_client.ts b/typescript/food-ordering/services/src/auxiliary/delivery_provider_api_client.ts similarity index 100% rename from typescript/food-ordering/services/src/aux/delivery_provider_api_client.ts rename to typescript/food-ordering/services/src/auxiliary/delivery_provider_api_client.ts diff --git a/typescript/food-ordering/services/src/order_service.ts b/typescript/food-ordering/services/src/order_service.ts index cdd8d92d..9ba0e4ed 100644 --- a/typescript/food-ordering/services/src/order_service.ts +++ b/typescript/food-ordering/services/src/order_service.ts @@ -11,7 +11,7 @@ import * as restate from "@restatedev/restate-sdk"; import { Order, OrderStatus } from "./types/types"; -import { DeliveryProviderApiClient } from "./aux/delivery_provider_api_client"; +import { DeliveryProviderApiClient } from "./auxiliary/delivery_provider_api_client"; import axios from "axios"; const STATUS = "status"; diff --git a/typescript/ticket-reservation/src/aux/email_client.ts b/typescript/ticket-reservation/src/auxiliary/email_client.ts similarity index 100% rename from typescript/ticket-reservation/src/aux/email_client.ts rename to typescript/ticket-reservation/src/auxiliary/email_client.ts diff --git a/typescript/ticket-reservation/src/aux/stripe_client.ts b/typescript/ticket-reservation/src/auxiliary/stripe_client.ts similarity index 100% rename from typescript/ticket-reservation/src/aux/stripe_client.ts rename to typescript/ticket-reservation/src/auxiliary/stripe_client.ts diff --git a/typescript/ticket-reservation/src/checkout.ts b/typescript/ticket-reservation/src/checkout.ts index 8bbab4f6..d2091be9 100644 --- a/typescript/ticket-reservation/src/checkout.ts +++ b/typescript/ticket-reservation/src/checkout.ts @@ -11,8 +11,8 @@ import * as restate from "@restatedev/restate-sdk"; import { v4 as uuid } from "uuid"; -import { StripeClient } from "./aux/stripe_client"; -import { EmailClient } from "./aux/email_client"; +import { StripeClient } from "./auxiliary/stripe_client"; +import { EmailClient } from "./auxiliary/email_client"; const doCheckout = async ( ctx: restate.RpcContext,