@processfocus/cli 0.1.0-next.1 → 0.1.0-next.3

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 (43) hide show
  1. package/README.md +82 -699
  2. package/dist/bundle-organisation.mjs +2 -0
  3. package/dist/bundled-db-import.mjs +103 -120
  4. package/dist/bundled-graphql-schema.mjs +17 -15
  5. package/dist/command-reference.md +571 -0
  6. package/dist/main.mjs +325 -313
  7. package/dist/pfcli.usage.kdl +377 -0
  8. package/dist/prepare-deployment-artifact.mjs +2 -2
  9. package/dist/resources/cedar/policies.cedar +80 -38
  10. package/dist/resources/cedar/schema.cedarschema +39 -21
  11. package/dist/resources/system-migrations/20260925020504_panoramic_klaw/migration.sql +1 -0
  12. package/dist/resources/system-migrations/20260925020504_panoramic_klaw/snapshot.json +7708 -0
  13. package/dist/resources/system-migrations/20261013060336_pretty_mulholland_black/migration.sql +14 -0
  14. package/dist/resources/system-migrations/20261013060336_pretty_mulholland_black/snapshot.json +7852 -0
  15. package/dist/resources/system-migrations/20261019050118_aberrant_jetstream/migration.sql +4 -0
  16. package/dist/resources/system-migrations/20261019050118_aberrant_jetstream/snapshot.json +7908 -0
  17. package/dist/resources/system-migrations/20261023074259_previous_falcon/migration.sql +1 -0
  18. package/dist/resources/system-migrations/20261023074259_previous_falcon/snapshot.json +7918 -0
  19. package/dist/resources/system-migrations/20261023211931_black_vision/migration.sql +1 -0
  20. package/dist/resources/system-migrations/20261023211931_black_vision/snapshot.json +7928 -0
  21. package/dist/resources/system-migrations/20261024022040_magenta_dreaming_celestial/migration.sql +4 -0
  22. package/dist/resources/system-migrations/20261024022040_magenta_dreaming_celestial/snapshot.json +7968 -0
  23. package/dist/resources/system-migrations/20261025201326_confused_mordo/migration.sql +25 -0
  24. package/dist/resources/system-migrations/20261025201326_confused_mordo/snapshot.json +8141 -0
  25. package/dist/resources/system-migrations/20261025225809_pink_mysterio/migration.sql +20 -0
  26. package/dist/resources/system-migrations/20261025225809_pink_mysterio/snapshot.json +8350 -0
  27. package/dist/resources/system-migrations/20261030073445_fuzzy_patriot/migration.sql +1 -0
  28. package/dist/resources/system-migrations/20261030073445_fuzzy_patriot/snapshot.json +8360 -0
  29. package/dist/resources/system-migrations/20261101232313_curved_siren/migration.sql +3 -0
  30. package/dist/resources/system-migrations/20261101232313_curved_siren/snapshot.json +8390 -0
  31. package/dist/resources/system-migrations/20261111225459_real_overlord/migration.sql +13 -0
  32. package/dist/resources/system-migrations/20261111225459_real_overlord/snapshot.json +8511 -0
  33. package/dist/resources/system-migrations/20261112002154_fresh_mikhail_rasputin/migration.sql +1 -0
  34. package/dist/resources/system-migrations/20261112002154_fresh_mikhail_rasputin/snapshot.json +8501 -0
  35. package/dist/resources/system-migrations/20261116032801_numerous_taskmaster/migration.sql +1 -0
  36. package/dist/resources/system-migrations/20261116032801_numerous_taskmaster/snapshot.json +8511 -0
  37. package/dist/resources/system-migrations/20261119201444_settings-login-audit-index/migration.sql +3 -0
  38. package/dist/resources/system-migrations/20261119201444_settings-login-audit-index/snapshot.json +8511 -0
  39. package/dist/resources/system-migrations/20261119223342_lucky_lester/migration.sql +3 -0
  40. package/dist/resources/system-migrations/20261119223342_lucky_lester/snapshot.json +8367 -0
  41. package/dist/resources/system-migrations/20261123050259_sad_dagger/migration.sql +1 -0
  42. package/dist/resources/system-migrations/20261123050259_sad_dagger/snapshot.json +8377 -0
  43. package/package.json +11 -9
@@ -0,0 +1,14 @@
1
+ CREATE TABLE `pf_process_visibility` (
2
+ `id` text(41) PRIMARY KEY,
3
+ `process_id` text(41) NOT NULL,
4
+ `replication_scope` text(64) NOT NULL,
5
+ `created_at` real DEFAULT (julianday('now')) NOT NULL,
6
+ `updated_at` real DEFAULT (julianday('now')) NOT NULL,
7
+ `created_by` text(256) DEFAULT 'SYSTEM' NOT NULL,
8
+ `updated_by` text(256) DEFAULT 'SYSTEM' NOT NULL,
9
+ `_deleted` integer DEFAULT false NOT NULL,
10
+ CONSTRAINT `fk_pf_process_visibility_process_id_pf_process_id_fk` FOREIGN KEY (`process_id`) REFERENCES `pf_process`(`id`)
11
+ );
12
+ --> statement-breakpoint
13
+ CREATE UNIQUE INDEX `pf_process_visibility_scopeprocessidx_idx` ON `pf_process_visibility` (`replication_scope`,`process_id`) WHERE _deleted = 0;--> statement-breakpoint
14
+ CREATE INDEX `pf_process_visibility_updated_at_id_idx` ON `pf_process_visibility` (`updated_at`,`id`);