@protobase/schema 0.14.6 → 0.15.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/dist/model.d.ts CHANGED
@@ -351,7 +351,10 @@ export type SignInPromptModel = {
351
351
  benefits?: string[];
352
352
  /** The prompt's icon, a name `icon` hints take; a sign-in icon when omitted. */
353
353
  icon?: string;
354
- /** A page where a visitor makes an account, `https:`, `http:` or `mailto:`, offered beside "Sign in"; none when omitted. */
354
+ /**
355
+ * A page elsewhere where a visitor makes an account, `https:`, `http:` or `mailto:`, offered beside "Sign in". When
356
+ * omitted, the app's own sign-up is offered if the server has open sign-up, and none otherwise.
357
+ */
355
358
  signUp?: {
356
359
  /** The button's text, such as "Create an account". */
357
360
  label: string;
package/dist/view.d.ts CHANGED
@@ -107,7 +107,8 @@ export declare class ViewBuilder<R extends {
107
107
  /**
108
108
  * What a visitor who is not signed in is told about this resource, which they could use once signed in: on its list
109
109
  * page, in place of the list, and in the dialog of a card's favorite button or a list's "Save search" button that
110
- * saves here. The page offers "Sign in", and a page to make an account when `signUp` names one. With it, the resource keeps its place in the bottom
110
+ * saves here. The page offers "Sign in", and a way to make an account: the page `signUp` names, or the app's own sign-up
111
+ * when the server has [open sign-up](website/src/content/docs/reference/auth.md#open-sign-up). With it, the resource keeps its place in the bottom
111
112
  * bar and the sidebar of visitors. Throws when `signUp.href` is not `https:`, `http:` or `mailto:`. See
112
113
  * [Sign-in prompts](website/src/content/docs/reference/ui-config.mdx#sign-in-prompts).
113
114
  */
package/dist/view.js CHANGED
@@ -133,7 +133,8 @@ var ViewBuilder = class ViewBuilder {
133
133
  /**
134
134
  * What a visitor who is not signed in is told about this resource, which they could use once signed in: on its list
135
135
  * page, in place of the list, and in the dialog of a card's favorite button or a list's "Save search" button that
136
- * saves here. The page offers "Sign in", and a page to make an account when `signUp` names one. With it, the resource keeps its place in the bottom
136
+ * saves here. The page offers "Sign in", and a way to make an account: the page `signUp` names, or the app's own sign-up
137
+ * when the server has [open sign-up](website/src/content/docs/reference/auth.md#open-sign-up). With it, the resource keeps its place in the bottom
137
138
  * bar and the sidebar of visitors. Throws when `signUp.href` is not `https:`, `http:` or `mailto:`. See
138
139
  * [Sign-in prompts](website/src/content/docs/reference/ui-config.mdx#sign-in-prompts).
139
140
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/schema",
3
- "version": "0.14.6",
3
+ "version": "0.15.0",
4
4
  "description": "Resource, field, view and access definitions for Protobase configs.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {