From aad3e3ff251a1c61483442051db73a22d936c069 Mon Sep 17 00:00:00 2001 From: mfw78 Date: Wed, 3 Jan 2024 11:46:46 +0000 Subject: [PATCH] refactor: folder layout --- .../02-app-data/README.md | 0 .../02-app-data/app-a/src/lib/run.ts | 0 .../02-app-data/app-a/tsconfig.json | 0 content/tutorial/01-orders/02-app-data/meta.json | 8 ++++++++ .../03-pre-signed-order/README.md | 0 .../03-pre-signed-order/app-a/src/lib/GPv2Settlement.json | 0 .../03-pre-signed-order/app-a/src/lib/const.ts | 0 .../03-pre-signed-order/app-a/src/lib/getSafeSdkAndKit.ts | 0 .../03-pre-signed-order/app-a/src/lib/run.ts | 0 .../03-pre-signed-order/app-b/src/lib/run.ts | 0 .../{02-advanced-orders => 03-advanced-orders}/meta.json | 0 .../tsconfig.json | 0 12 files changed, 8 insertions(+) rename content/tutorial/01-orders/{02-advanced-orders => 02-app-data}/02-app-data/README.md (100%) rename content/tutorial/01-orders/{02-advanced-orders => 02-app-data}/02-app-data/app-a/src/lib/run.ts (100%) rename content/tutorial/01-orders/{02-advanced-orders => 02-app-data}/02-app-data/app-a/tsconfig.json (100%) create mode 100644 content/tutorial/01-orders/02-app-data/meta.json rename content/tutorial/01-orders/{02-advanced-orders => 03-advanced-orders}/03-pre-signed-order/README.md (100%) rename content/tutorial/01-orders/{02-advanced-orders => 03-advanced-orders}/03-pre-signed-order/app-a/src/lib/GPv2Settlement.json (100%) rename content/tutorial/01-orders/{02-advanced-orders => 03-advanced-orders}/03-pre-signed-order/app-a/src/lib/const.ts (100%) rename content/tutorial/01-orders/{02-advanced-orders => 03-advanced-orders}/03-pre-signed-order/app-a/src/lib/getSafeSdkAndKit.ts (100%) rename content/tutorial/01-orders/{02-advanced-orders => 03-advanced-orders}/03-pre-signed-order/app-a/src/lib/run.ts (100%) rename content/tutorial/01-orders/{02-advanced-orders => 03-advanced-orders}/03-pre-signed-order/app-b/src/lib/run.ts (100%) rename content/tutorial/01-orders/{02-advanced-orders => 03-advanced-orders}/meta.json (100%) rename content/tutorial/01-orders/{02-advanced-orders => 03-advanced-orders}/tsconfig.json (100%) diff --git a/content/tutorial/01-orders/02-advanced-orders/02-app-data/README.md b/content/tutorial/01-orders/02-app-data/02-app-data/README.md similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/02-app-data/README.md rename to content/tutorial/01-orders/02-app-data/02-app-data/README.md diff --git a/content/tutorial/01-orders/02-advanced-orders/02-app-data/app-a/src/lib/run.ts b/content/tutorial/01-orders/02-app-data/02-app-data/app-a/src/lib/run.ts similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/02-app-data/app-a/src/lib/run.ts rename to content/tutorial/01-orders/02-app-data/02-app-data/app-a/src/lib/run.ts diff --git a/content/tutorial/01-orders/02-advanced-orders/02-app-data/app-a/tsconfig.json b/content/tutorial/01-orders/02-app-data/02-app-data/app-a/tsconfig.json similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/02-app-data/app-a/tsconfig.json rename to content/tutorial/01-orders/02-app-data/02-app-data/app-a/tsconfig.json diff --git a/content/tutorial/01-orders/02-app-data/meta.json b/content/tutorial/01-orders/02-app-data/meta.json new file mode 100644 index 0000000..18d140f --- /dev/null +++ b/content/tutorial/01-orders/02-app-data/meta.json @@ -0,0 +1,8 @@ +{ + "title": "Application Data (appData)", + "scope": { + "prefix": "/src/lib/", + "name": "src" + }, + "focus": "/src/lib/run.ts" +} diff --git a/content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/README.md b/content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/README.md similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/README.md rename to content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/README.md diff --git a/content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-a/src/lib/GPv2Settlement.json b/content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-a/src/lib/GPv2Settlement.json similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-a/src/lib/GPv2Settlement.json rename to content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-a/src/lib/GPv2Settlement.json diff --git a/content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-a/src/lib/const.ts b/content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-a/src/lib/const.ts similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-a/src/lib/const.ts rename to content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-a/src/lib/const.ts diff --git a/content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-a/src/lib/getSafeSdkAndKit.ts b/content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-a/src/lib/getSafeSdkAndKit.ts similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-a/src/lib/getSafeSdkAndKit.ts rename to content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-a/src/lib/getSafeSdkAndKit.ts diff --git a/content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-a/src/lib/run.ts b/content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-a/src/lib/run.ts similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-a/src/lib/run.ts rename to content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-a/src/lib/run.ts diff --git a/content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-b/src/lib/run.ts b/content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-b/src/lib/run.ts similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/03-pre-signed-order/app-b/src/lib/run.ts rename to content/tutorial/01-orders/03-advanced-orders/03-pre-signed-order/app-b/src/lib/run.ts diff --git a/content/tutorial/01-orders/02-advanced-orders/meta.json b/content/tutorial/01-orders/03-advanced-orders/meta.json similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/meta.json rename to content/tutorial/01-orders/03-advanced-orders/meta.json diff --git a/content/tutorial/01-orders/02-advanced-orders/tsconfig.json b/content/tutorial/01-orders/03-advanced-orders/tsconfig.json similarity index 100% rename from content/tutorial/01-orders/02-advanced-orders/tsconfig.json rename to content/tutorial/01-orders/03-advanced-orders/tsconfig.json