@rizom/brain 0.2.0-alpha.6 → 0.2.0-alpha.60

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 (40) hide show
  1. package/README.md +1 -1
  2. package/dist/brain.js +4762 -26509
  3. package/dist/deploy.d.ts +17 -26
  4. package/dist/deploy.js +25 -25
  5. package/dist/deploy.js.map +4 -4
  6. package/dist/entities.d.ts +561 -0
  7. package/dist/entities.js +172 -0
  8. package/dist/entities.js.map +242 -0
  9. package/dist/index.d.ts +65 -0
  10. package/dist/index.js +5 -0
  11. package/dist/index.js.map +11 -0
  12. package/dist/interfaces.d.ts +923 -0
  13. package/dist/interfaces.js +172 -0
  14. package/dist/interfaces.js.map +209 -0
  15. package/dist/plugins.d.ts +1195 -0
  16. package/dist/plugins.js +178 -0
  17. package/dist/plugins.js.map +294 -0
  18. package/dist/seed-content/relay/README.md +28 -371
  19. package/dist/seed-content/relay/anchor-profile/anchor-profile.md +8 -11
  20. package/dist/seed-content/relay/brain-character/brain-character.md +5 -4
  21. package/dist/seed-content/relay/site-content/about/about.md +20 -0
  22. package/dist/seed-content/relay/site-content/home/diagram.md +184 -0
  23. package/dist/seed-content/relay/site-info/site-info.md +11 -1
  24. package/dist/services.d.ts +601 -0
  25. package/dist/services.js +172 -0
  26. package/dist/services.js.map +242 -0
  27. package/dist/site.d.ts +56 -157
  28. package/dist/site.js +323 -463
  29. package/dist/site.js.map +131 -249
  30. package/dist/templates.d.ts +302 -0
  31. package/dist/templates.js +172 -0
  32. package/dist/templates.js.map +206 -0
  33. package/dist/themes.d.ts +5 -44
  34. package/dist/themes.js +91 -8
  35. package/dist/themes.js.map +2 -2
  36. package/package.json +35 -4
  37. package/templates/deploy/scripts/provision-server.ts +109 -0
  38. package/templates/deploy/scripts/update-dns.ts +65 -0
  39. package/templates/deploy/scripts/write-ssh-key.ts +17 -0
  40. package/tsconfig.instance.json +31 -0
package/dist/deploy.d.ts CHANGED
@@ -1,28 +1,19 @@
1
- export interface EnvSchemaEntry {
2
- key: string;
3
- required: boolean;
4
- sensitive: boolean;
1
+ interface EnvSchemaEntry {
2
+ key: string;
3
+ required: boolean;
4
+ sensitive: boolean;
5
5
  }
6
+ declare function parseEnvSchema(content: string, options?: {
7
+ skipSections?: Set<string>;
8
+ }): EnvSchemaEntry[];
9
+ declare function parseEnvSchemaFile(filePath: string, options?: {
10
+ skipSections?: Set<string>;
11
+ }): EnvSchemaEntry[];
12
+ declare function readJsonResponse(response: Response, label: string): Promise<unknown>;
13
+ declare function parseEnvFile(filePath: string): Record<string, string>;
14
+ declare function requireEnv(name: string): string;
15
+ declare function writeGitHubOutput(key: string, value: string): void;
16
+ declare function writeGitHubEnv(key: string, value: string): void;
6
17
 
7
- export function readJsonResponse(
8
- response: Response,
9
- label: string,
10
- ): Promise<unknown>;
11
-
12
- export function parseEnvFile(filePath: string): Record<string, string>;
13
-
14
- export function parseEnvSchema(
15
- content: string,
16
- options?: { skipSections?: Set<string> },
17
- ): EnvSchemaEntry[];
18
-
19
- export function parseEnvSchemaFile(
20
- filePath: string,
21
- options?: { skipSections?: Set<string> },
22
- ): EnvSchemaEntry[];
23
-
24
- export function requireEnv(name: string): string;
25
-
26
- export function writeGitHubOutput(key: string, value: string): void;
27
-
28
- export function writeGitHubEnv(key: string, value: string): void;
18
+ export { parseEnvFile, parseEnvSchema, parseEnvSchemaFile, readJsonResponse, requireEnv, writeGitHubEnv, writeGitHubOutput };
19
+ export type { EnvSchemaEntry };