@copilotz/directory 1.0.0-rc.62 → 1.0.0-rc.64
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/collections/credit-code.d.ts +15 -23
- package/collections/invite.d.ts +11 -19
- package/collections/membership.d.ts +10 -18
- package/collections/org-host.d.ts +8 -16
- package/collections/org.d.ts +21 -29
- package/collections/staff.d.ts +6 -14
- package/package.json +2 -2
- package/views/web/words.d.ts +1 -1
|
@@ -45,7 +45,21 @@ declare const creditCodeSchema: {
|
|
|
45
45
|
};
|
|
46
46
|
readonly required: readonly ["amount", "by", "at"];
|
|
47
47
|
};
|
|
48
|
-
export declare const creditCode: {
|
|
48
|
+
export declare const creditCode: Omit<import("copilotz").CollectionDef, "queries" | "schema"> & {
|
|
49
|
+
queries?: Record<string, import("copilotz").QueryDef<import("copilotz").WithId<{
|
|
50
|
+
[x: string]: unknown;
|
|
51
|
+
org?: string | undefined;
|
|
52
|
+
person?: string | undefined;
|
|
53
|
+
expires?: string | undefined;
|
|
54
|
+
until?: string | undefined;
|
|
55
|
+
note?: string | undefined;
|
|
56
|
+
claimed?: string | undefined;
|
|
57
|
+
revoked?: string | undefined;
|
|
58
|
+
at: string;
|
|
59
|
+
by: string;
|
|
60
|
+
amount: number;
|
|
61
|
+
}>>> | undefined;
|
|
62
|
+
} & {
|
|
49
63
|
schema: {
|
|
50
64
|
readonly type: "object";
|
|
51
65
|
readonly properties: {
|
|
@@ -86,28 +100,6 @@ export declare const creditCode: {
|
|
|
86
100
|
};
|
|
87
101
|
readonly required: readonly ["amount", "by", "at"];
|
|
88
102
|
};
|
|
89
|
-
events?: boolean;
|
|
90
|
-
records?: boolean;
|
|
91
|
-
durable?: false;
|
|
92
|
-
validation?: "strict" | "moderate";
|
|
93
|
-
indexes?: string[][];
|
|
94
|
-
private?: string[];
|
|
95
|
-
queries?: Record<string, import("copilotz").QueryDef<{
|
|
96
|
-
[x: string]: unknown;
|
|
97
|
-
org?: string | undefined;
|
|
98
|
-
person?: string | undefined;
|
|
99
|
-
expires?: string | undefined;
|
|
100
|
-
until?: string | undefined;
|
|
101
|
-
note?: string | undefined;
|
|
102
|
-
claimed?: string | undefined;
|
|
103
|
-
revoked?: string | undefined;
|
|
104
|
-
at: string;
|
|
105
|
-
by: string;
|
|
106
|
-
amount: number;
|
|
107
|
-
} & {
|
|
108
|
-
_id: string;
|
|
109
|
-
}>> | undefined;
|
|
110
|
-
vectors?: string[];
|
|
111
103
|
};
|
|
112
104
|
export type CreditCode = Infer<typeof creditCodeSchema> & {
|
|
113
105
|
_id: string;
|
package/collections/invite.d.ts
CHANGED
|
@@ -30,7 +30,17 @@ declare const inviteSchema: {
|
|
|
30
30
|
};
|
|
31
31
|
readonly required: readonly ["org", "email", "role", "by", "at"];
|
|
32
32
|
};
|
|
33
|
-
export declare const invite: {
|
|
33
|
+
export declare const invite: Omit<import("copilotz").CollectionDef, "queries" | "schema"> & {
|
|
34
|
+
queries?: Record<string, import("copilotz").QueryDef<import("copilotz").WithId<{
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
from?: string | undefined;
|
|
37
|
+
at: string;
|
|
38
|
+
org: string;
|
|
39
|
+
email: string;
|
|
40
|
+
role: "admin" | "member" | "guest";
|
|
41
|
+
by: string;
|
|
42
|
+
}>>> | undefined;
|
|
43
|
+
} & {
|
|
34
44
|
schema: {
|
|
35
45
|
readonly type: "object";
|
|
36
46
|
readonly properties: {
|
|
@@ -57,24 +67,6 @@ export declare const invite: {
|
|
|
57
67
|
};
|
|
58
68
|
readonly required: readonly ["org", "email", "role", "by", "at"];
|
|
59
69
|
};
|
|
60
|
-
events?: boolean;
|
|
61
|
-
records?: boolean;
|
|
62
|
-
durable?: false;
|
|
63
|
-
validation?: "strict" | "moderate";
|
|
64
|
-
indexes?: string[][];
|
|
65
|
-
private?: string[];
|
|
66
|
-
queries?: Record<string, import("copilotz").QueryDef<{
|
|
67
|
-
[x: string]: unknown;
|
|
68
|
-
from?: string | undefined;
|
|
69
|
-
at: string;
|
|
70
|
-
org: string;
|
|
71
|
-
email: string;
|
|
72
|
-
role: "admin" | "member" | "guest";
|
|
73
|
-
by: string;
|
|
74
|
-
} & {
|
|
75
|
-
_id: string;
|
|
76
|
-
}>> | undefined;
|
|
77
|
-
vectors?: string[];
|
|
78
70
|
};
|
|
79
71
|
export type Invite = Infer<typeof inviteSchema> & {
|
|
80
72
|
_id: string;
|
|
@@ -26,7 +26,16 @@ declare const membershipSchema: {
|
|
|
26
26
|
};
|
|
27
27
|
readonly required: readonly ["org", "person", "at"];
|
|
28
28
|
};
|
|
29
|
-
export declare const membership: {
|
|
29
|
+
export declare const membership: Omit<import("copilotz").CollectionDef, "queries" | "schema"> & {
|
|
30
|
+
queries?: Record<string, import("copilotz").QueryDef<import("copilotz").WithId<{
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
role?: string | undefined;
|
|
33
|
+
entered?: string | undefined;
|
|
34
|
+
at: string;
|
|
35
|
+
org: string;
|
|
36
|
+
person: string;
|
|
37
|
+
}>>> | undefined;
|
|
38
|
+
} & {
|
|
30
39
|
schema: {
|
|
31
40
|
readonly type: "object";
|
|
32
41
|
readonly properties: {
|
|
@@ -49,23 +58,6 @@ export declare const membership: {
|
|
|
49
58
|
};
|
|
50
59
|
readonly required: readonly ["org", "person", "at"];
|
|
51
60
|
};
|
|
52
|
-
events?: boolean;
|
|
53
|
-
records?: boolean;
|
|
54
|
-
durable?: false;
|
|
55
|
-
validation?: "strict" | "moderate";
|
|
56
|
-
indexes?: string[][];
|
|
57
|
-
private?: string[];
|
|
58
|
-
queries?: Record<string, import("copilotz").QueryDef<{
|
|
59
|
-
[x: string]: unknown;
|
|
60
|
-
role?: string | undefined;
|
|
61
|
-
entered?: string | undefined;
|
|
62
|
-
at: string;
|
|
63
|
-
org: string;
|
|
64
|
-
person: string;
|
|
65
|
-
} & {
|
|
66
|
-
_id: string;
|
|
67
|
-
}>> | undefined;
|
|
68
|
-
vectors?: string[];
|
|
69
61
|
};
|
|
70
62
|
export type Membership = Infer<typeof membershipSchema> & {
|
|
71
63
|
_id: string;
|
|
@@ -23,7 +23,14 @@ declare const orgHostSchema: {
|
|
|
23
23
|
};
|
|
24
24
|
readonly required: readonly ["org", "at"];
|
|
25
25
|
};
|
|
26
|
-
export declare const orgHost: {
|
|
26
|
+
export declare const orgHost: Omit<import("copilotz").CollectionDef, "queries" | "schema"> & {
|
|
27
|
+
queries?: Record<string, import("copilotz").QueryDef<import("copilotz").WithId<{
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
target?: string | undefined;
|
|
30
|
+
at: string;
|
|
31
|
+
org: string;
|
|
32
|
+
}>>> | undefined;
|
|
33
|
+
} & {
|
|
27
34
|
schema: {
|
|
28
35
|
readonly type: "object";
|
|
29
36
|
readonly properties: {
|
|
@@ -41,21 +48,6 @@ export declare const orgHost: {
|
|
|
41
48
|
};
|
|
42
49
|
readonly required: readonly ["org", "at"];
|
|
43
50
|
};
|
|
44
|
-
events?: boolean;
|
|
45
|
-
records?: boolean;
|
|
46
|
-
durable?: false;
|
|
47
|
-
validation?: "strict" | "moderate";
|
|
48
|
-
indexes?: string[][];
|
|
49
|
-
private?: string[];
|
|
50
|
-
queries?: Record<string, import("copilotz").QueryDef<{
|
|
51
|
-
[x: string]: unknown;
|
|
52
|
-
target?: string | undefined;
|
|
53
|
-
at: string;
|
|
54
|
-
org: string;
|
|
55
|
-
} & {
|
|
56
|
-
_id: string;
|
|
57
|
-
}>> | undefined;
|
|
58
|
-
vectors?: string[];
|
|
59
51
|
};
|
|
60
52
|
export type OrgHost = Infer<typeof orgHostSchema> & {
|
|
61
53
|
_id: string;
|
package/collections/org.d.ts
CHANGED
|
@@ -56,7 +56,27 @@ declare const orgSchema: {
|
|
|
56
56
|
};
|
|
57
57
|
readonly required: readonly ["name", "kind", "by", "placement", "at"];
|
|
58
58
|
};
|
|
59
|
-
export declare const org: {
|
|
59
|
+
export declare const org: Omit<import("copilotz").CollectionDef, "queries" | "schema"> & {
|
|
60
|
+
queries?: Record<string, import("copilotz").QueryDef<import("copilotz").WithId<{
|
|
61
|
+
[x: string]: unknown;
|
|
62
|
+
suspended?: boolean | undefined;
|
|
63
|
+
summary?: {
|
|
64
|
+
[x: string]: unknown;
|
|
65
|
+
at?: string | undefined;
|
|
66
|
+
people?: number | undefined;
|
|
67
|
+
spaces?: number | undefined;
|
|
68
|
+
active?: string | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
placement: {
|
|
71
|
+
[x: string]: unknown;
|
|
72
|
+
schema: string;
|
|
73
|
+
};
|
|
74
|
+
at: string;
|
|
75
|
+
name: string;
|
|
76
|
+
kind: "personal" | "team";
|
|
77
|
+
by: string;
|
|
78
|
+
}>>> | undefined;
|
|
79
|
+
} & {
|
|
60
80
|
schema: {
|
|
61
81
|
readonly type: "object";
|
|
62
82
|
readonly properties: {
|
|
@@ -107,34 +127,6 @@ export declare const org: {
|
|
|
107
127
|
};
|
|
108
128
|
readonly required: readonly ["name", "kind", "by", "placement", "at"];
|
|
109
129
|
};
|
|
110
|
-
events?: boolean;
|
|
111
|
-
records?: boolean;
|
|
112
|
-
durable?: false;
|
|
113
|
-
validation?: "strict" | "moderate";
|
|
114
|
-
indexes?: string[][];
|
|
115
|
-
private?: string[];
|
|
116
|
-
queries?: Record<string, import("copilotz").QueryDef<{
|
|
117
|
-
[x: string]: unknown;
|
|
118
|
-
suspended?: boolean | undefined;
|
|
119
|
-
summary?: {
|
|
120
|
-
[x: string]: unknown;
|
|
121
|
-
at?: string | undefined;
|
|
122
|
-
people?: number | undefined;
|
|
123
|
-
spaces?: number | undefined;
|
|
124
|
-
active?: string | undefined;
|
|
125
|
-
} | undefined;
|
|
126
|
-
placement: {
|
|
127
|
-
[x: string]: unknown;
|
|
128
|
-
schema: string;
|
|
129
|
-
};
|
|
130
|
-
at: string;
|
|
131
|
-
name: string;
|
|
132
|
-
kind: "personal" | "team";
|
|
133
|
-
by: string;
|
|
134
|
-
} & {
|
|
135
|
-
_id: string;
|
|
136
|
-
}>> | undefined;
|
|
137
|
-
vectors?: string[];
|
|
138
130
|
};
|
|
139
131
|
export type Org = Infer<typeof orgSchema> & {
|
|
140
132
|
_id: string;
|
package/collections/staff.d.ts
CHANGED
|
@@ -13,7 +13,12 @@ declare const staffSchema: {
|
|
|
13
13
|
};
|
|
14
14
|
readonly required: readonly ["at"];
|
|
15
15
|
};
|
|
16
|
-
export declare const staff: {
|
|
16
|
+
export declare const staff: Omit<import("copilotz").CollectionDef, "queries" | "schema"> & {
|
|
17
|
+
queries?: Record<string, import("copilotz").QueryDef<import("copilotz").WithId<{
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
at: string;
|
|
20
|
+
}>>> | undefined;
|
|
21
|
+
} & {
|
|
17
22
|
schema: {
|
|
18
23
|
readonly type: "object";
|
|
19
24
|
readonly properties: {
|
|
@@ -23,19 +28,6 @@ export declare const staff: {
|
|
|
23
28
|
};
|
|
24
29
|
readonly required: readonly ["at"];
|
|
25
30
|
};
|
|
26
|
-
events?: boolean;
|
|
27
|
-
records?: boolean;
|
|
28
|
-
durable?: false;
|
|
29
|
-
validation?: "strict" | "moderate";
|
|
30
|
-
indexes?: string[][];
|
|
31
|
-
private?: string[];
|
|
32
|
-
queries?: Record<string, import("copilotz").QueryDef<{
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
at: string;
|
|
35
|
-
} & {
|
|
36
|
-
_id: string;
|
|
37
|
-
}>> | undefined;
|
|
38
|
-
vectors?: string[];
|
|
39
31
|
};
|
|
40
32
|
export type Staff = Infer<typeof staffSchema> & {
|
|
41
33
|
_id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotz/directory",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.64",
|
|
4
4
|
"description": "Many orgs behind one address: who signs in, which orgs they belong to, and going between them. A Copilotz plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"copilotz",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"dependencies": {},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"@types/react": "^19.3.0",
|
|
59
|
-
"copilotz": "1.0.0-rc.
|
|
59
|
+
"copilotz": "1.0.0-rc.64",
|
|
60
60
|
"react": "^19.3.1"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
package/views/web/words.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* app's own words for them still hold; what an org is called where it shows is `directory.<key>`.
|
|
5
5
|
*/
|
|
6
6
|
import { type Phrase } from "copilotz/web/words";
|
|
7
|
-
export declare const say: import("copilotz/web/words").Say<"personal" | "team" | "placement" | "join" | "staff" | "cancel" | "name" | "status" | "suspended" | "rename" | "people" | "spaces" | "active" | "goHome" | "staffLine" | "orgSettings" | "aboutOrg" | "allOrgsConsole" | "organization" | "oneOrg" | "oneOrgAbout" | "notInOrg" | "chooseOrg" | "personalOrg" | "teamOrg" | "staffAccess" | "orgAboutStaff" | "orgAboutPersonal" | "orgAboutRuns" | "orgAboutGuest" | "orgAboutMember" | "orgSection" | "heldBack" | "orgSettingsOf" | "nothingToSet" | "nothingToSetAbout" | "justYou" | "yourOrgs" | "organizations" | "inAsStaffTitle" | "switchOrg" | "switchOrgWaiting" | "invitationsCount" | "signedInAs" | "inAsStaff" | "continueAs" | "invitations" | "newOrgMore" | "enterAsStaff" | "suspendedTitle" | "yourOwn" | "invitedFromAsAt" | "invitedAsAt" | "invitedFromAs" | "invitedAs" | "joinNamed" | "decline" | "newOrg" | "newOrgAbout" | "createOrg" | "newOrgNameHint" | "atMost" | "newOrgPlaceholder" | "goingInto" | "enteringAsStaff" | "switchingTo" | "movedOrg" | "youreIn" | "nameIt" | "createNamed" | "switchTo" | "yourOwnOrg" | "declineOrgInvite" | "keysSwitch" | "keysNewOrg" | "keysOrgSettings" | "keysConsole" | "keysAcceptOrgInvite" | "keysOrgInvite" | "filterAll" | "filterTeams" | "giftCodes" | "consoleTitle" | "forStaff" | "forStaffAbout" | "consoleShows" | "giftCodesAbout" | "consoleAbout" | "refresh" | "teamOrgs" | "searchPlaceholder" | "searchOrgs" | "whichOrgs" | "lastActive" | "
|
|
7
|
+
export declare const say: import("copilotz/web/words").Say<"personal" | "team" | "placement" | "join" | "actions" | "staff" | "cancel" | "name" | "status" | "suspended" | "rename" | "people" | "spaces" | "active" | "goHome" | "staffLine" | "orgSettings" | "aboutOrg" | "allOrgsConsole" | "organization" | "oneOrg" | "oneOrgAbout" | "notInOrg" | "chooseOrg" | "personalOrg" | "teamOrg" | "staffAccess" | "orgAboutStaff" | "orgAboutPersonal" | "orgAboutRuns" | "orgAboutGuest" | "orgAboutMember" | "orgSection" | "heldBack" | "orgSettingsOf" | "nothingToSet" | "nothingToSetAbout" | "justYou" | "yourOrgs" | "organizations" | "inAsStaffTitle" | "switchOrg" | "switchOrgWaiting" | "invitationsCount" | "signedInAs" | "inAsStaff" | "continueAs" | "invitations" | "newOrgMore" | "enterAsStaff" | "suspendedTitle" | "yourOwn" | "invitedFromAsAt" | "invitedAsAt" | "invitedFromAs" | "invitedAs" | "joinNamed" | "decline" | "newOrg" | "newOrgAbout" | "createOrg" | "newOrgNameHint" | "atMost" | "newOrgPlaceholder" | "goingInto" | "enteringAsStaff" | "switchingTo" | "movedOrg" | "youreIn" | "nameIt" | "createNamed" | "switchTo" | "yourOwnOrg" | "declineOrgInvite" | "keysSwitch" | "keysNewOrg" | "keysOrgSettings" | "keysConsole" | "keysAcceptOrgInvite" | "keysOrgInvite" | "filterAll" | "filterTeams" | "giftCodes" | "consoleTitle" | "forStaff" | "forStaffAbout" | "consoleShows" | "giftCodesAbout" | "consoleAbout" | "refresh" | "teamOrgs" | "searchPlaceholder" | "searchOrgs" | "whichOrgs" | "lastActive" | "noMatch" | "nothingMatches" | "nothingYet" | "footAll" | "footSome" | "hereAsStaff" | "youreHere" | "copyOrgId" | "notYet" | "inItAsStaff" | "goIntoAsStaff" | "moreOf" | "renameMore" | "liftMore" | "suspendMore" | "moveMore" | "exportRows" | "deleteMore" | "unsupported" | "renamedTo" | "renameOrg" | "renameOrgAbout" | "liftTitle" | "suspendTitle" | "openAgain" | "isSuspended" | "lift" | "suspend" | "liftAbout" | "suspendAbout" | "nowLivesIn" | "moveTitle" | "moveAbout" | "moveRows" | "moveText" | "nowIn" | "newSchema" | "sameSchema" | "schemaRule" | "isDeleted" | "deleteTitle" | "deleteForGood" | "cantUndo" | "deleteAbout" | "exportFirst" | "typeToConfirm" | "codeWaiting" | "codeClaimed" | "codeRevoked" | "codeExpired" | "sayDollars" | "codesCount" | "newGiftCode" | "tryAgain" | "noCodes" | "noCodesAbout" | "termsLapse" | "termsNoLapse" | "termsLapseClaim" | "termsNoLapseClaim" | "codeShortTitle" | "codeMade" | "claimedBy" | "takeBack" | "makeCode" | "makeTheCode" | "credits" | "lapseOn" | "lapseHint" | "claimBy" | "claimHint" | "whatFor" | "whatForHint" | "notePlaceholder" | "yourCode" | "keptIt" | "copyCode" | "notShownAgain" | "notShownAgainAbout" | "takeBackTitle" | "takeItBack" | "takeBackAbout">;
|
|
8
8
|
export declare const sayOrg: import("copilotz/web/words").Say<"personalOrg">;
|
|
9
9
|
/** Every word of the directory's front end, by area (WORDS.md lists them). */
|
|
10
10
|
export declare const PHRASES: Record<string, Record<string, Phrase>>;
|