Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/components/common/PurchaseOrderFinalizationDialog.tsx b/src/components/common/PurchaseOrderFinalizationDialog.tsx
index 7d12de80d..38429496b 100644
--- a/src/components/common/PurchaseOrderFinalizationDialog.tsx
+++ b/src/components/common/PurchaseOrderFinalizationDialog.tsx
@@ -11,6 +11,7 @@ import {
import { Label } from "components/ui/label";
import { ReactNode, useEffect, useMemo } from "react";
import { useForm } from "react-hook-form";
+import { Loader2 } from "lucide-react";
diff --git a/src/App.tsx b/src/App.tsx
index 1ffd3820b..f6d500439 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,10 +1,3 @@
-import CashRegister from "@/how-to-guides/cash-register.mdx";
-import DoorDashIntegration from "@/how-to-guides/doordash-integration.mdx";
-import Invoices from "@/how-to-guides/invoices.mdx";
-import ItemManagement from "@/how-to-guides/item-management.mdx";
-import PaymentProcessing from "@/how-to-guides/payment-processing.mdx";
State: {:no_state, %Postgrex.ReplicationConnection{protocol: %Postgrex.Protocol{sock: {:ssl, {:sslsocket, #Port<0.2107>, #PID<0.7639.0>, #PID<0.7638.0>, :gen_tcp, :tls_gen_connection, #Reference<0.3647976500.65929220.105144>, :undefined}}, connection_id: 48168, connection_key: 2147115721, peer: {{98, 84, 63, 156}, 5432}, types: {Postgrex.DefaultTypes, #Reference<0.3647976500.65667075.166132>}, null: nil, timeout: 15000, ping_timeout: 15000, parameters: #Reference<0.3647976500.65798147.190519>, queries: #Reference<0.3647976500.65929219.190515>, postgres: :idle, transactions: :naive, buffer: :active_once, disconnect_on_error_codes: [], scram: %{iterations: 4096, auth_message: "n=,r=MdyAFNSMDftO3lIaqTmpphHU,r=MdyAFNSMDftO3lIaqTmpphHU/qxlrdH8F1ZRLVu6EDhuq4GS,s=xhC8KreahQLY8lgigi3bjQ==,i=4096,c=biws,r=MdyAFNSMDftO3lIaqTmpphHU/qxlrdH8F1ZRLVu6EDhuq4GS", salt: <<198, 16, 188, 42, 183, 154, 133, 2, 216, 242, 88, 34, 130, 45, 219, 141>>}, disable_composite_types: false, messages: []}, state: {Electric.Postgres.Replicat
This file has been truncated, but you can view the full file.
diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index 4592182d..9f305e06 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -1,8 +1,7 @@
{
"permissions": {
"allow": [
- "Bash(grep:*)",
- "Bash(npm test:*)"
diff --git a/.prettierrc.json b/.prettierrc.json
index 55c1943a..fc362149 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -1,3 +1,3 @@
{
- "plugins": ["prettier-plugin-organize-imports"]
+ "plugins": ["@prettier/plugin-oxc", "prettier-plugin-organize-imports"]
}
diff --git a/POSServiceModel b/POSServiceModel
diff --git a/src/main/java/com/transformity/pos/database/model/EntityEntity.java b/src/main/java/com/transformity/pos/database/model/EntityEntity.java
index 550d933e..2b3ce24e 100644
--- a/src/main/java/com/transformity/pos/database/model/EntityEntity.java
+++ b/src/main/java/com/transformity/pos/database/model/EntityEntity.java
@@ -8,8 +8,6 @@ import jakarta.persistence.CascadeType;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.FetchType;
-import jakarta.persistence.GeneratedValue;
-import jakarta.persistence.GenerationType;
```
Resources:
57 unchanged
I0831 11:13:28.159017 48347 eventsink.go:62] eventSink::Debug(<{%reset%}>I0831 11:13:27.974850 48703 provider2.go:948] normalizeBlockCollections: repl
acing a nil list with an empty list because the underlying TF property is a block %s, %sdeployment_configuration{{{} map[bake_time_in_minutes:{{{} 83}} li
fecycle_hook:{{{} {{{} map[hook_target_arn:{{{} 83}} lifecycle_stages:{{{} {{{} 83}}}} role_arn:{{{} 83}}]}}}} strategy:{{{} 83}}]}}
<{%reset%}>)
I0831 11:1
3:28.159191 48347 eventsink.go:59] I0831 11:13:27.974858 48703 provider2.go:954] normalizeBlockCollections: replacing a nil set with an empty set beca
use the underlying TF property is a block %!s(MISSING), %!s(MISSING)capacity_provider_strategy
@jay-babu
jay-babu / worldpay_transformity.yml
Last active September 16, 2024 00:13
Worldpay Transaction Spec - Transformity Fixes
swagger: '2.0'
info:
title: triPOS Transaction API
version: 4.3.5
host: triposcert.vantiv.com
basePath: /
schemes:
- https
paths:
/api/v1:
openapi: 3.0.2
x-stoplight:
id: c6861590dda46
info:
title: Finix API
description:
$ref: api-descriptions/main.md
contact:
name: Finix
url: https://finix.com
@jay-babu
jay-babu / useful.sql
Created April 17, 2024 16:37
Useful SQL Commands
-- table size, index size, total size
SELECT
table_name,
pg_size_pretty(table_size) AS table_size,
pg_size_pretty(indexes_size) AS indexes_size,
pg_size_pretty(total_size) AS total_size
FROM (
SELECT
table_name,
pg_table_size(table_name) AS table_size,