slotlock 0.9.0 → 0.10.0
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.
- package/CHANGELOG.md +305 -0
- package/NOTICE +2 -0
- package/README.md +4 -2
- package/agent-store-backend.js +209 -15
- package/application-api.d.ts +10 -1
- package/application-api.js +213 -2
- package/availability-store.js +13 -5
- package/booking-rules.d.ts +11 -0
- package/booking-rules.js +21 -1
- package/config.d.ts +50 -0
- package/config.js +107 -0
- package/dashboard-scope.d.ts +7 -0
- package/dashboard-scope.js +21 -0
- package/dashboard.d.ts +97 -2
- package/dashboard.js +3068 -284
- package/ddl-identity.d.ts +25 -0
- package/ddl-identity.js +881 -0
- package/ddl-scim.d.ts +5 -0
- package/ddl-scim.js +740 -0
- package/ddl-sso.d.ts +15 -0
- package/ddl-sso.js +1033 -0
- package/ddl.d.ts +40 -9
- package/ddl.js +2123 -49
- package/domains.d.ts +117 -0
- package/domains.js +340 -0
- package/event-feed.d.ts +1 -1
- package/event-feed.js +6 -34
- package/holiday-import.d.ts +1 -1
- package/holiday-import.js +2 -3
- package/holidays.js +70 -11
- package/index.d.ts +12 -4
- package/index.js +8 -2
- package/invitation-email.d.ts +26 -0
- package/invitation-email.js +73 -0
- package/maintenance.d.ts +7 -2
- package/maintenance.js +15 -1
- package/oidc.d.ts +135 -0
- package/oidc.js +452 -0
- package/openapi.json +1886 -6
- package/package.json +2 -1
- package/scim-server.d.ts +19 -0
- package/scim-server.js +243 -0
- package/scim.d.ts +180 -0
- package/scim.js +416 -0
- package/self-host.d.ts +19 -6
- package/self-host.js +262 -7
- package/slotlock.manifest.json +1 -1
- package/store.d.ts +273 -2
- package/store.js +984 -72
- package/types.d.ts +33 -1
- package/types.js +68 -1
- package/workspace-domains.d.ts +146 -0
- package/workspace-domains.js +249 -0
- package/workspace-roles.d.ts +47 -0
- package/workspace-roles.js +304 -0
- package/workspace-scim.d.ts +89 -0
- package/workspace-scim.js +157 -0
- package/workspace-sso.d.ts +131 -0
- package/workspace-sso.js +180 -0
- package/workspaces.d.ts +240 -0
- package/workspaces.js +433 -0
package/ddl-sso.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** The tables of single sign-on: their owner's only. */
|
|
2
|
+
export declare const SLOTLOCK_SSO_TABLES: readonly ["sso_connections", "sso_identities", "sso_role_mappings", "dashboard_session_sso", "sso_bypasses"];
|
|
3
|
+
/** The SECURITY DEFINER functions through which the serving role reaches them. */
|
|
4
|
+
export declare const SLOTLOCK_SSO_FUNCTIONS: readonly ["slotlock.save_sso_connection(text, text, uuid, text, text, text, text, text, text, text, text, text[], boolean, text)", "slotlock.sso_connection_of(text)", "slotlock.sso_connection_by_id(uuid)", "slotlock.sso_connection_route(text, text)", "slotlock.record_sso_test(text, text, uuid, integer, jsonb)", "slotlock.set_sso_connection_status(text, text, uuid, text)", "slotlock.delete_sso_connection(text, text, uuid)", "slotlock.set_sso_provisioning(text, text, boolean, text, text)", "slotlock.set_sso_role_mapping(text, text, text, text)", "slotlock.sso_role_mappings_of(text)", "slotlock.sso_sign_in(uuid, text, text, text, text, text, boolean, text[], boolean, boolean, text, integer)", "slotlock.record_sso_proof(bytea, text, uuid, boolean, integer)", "slotlock.set_require_sso(text, text, bytea, boolean, integer)", "slotlock.sso_owner_bypass(text, text, bytea)", "slotlock.prune_sso()"];
|
|
5
|
+
/** How long a proof from a team's provider lasts by default, and the range an Owner may set. */
|
|
6
|
+
export declare const SLOTLOCK_SSO_MAX_AGE_HOURS: Readonly<{
|
|
7
|
+
default: 24;
|
|
8
|
+
min: 1;
|
|
9
|
+
max: 168;
|
|
10
|
+
}>;
|
|
11
|
+
/** How fresh a proof must be to turn "require single sign-on" on. */
|
|
12
|
+
export declare const SLOTLOCK_SSO_ENABLE_PROOF_MINUTES = 10;
|
|
13
|
+
/** How long an Owner's bypass lasts. */
|
|
14
|
+
export declare const SLOTLOCK_SSO_BYPASS_MINUTES = 60;
|
|
15
|
+
export declare const SLOTLOCK_SSO_DDL: string;
|