@zodic/shared 0.0.38 → 0.0.40

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.
@@ -1,8 +1,8 @@
1
1
  import { drizzle } from 'drizzle-orm/d1';
2
- import { Api } from '../api';
3
- import * as schema from '../db/schema';
4
- import { BackendBindings } from '../types';
5
- import { buildChatGPTMessages } from '../utils/buildMessages';
2
+ import { Api } from '../../api';
3
+ import * as schema from '../../db/schema';
4
+ import { BackendBindings } from '../../types';
5
+ import { buildChatGPTMessages } from '../../utils/buildMessages';
6
6
 
7
7
  export class AppContext {
8
8
  private _drizzle?: ReturnType<typeof drizzle>;
@@ -0,0 +1 @@
1
+ export * from './AppContext';
package/app/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from './base';
2
+ export * from './services';
3
+ export * from './workflow';
@@ -1,7 +1,7 @@
1
1
  import { inject, injectable } from 'inversify';
2
2
  import 'reflect-metadata';
3
+ import { KVConcept, sizes } from '../../types/scopes/legacy';
3
4
  import { AppContext } from '../base/AppContext';
4
- import { KVConcept, sizes } from '../types/scopes/legacy';
5
5
 
6
6
  @injectable()
7
7
  export class ConceptService {
@@ -0,0 +1 @@
1
+ export * from './ConceptService';
@@ -1,6 +1,6 @@
1
1
  import { inject } from 'inversify';
2
2
  import { ConceptService } from '../services/ConceptService';
3
- import { ConceptPhase } from '../types/scopes/legacy';
3
+ import { ConceptPhase } from '../../types/scopes/legacy';
4
4
 
5
5
  export class ConceptWorkflow {
6
6
  constructor(@inject(ConceptService) private conceptService: ConceptService) {}
@@ -0,0 +1 @@
1
+ export * from './ConceptWorkflow';
package/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './app';
1
2
  export * as schema from './db/schema';
2
3
  export * from './middleware';
3
4
  export * from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -132,3 +132,8 @@ export interface Crown {
132
132
  }
133
133
 
134
134
  export type Concept = 'crown' | 'scepter' | 'amulet' | 'lantern' | 'orb';
135
+ export type ConceptQueueMessage = {
136
+ conceptSlug: string;
137
+ combinationString: string;
138
+ phase: string;
139
+ };
package/base/index.ts DELETED
File without changes