@lafken/common 0.14.0 → 0.14.1

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.
Files changed (2) hide show
  1. package/README.md +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -338,13 +338,15 @@ The package provides augmentable interfaces that enable type-safe resource names
338
338
  ```typescript
339
339
  // In your lafken-types.d.ts
340
340
  declare module '@lafken/common' {
341
- interface ModulesAvailable {
342
- core: {
343
- Queue: { 'email-queue': string };
344
- };
341
+ // Resources defined in this application
342
+ interface SharedResourceNames {
343
+ dynamo: 'users-table';
344
+ queue: 'email-queue';
345
345
  }
346
- interface DynamoTableAvailable {
347
- 'users-table': string;
346
+
347
+ // Resources from external stacks referenced by this application
348
+ interface SharedReferenceResources {
349
+ dynamo: 'shared-table';
348
350
  }
349
351
  }
350
352
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lafken/common",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "private": false,
5
5
  "description": "Lafken utilities - TypeScript decorator factories and metadata reflection for infrastructure-as-code decorators",
6
6
  "keywords": [